public static final class PolicyGroupKubernetesServiceCluster.Builder
extends java.lang.Object
PolicyGroupKubernetesServiceCluster
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
PolicyGroupKubernetesServiceCluster . |
Modifier and Type | Method and Description |
---|---|
PolicyGroupKubernetesServiceCluster |
build() |
PolicyGroupKubernetesServiceCluster.Builder |
setDisplayName(java.lang.String displayName)
The name of kubernetes 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.
|
PolicyGroupKubernetesServiceCluster.Builder |
setExternalId(java.lang.String externalId)
The id of kubernetes 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.
|
PolicyGroupKubernetesServiceCluster.Builder |
setNamespaces(java.util.List<PolicyGroupKubernetesServiceNamespace> namespaces) |
public Builder()
PolicyGroupKubernetesServiceCluster
.public PolicyGroupKubernetesServiceCluster.Builder setDisplayName(java.lang.String displayName)
displayName
- New value for the property.public PolicyGroupKubernetesServiceCluster.Builder setExternalId(java.lang.String externalId)
externalId
- New value for the property.public PolicyGroupKubernetesServiceCluster.Builder setNamespaces(java.util.List<PolicyGroupKubernetesServiceNamespace> namespaces)
namespaces
- New value for the property.public PolicyGroupKubernetesServiceCluster build()