Package com.vmware.nsx_policy.model
Class ContainerClusterStatus.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.ContainerClusterStatus.Builder
-
- Enclosing class:
- ContainerClusterStatus
public static final class ContainerClusterStatus.Builder extends java.lang.Object
Builder class forContainerClusterStatus
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofContainerClusterStatus
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerClusterStatus
build()
ContainerClusterStatus.Builder
setClusterId(java.lang.String clusterId)
Identifier of the container cluster.ContainerClusterStatus.Builder
setDetail(java.lang.String detail)
Detail information on status.ContainerClusterStatus.Builder
setInterval(java.lang.Long interval)
Display the cluster check interval in seconds.ContainerClusterStatus.Builder
setStatus(java.lang.String status)
Possible values are:ContainerClusterStatus.STATUS_UNKNOWN
ContainerClusterStatus.STATUS_HEALTHY
ContainerClusterStatus.STATUS_DOWN
ContainerClusterStatus.STATUS_DEGRADED
Display the container cluster status.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofContainerClusterStatus
.
-
-
Method Detail
-
setClusterId
public ContainerClusterStatus.Builder setClusterId(java.lang.String clusterId)
Identifier of the container cluster.- Parameters:
clusterId
- New value for the property.
-
setDetail
public ContainerClusterStatus.Builder setDetail(java.lang.String detail)
Detail information on status.- Parameters:
detail
- New value for the property.
-
setInterval
public ContainerClusterStatus.Builder setInterval(java.lang.Long interval)
Display the cluster check interval in seconds. format: int32 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:
interval
- New value for the property.
-
setStatus
public ContainerClusterStatus.Builder setStatus(java.lang.String status)
Possible values are: Display the container cluster status.- Parameters:
status
- New value for the property.
-
build
public ContainerClusterStatus build()
-
-