public static final class SegmentPortStatus.Builder
extends java.lang.Object
SegmentPortStatus.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
SegmentPortStatus. |
| Modifier and Type | Method and Description |
|---|---|
SegmentPortStatus |
build() |
SegmentPortStatus.Builder |
setLastUpdateTimestamp(java.lang.Long lastUpdateTimestamp)
Timestamp when the data was last updated; unset if data source has never updated
the data.
|
SegmentPortStatus.Builder |
setLogicalPortId(java.lang.String logicalPortId)
The id of the logical port
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
SegmentPortStatus.Builder |
setStatus(java.lang.String status)
Possible values are:
SegmentPortStatus.STATUS_UP SegmentPortStatus.STATUS_DOWN SegmentPortStatus.STATUS_UNKNOWN The
Operational status of the logical port |
public Builder()
SegmentPortStatus.public SegmentPortStatus.Builder setLastUpdateTimestamp(java.lang.Long lastUpdateTimestamp)
lastUpdateTimestamp - New value for the property.public SegmentPortStatus.Builder setLogicalPortId(java.lang.String logicalPortId)
logicalPortId - New value for the property.public SegmentPortStatus.Builder setStatus(java.lang.String status)
status - New value for the property.public SegmentPortStatus build()