public static final class AllClusterGroupStatus.Builder
extends java.lang.Object
AllClusterGroupStatus
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
AllClusterGroupStatus . |
Modifier and Type | Method and Description |
---|---|
AllClusterGroupStatus |
build() |
AllClusterGroupStatus.Builder |
setClusterId(java.lang.String clusterId)
UUID of the cluster
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
AllClusterGroupStatus.Builder |
setGroups(java.util.List<ClusterGroupStatus> groups)
Array of groups and their statuses
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
AllClusterGroupStatus.Builder |
setOverallStatus(java.lang.String overallStatus)
Possible values are:
AllClusterGroupStatus.OVERALL_STATUS_STABLE
AllClusterGroupStatus.OVERALL_STATUS_DEGRADED
AllClusterGroupStatus.OVERALL_STATUS_UNAVAILABLE
Overall status of the cluster
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored. |
public Builder()
AllClusterGroupStatus
.public AllClusterGroupStatus.Builder setClusterId(java.lang.String clusterId)
clusterId
- New value for the property.public AllClusterGroupStatus.Builder setGroups(java.util.List<ClusterGroupStatus> groups)
groups
- New value for the property.public AllClusterGroupStatus.Builder setOverallStatus(java.lang.String overallStatus)
overallStatus
- New value for the property.public AllClusterGroupStatus build()