Record Class EstateInventory.Endpoint
java.lang.Object
java.lang.Record
com.eqixiac.equinix.design.estate.EstateInventory.Endpoint
- Record Components:
type- the access-point type (COLO,SP,CLOUD_ROUTER,VD,NETWORK...)metro- the metro code, when reportedportId- the port uuid for aCOLOsiderouterId- the Cloud Router uuid for aCLOUD_ROUTERsidedeviceId- the Network Edge device uuid for aVDsidenetworkId- the network uuid for aNETWORKsideserviceProfileId- the service profile uuid for anSPsideserviceProfileName- the service profile name (for example the cloud on-ramp)serviceTokenId- the service token uuid, when the side was ordered with one
- Enclosing class:
EstateInventory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeviceId()Returns the value of thedeviceIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.metro()Returns the value of themetrorecord component.Returns the value of thenetworkIdrecord component.portId()Returns the value of theportIdrecord component.routerId()Returns the value of therouterIdrecord component.Returns the value of theserviceProfileIdrecord component.Returns the value of theserviceProfileNamerecord component.Returns the value of theserviceTokenIdrecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.static EstateInventory.Endpointunknown()An endpoint about which nothing is known.
-
Constructor Details
-
Endpoint
public Endpoint(String type, String metro, String portId, String routerId, String deviceId, String networkId, String serviceProfileId, String serviceProfileName, String serviceTokenId) Creates an instance of aEndpointrecord class.- Parameters:
type- the value for thetyperecord componentmetro- the value for themetrorecord componentportId- the value for theportIdrecord componentrouterId- the value for therouterIdrecord componentdeviceId- the value for thedeviceIdrecord componentnetworkId- the value for thenetworkIdrecord componentserviceProfileId- the value for theserviceProfileIdrecord componentserviceProfileName- the value for theserviceProfileNamerecord componentserviceTokenId- the value for theserviceTokenIdrecord component
-
-
Method Details
-
unknown
An endpoint about which nothing is known.- Returns:
- the empty endpoint
-
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
-
metro
-
portId
-
routerId
-
deviceId
-
networkId
-
serviceProfileId
Returns the value of theserviceProfileIdrecord component.- Returns:
- the value of the
serviceProfileIdrecord component
-
serviceProfileName
Returns the value of theserviceProfileNamerecord component.- Returns:
- the value of the
serviceProfileNamerecord component
-
serviceTokenId
Returns the value of theserviceTokenIdrecord component.- Returns:
- the value of the
serviceTokenIdrecord component
-