Package com.vmware.nsx_policy.model
Class LogicalRouterStatus.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.LogicalRouterStatus.Builder
-
- Enclosing class:
- LogicalRouterStatus
public static final class LogicalRouterStatus.Builder extends java.lang.Object
Builder class forLogicalRouterStatus
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofLogicalRouterStatus
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LogicalRouterStatus
build()
LogicalRouterStatus.Builder
setLastUpdateTimestamp(java.lang.Long lastUpdateTimestamp)
Timestamp when the data was last updated; unset if data source has never updated the data.LogicalRouterStatus.Builder
setLocaleOperationMode(java.lang.String localeOperationMode)
Possible values are:LogicalRouterStatus.LOCALE_OPERATION_MODE_PRIMARY_LOCATION
LogicalRouterStatus.LOCALE_OPERATION_MODE_SECONDARY_LOCATION
Egress mode for the logical router at given mode This property may be present in responses from the server, but if it is present in a request to server it will be ignored.LogicalRouterStatus.Builder
setLogicalRouterId(java.lang.String logicalRouterId)
The id of the logical routerLogicalRouterStatus.Builder
setPerNodeStatus(java.util.List<LogicalRouterStatusPerNode> perNodeStatus)
Per Node Status This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofLogicalRouterStatus
.
-
-
Method Detail
-
setLastUpdateTimestamp
public LogicalRouterStatus.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.
-
setLocaleOperationMode
public LogicalRouterStatus.Builder setLocaleOperationMode(java.lang.String localeOperationMode)
Possible values are: Egress mode for the logical router at given mode 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:
localeOperationMode
- New value for the property.
-
setLogicalRouterId
public LogicalRouterStatus.Builder setLogicalRouterId(java.lang.String logicalRouterId)
The id of the logical router- Parameters:
logicalRouterId
- New value for the property.
-
setPerNodeStatus
public LogicalRouterStatus.Builder setPerNodeStatus(java.util.List<LogicalRouterStatusPerNode> perNodeStatus)
Per Node Status 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:
perNodeStatus
- New value for the property.
-
build
public LogicalRouterStatus build()
-
-