Record Class LiveConnection
java.lang.Object
java.lang.Record
com.eqixiac.equinix.design.plan.LiveConnection
- Record Components:
uuid- the Fabric uuidname- the connection namestate- the state name;nullwhen not returnedtype- the connection type name (for exampleIP_VC)bandwidthMbps- the bandwidth, ornullaSideRouterUuid- the A-side Cloud Router uuid, ornullzSideRouterUuid- the Z-side Cloud Router uuid (backbone links), ornullzSideProfileUuid- the Z-side service-profile uuid (provider connections), ornullzSideSellerRegion- the Z-side seller region, ornullzSidePeeringType- the Z-side peering type name, ornullprojectId- the projectadditionalInfo- the top-level additionalInfo entries (the plan marker lives here)notificationEmails- every notification recipient
public record LiveConnection(String uuid, String name, String state, String type, Integer bandwidthMbps, String aSideRouterUuid, String zSideRouterUuid, String zSideProfileUuid, String zSideSellerRegion, String zSidePeeringType, String projectId, Map<String,String> additionalInfo, List<String> notificationEmails)
extends Record
A connection as read from Fabric: the fields drift detection compares.
-
Constructor Summary
ConstructorsConstructorDescriptionLiveConnection(String uuid, String name, String state, String type, Integer bandwidthMbps, String aSideRouterUuid, String zSideRouterUuid, String zSideProfileUuid, String zSideSellerRegion, String zSidePeeringType, String projectId, Map<String, String> additionalInfo, List<String> notificationEmails) Makes the collections immutable and non-null. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theadditionalInforecord component.Returns the value of theaSideRouterUuidrecord component.Returns the value of thebandwidthMbpsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanisGone()Whether the connection is gone or going (DEPROVISIONING,DEPROVISIONED,CANCELLED).name()Returns the value of thenamerecord component.Returns the value of thenotificationEmailsrecord component.Returns the value of theprojectIdrecord component.state()Returns the value of thestaterecord 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.Returns the value of thezSidePeeringTyperecord component.Returns the value of thezSideProfileUuidrecord component.Returns the value of thezSideRouterUuidrecord component.Returns the value of thezSideSellerRegionrecord component.
-
Constructor Details
-
LiveConnection
public LiveConnection(String uuid, String name, String state, String type, Integer bandwidthMbps, String aSideRouterUuid, String zSideRouterUuid, String zSideProfileUuid, String zSideSellerRegion, String zSidePeeringType, String projectId, Map<String, String> additionalInfo, List<String> notificationEmails) Makes the collections immutable and non-null.
-
-
Method Details
-
isGone
public boolean isGone()Whether the connection is gone or going (DEPROVISIONING,DEPROVISIONED,CANCELLED).- Returns:
truewhen it no longer counts as present
-
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). -
uuid
-
name
-
state
-
type
-
bandwidthMbps
Returns the value of thebandwidthMbpsrecord component.- Returns:
- the value of the
bandwidthMbpsrecord component
-
aSideRouterUuid
Returns the value of theaSideRouterUuidrecord component.- Returns:
- the value of the
aSideRouterUuidrecord component
-
zSideRouterUuid
Returns the value of thezSideRouterUuidrecord component.- Returns:
- the value of the
zSideRouterUuidrecord component
-
zSideProfileUuid
Returns the value of thezSideProfileUuidrecord component.- Returns:
- the value of the
zSideProfileUuidrecord component
-
zSideSellerRegion
Returns the value of thezSideSellerRegionrecord component.- Returns:
- the value of the
zSideSellerRegionrecord component
-
zSidePeeringType
Returns the value of thezSidePeeringTyperecord component.- Returns:
- the value of the
zSidePeeringTyperecord component
-
projectId
-
additionalInfo
Returns the value of theadditionalInforecord component.- Returns:
- the value of the
additionalInforecord component
-
notificationEmails
Returns the value of thenotificationEmailsrecord component.- Returns:
- the value of the
notificationEmailsrecord component
-