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 UpdateClusterDetailsbuild()UpdateClusterDetails.Buildercopy(UpdateClusterDetails model)UpdateClusterDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.UpdateClusterDetails.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.UpdateClusterDetails.BuilderimagePolicyConfig(UpdateImagePolicyConfigDetails imagePolicyConfig)The image verification policy for signature validation.UpdateClusterDetails.BuilderkubernetesVersion(String kubernetesVersion)The version of Kubernetes to which the cluster masters should be upgraded.UpdateClusterDetails.Buildername(String name)The new name for the cluster.UpdateClusterDetails.Builderoptions(UpdateClusterOptionsDetails options)UpdateClusterDetails.Buildertype(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)
-
-