public static class CreateClusterDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateClusterDetails |
build() |
CreateClusterDetails.Builder |
clusterPodNetworkOptions(List<ClusterPodNetworkOptionDetails> clusterPodNetworkOptions)
Available CNIs and network options for existing and new node pools of the cluster
|
CreateClusterDetails.Builder |
compartmentId(String compartmentId)
The OCID of the compartment in which to create the cluster.
|
CreateClusterDetails.Builder |
copy(CreateClusterDetails model) |
CreateClusterDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
CreateClusterDetails.Builder |
endpointConfig(CreateClusterEndpointConfigDetails endpointConfig)
The network configuration for access to the Cluster control plane.
|
CreateClusterDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
CreateClusterDetails.Builder |
imagePolicyConfig(CreateImagePolicyConfigDetails imagePolicyConfig)
The image verification policy for signature validation.
|
CreateClusterDetails.Builder |
kmsKeyId(String kmsKeyId)
The OCID of the KMS key to be used as the master encryption key for Kubernetes secret
encryption.
|
CreateClusterDetails.Builder |
kubernetesVersion(String kubernetesVersion)
The version of Kubernetes to install into the cluster masters.
|
CreateClusterDetails.Builder |
name(String name)
The name of the cluster.
|
CreateClusterDetails.Builder |
options(ClusterCreateOptions options)
Optional attributes for the cluster.
|
CreateClusterDetails.Builder |
type(ClusterType type)
Type of cluster
|
CreateClusterDetails.Builder |
vcnId(String vcnId)
The OCID of the virtual cloud network (VCN) in which to create the cluster.
|
public CreateClusterDetails.Builder name(String name)
The name of the cluster. Avoid entering confidential information.
name
- the value to setpublic CreateClusterDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment in which to create the cluster.
compartmentId
- the value to setpublic CreateClusterDetails.Builder endpointConfig(CreateClusterEndpointConfigDetails endpointConfig)
The network configuration for access to the Cluster control plane.
endpointConfig
- the value to setpublic CreateClusterDetails.Builder vcnId(String vcnId)
The OCID of the virtual cloud network (VCN) in which to create the cluster.
vcnId
- the value to setpublic CreateClusterDetails.Builder kubernetesVersion(String kubernetesVersion)
The version of Kubernetes to install into the cluster masters.
kubernetesVersion
- the value to setpublic 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
.
kmsKeyId
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic CreateClusterDetails.Builder options(ClusterCreateOptions options)
Optional attributes for the cluster.
options
- the value to setpublic 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.
imagePolicyConfig
- the value to setpublic CreateClusterDetails.Builder clusterPodNetworkOptions(List<ClusterPodNetworkOptionDetails> clusterPodNetworkOptions)
Available CNIs and network options for existing and new node pools of the cluster
clusterPodNetworkOptions
- the value to setpublic CreateClusterDetails.Builder type(ClusterType type)
Type of cluster
type
- the value to setpublic CreateClusterDetails build()
public CreateClusterDetails.Builder copy(CreateClusterDetails model)
Copyright © 2016–2024. All rights reserved.