Record Class FabricNotification.Data
java.lang.Object
java.lang.Record
com.eqixiac.equinix.messaging.FabricNotification.Data
- Record Components:
type- asset typeuuid- Fabric UUID of the port or connectionname- name of the port or connectionhref- Fabric v4 API link to the assetoperation- operational status detailsembedded- connections active on the port, if listed
- Enclosing class:
FabricNotification
public static record FabricNotification.Data(FabricNotification.AssetType type, String uuid, String name, String href, FabricNotification.Operation operation, FabricNotification.Embedded embedded)
extends Record
The affected port or virtual connection.
-
Constructor Summary
ConstructorsConstructorDescriptionData(FabricNotification.AssetType type, String uuid, String name, String href, FabricNotification.Operation operation, FabricNotification.Embedded embedded) Creates an instance of aDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionFabric v4 API links of the virtual connections on the port (embedded.connections.href).embedded()Returns the value of theembeddedrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.href()Returns the value of thehrefrecord component.name()Returns the value of thenamerecord component.Returns the value of theoperationrecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.uuid()Returns the value of theuuidrecord component.
-
Constructor Details
-
Data
public Data(FabricNotification.AssetType type, String uuid, String name, String href, FabricNotification.Operation operation, FabricNotification.Embedded embedded) Creates an instance of aDatarecord class.- Parameters:
type- the value for thetyperecord componentuuid- the value for theuuidrecord componentname- the value for thenamerecord componenthref- the value for thehrefrecord componentoperation- the value for theoperationrecord componentembedded- the value for theembeddedrecord component
-
-
Method Details
-
connectionHrefs
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
type
-
uuid
-
name
-
href
-
operation
-
embedded
-