Class UpdateClusterDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.containerengine.model.UpdateClusterDetails.Builder
-
- Enclosing class:
- UpdateClusterDetails
public static class UpdateClusterDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateClusterDetails
build()
UpdateClusterDetails.Builder
copy(UpdateClusterDetails model)
UpdateClusterDetails.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.UpdateClusterDetails.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.UpdateClusterDetails.Builder
imagePolicyConfig(UpdateImagePolicyConfigDetails imagePolicyConfig)
The image verification policy for signature validation.UpdateClusterDetails.Builder
kubernetesVersion(String kubernetesVersion)
The version of Kubernetes to which the cluster masters should be upgraded.UpdateClusterDetails.Builder
name(String name)
The new name for the cluster.UpdateClusterDetails.Builder
options(UpdateClusterOptionsDetails options)
UpdateClusterDetails.Builder
type(ClusterType type)
Type of cluster
-
-
-
Method Detail
-
name
public UpdateClusterDetails.Builder name(String name)
The new name for the cluster.Avoid entering confidential information.
- Parameters:
name
- the value to set- Returns:
- this builder
-
kubernetesVersion
public UpdateClusterDetails.Builder kubernetesVersion(String kubernetesVersion)
The version of Kubernetes to which the cluster masters should be upgraded.- Parameters:
kubernetesVersion
- the value to set- Returns:
- this builder
-
options
public UpdateClusterDetails.Builder options(UpdateClusterOptionsDetails options)
-
freeformTags
public UpdateClusterDetails.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public UpdateClusterDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
imagePolicyConfig
public UpdateClusterDetails.Builder imagePolicyConfig(UpdateImagePolicyConfigDetails imagePolicyConfig)
The image verification policy for signature validation.Once a policy is created and enabled with one or more kms keys, the policy will ensure all images deployed has been signed with the key(s) attached to the policy.
- Parameters:
imagePolicyConfig
- the value to set- Returns:
- this builder
-
type
public UpdateClusterDetails.Builder type(ClusterType type)
Type of cluster- Parameters:
type
- the value to set- Returns:
- this builder
-
build
public UpdateClusterDetails build()
-
copy
public UpdateClusterDetails.Builder copy(UpdateClusterDetails model)
-
-