Class CreateClusterDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.containerengine.model.CreateClusterDetails.Builder
 
- 
- Enclosing class:
- CreateClusterDetails
 
 public static class CreateClusterDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateClusterDetailsbuild()CreateClusterDetails.BuilderclusterPodNetworkOptions(List<ClusterPodNetworkOptionDetails> clusterPodNetworkOptions)Available CNIs and network options for existing and new node pools of the clusterCreateClusterDetails.BuildercompartmentId(String compartmentId)The OCID of the compartment in which to create the cluster.CreateClusterDetails.Buildercopy(CreateClusterDetails model)CreateClusterDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateClusterDetails.BuilderendpointConfig(CreateClusterEndpointConfigDetails endpointConfig)The network configuration for access to the Cluster control plane.CreateClusterDetails.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.CreateClusterDetails.BuilderimagePolicyConfig(CreateImagePolicyConfigDetails imagePolicyConfig)The image verification policy for signature validation.CreateClusterDetails.BuilderkmsKeyId(String kmsKeyId)The OCID of the KMS key to be used as the master encryption key for Kubernetes secret encryption.CreateClusterDetails.BuilderkubernetesVersion(String kubernetesVersion)The version of Kubernetes to install into the cluster masters.CreateClusterDetails.Buildername(String name)The name of the cluster.CreateClusterDetails.Builderoptions(ClusterCreateOptions options)Optional attributes for the cluster.CreateClusterDetails.Buildertype(ClusterType type)Type of clusterCreateClusterDetails.BuildervcnId(String vcnId)The OCID of the virtual cloud network (VCN) in which to create the cluster.
 
- 
- 
- 
Method Detail- 
namepublic CreateClusterDetails.Builder name(String name) The name of the cluster.Avoid entering confidential information. - Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic CreateClusterDetails.Builder compartmentId(String compartmentId) The OCID of the compartment in which to create the cluster.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
endpointConfigpublic CreateClusterDetails.Builder endpointConfig(CreateClusterEndpointConfigDetails endpointConfig) The network configuration for access to the Cluster control plane.- Parameters:
- endpointConfig- the value to set
- Returns:
- this builder
 
 - 
vcnIdpublic CreateClusterDetails.Builder vcnId(String vcnId) The OCID of the virtual cloud network (VCN) in which to create the cluster.- Parameters:
- vcnId- the value to set
- Returns:
- this builder
 
 - 
kubernetesVersionpublic CreateClusterDetails.Builder kubernetesVersion(String kubernetesVersion) The version of Kubernetes to install into the cluster masters.- Parameters:
- kubernetesVersion- the value to set
- Returns:
- this builder
 
 - 
kmsKeyIdpublic CreateClusterDetails.Builder kmsKeyId(String kmsKeyId) The OCID of the KMS key to be used as the master encryption key for Kubernetes secret encryption.When used, kubernetesVersion must be at least v1.13.0. - Parameters:
- kmsKeyId- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic CreateClusterDetails.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
 
 - 
definedTagspublic CreateClusterDetails.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
 
 - 
optionspublic CreateClusterDetails.Builder options(ClusterCreateOptions options) Optional attributes for the cluster.- Parameters:
- options- the value to set
- Returns:
- this builder
 
 - 
imagePolicyConfigpublic CreateClusterDetails.Builder imagePolicyConfig(CreateImagePolicyConfigDetails 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
 
 - 
clusterPodNetworkOptionspublic CreateClusterDetails.Builder clusterPodNetworkOptions(List<ClusterPodNetworkOptionDetails> clusterPodNetworkOptions) Available CNIs and network options for existing and new node pools of the cluster- Parameters:
- clusterPodNetworkOptions- the value to set
- Returns:
- this builder
 
 - 
typepublic CreateClusterDetails.Builder type(ClusterType type) Type of cluster- Parameters:
- type- the value to set
- Returns:
- this builder
 
 - 
buildpublic CreateClusterDetails build() 
 - 
copypublic CreateClusterDetails.Builder copy(CreateClusterDetails model) 
 
- 
 
-