Package com.vmware.nsx_policy.model
Class LogicalRouterStatusPerNode.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.LogicalRouterStatusPerNode.Builder
-
- Enclosing class:
- LogicalRouterStatusPerNode
public static final class LogicalRouterStatusPerNode.Builder extends java.lang.Object
Builder class forLogicalRouterStatusPerNode
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofLogicalRouterStatusPerNode
.
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofLogicalRouterStatusPerNode
.
-
-
Method Detail
-
setEdgePath
public LogicalRouterStatusPerNode.Builder setEdgePath(java.lang.String edgePath)
Only populated by Policy APIs- Parameters:
edgePath
- New value for the property.
-
setHighAvailabilityStatus
public LogicalRouterStatusPerNode.Builder setHighAvailabilityStatus(java.lang.String highAvailabilityStatus)
Possible values are:-
LogicalRouterStatusPerNode.HIGH_AVAILABILITY_STATUS_ACTIVE
-
LogicalRouterStatusPerNode.HIGH_AVAILABILITY_STATUS_STANDBY
-
LogicalRouterStatusPerNode.HIGH_AVAILABILITY_STATUS_DOWN
-
LogicalRouterStatusPerNode.HIGH_AVAILABILITY_STATUS_SYNC
-
LogicalRouterStatusPerNode.HIGH_AVAILABILITY_STATUS_UNKNOWN
-
LogicalRouterStatusPerNode.HIGH_AVAILABILITY_STATUS_ADMIN_DOWN
- Parameters:
highAvailabilityStatus
- New value for the property.
-
-
setIsDefaultSubCluster
public LogicalRouterStatusPerNode.Builder setIsDefaultSubCluster(java.lang.Boolean isDefaultSubCluster)
True if edge transport node is a member of default sub cluster- Parameters:
isDefaultSubCluster
- New value for the property.
-
setServiceGroupHaStatus
public LogicalRouterStatusPerNode.Builder setServiceGroupHaStatus(java.lang.String serviceGroupHaStatus)
Possible values are: Service High availability status of service group linked with sub cluster.- Parameters:
serviceGroupHaStatus
- New value for the property.
-
setServiceRouterId
public LogicalRouterStatusPerNode.Builder setServiceRouterId(java.lang.String serviceRouterId)
id of the service router where the router status is retrieved.- Parameters:
serviceRouterId
- New value for the property.
-
setSubClusterId
public LogicalRouterStatusPerNode.Builder setSubClusterId(java.lang.String subClusterId)
This field is populated for sateful active-active mode. Runtime state is only synced among nodes in the same sub cluster.- Parameters:
subClusterId
- New value for the property.
-
setTrafficGroupId
public LogicalRouterStatusPerNode.Builder setTrafficGroupId(java.lang.String trafficGroupId)
This field is populated only for VMC on AWS. It is the ID of the traffic group associated with the edge node.- Parameters:
trafficGroupId
- New value for the property.
-
setTransportNodeId
public LogicalRouterStatusPerNode.Builder setTransportNodeId(java.lang.String transportNodeId)
id of the transport node where the router status is retrieved.- Parameters:
transportNodeId
- New value for the property.
-
build
public LogicalRouterStatusPerNode build()
-
-