Package com.vmware.nsx_policy.model
Class LogicalPortOperationalStatus.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.LogicalPortOperationalStatus.Builder
-
- Enclosing class:
- LogicalPortOperationalStatus
public static final class LogicalPortOperationalStatus.Builder extends java.lang.ObjectBuilder class forLogicalPortOperationalStatus.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofLogicalPortOperationalStatus.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LogicalPortOperationalStatusbuild()LogicalPortOperationalStatus.BuildersetLastUpdateTimestamp(java.lang.Long lastUpdateTimestamp)Timestamp when the data was last updated; unset if data source has never updated the data.LogicalPortOperationalStatus.BuildersetLogicalPortId(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.LogicalPortOperationalStatus.BuildersetStatus(java.lang.String status)Possible values are:LogicalPortOperationalStatus.STATUS_UPLogicalPortOperationalStatus.STATUS_DOWNLogicalPortOperationalStatus.STATUS_UNKNOWNThe Operational status of the logical port
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofLogicalPortOperationalStatus.
-
-
Method Detail
-
setLastUpdateTimestamp
public LogicalPortOperationalStatus.Builder setLastUpdateTimestamp(java.lang.Long lastUpdateTimestamp)
Timestamp when the data was last updated; unset if data source has never updated the data. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
lastUpdateTimestamp- New value for the property.
-
setLogicalPortId
public LogicalPortOperationalStatus.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.- Parameters:
logicalPortId- New value for the property.
-
setStatus
public LogicalPortOperationalStatus.Builder setStatus(java.lang.String status)
Possible values are: The Operational status of the logical port- Parameters:
status- New value for the property.
-
build
public LogicalPortOperationalStatus build()
-
-