Record Class EstateInventory.NetworkRecord
java.lang.Object
java.lang.Record
com.eqixiac.equinix.design.estate.EstateInventory.NetworkRecord
- Record Components:
id- the network uuidname- the network nametype- the network typescopeLevel- the network scope (REGIONAL,GLOBAL,LOCAL)state- the network stateconnectionCount-connectionsCountas reportedcreatedAt- when the network was createdprojectId- the project idnotificationCount- the number of notification entries
- Enclosing class:
EstateInventory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconnectionCountrecord component.Returns the value of thecreatedAtrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.name()Returns the value of thenamerecord component.Returns the value of thenotificationCountrecord component.Returns the value of theprojectIdrecord component.Returns the value of thescopeLevelrecord 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.
-
Constructor Details
-
NetworkRecord
public NetworkRecord(String id, String name, String type, String scopeLevel, String state, Integer connectionCount, Instant createdAt, String projectId, Integer notificationCount) Creates an instance of aNetworkRecordrecord class.- Parameters:
id- the value for theidrecord componentname- the value for thenamerecord componenttype- the value for thetyperecord componentscopeLevel- the value for thescopeLevelrecord componentstate- the value for thestaterecord componentconnectionCount- the value for theconnectionCountrecord componentcreatedAt- the value for thecreatedAtrecord componentprojectId- the value for theprojectIdrecord componentnotificationCount- the value for thenotificationCountrecord component
-
-
Method Details
-
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). -
id
-
name
-
type
-
scopeLevel
Returns the value of thescopeLevelrecord component.- Returns:
- the value of the
scopeLevelrecord component
-
state
-
connectionCount
Returns the value of theconnectionCountrecord component.- Returns:
- the value of the
connectionCountrecord component
-
createdAt
-
projectId
-
notificationCount
Returns the value of thenotificationCountrecord component.- Returns:
- the value of the
notificationCountrecord component
-