Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Cluster.Builder |
availableKubernetesUpgrades(List<String> availableKubernetesUpgrades)
Available Kubernetes versions to which the clusters masters may be upgraded.
|
Cluster |
build() |
Cluster.Builder |
clusterPodNetworkOptions(List<ClusterPodNetworkOptionDetails> clusterPodNetworkOptions)
Available CNIs and network options for existing and new node pools of the cluster
|
Cluster.Builder |
compartmentId(String compartmentId)
The OCID of the compartment in which the cluster exists.
|
Cluster.Builder |
copy(Cluster model) |
Cluster.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
Cluster.Builder |
endpointConfig(ClusterEndpointConfig endpointConfig)
The network configuration for access to the Cluster control plane.
|
Cluster.Builder |
endpoints(ClusterEndpoints endpoints)
Endpoints served up by the cluster masters.
|
Cluster.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
Cluster.Builder |
id(String id)
The OCID of the cluster.
|
Cluster.Builder |
imagePolicyConfig(ImagePolicyConfig imagePolicyConfig)
The image verification policy for signature validation.
|
Cluster.Builder |
kmsKeyId(String kmsKeyId)
The OCID of the KMS key to be used as the master encryption key for Kubernetes secret
encryption.
|
Cluster.Builder |
kubernetesVersion(String kubernetesVersion)
The version of Kubernetes running on the cluster masters.
|
Cluster.Builder |
lifecycleDetails(String lifecycleDetails)
Details about the state of the cluster masters.
|
Cluster.Builder |
lifecycleState(ClusterLifecycleState lifecycleState)
The state of the cluster masters.
|
Cluster.Builder |
metadata(ClusterMetadata metadata)
Metadata about the cluster.
|
Cluster.Builder |
name(String name)
The name of the cluster.
|
Cluster.Builder |
openIdConnectDiscoveryEndpoint(String openIdConnectDiscoveryEndpoint)
The cluster-specific OpenID Connect Discovery endpoint
|
Cluster.Builder |
options(ClusterCreateOptions options)
Optional attributes for the cluster.
|
Cluster.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
Cluster.Builder |
type(ClusterType type)
Type of cluster
|
Cluster.Builder |
vcnId(String vcnId)
The OCID of the virtual cloud network (VCN) in which the cluster exists.
|
public Cluster.Builder id(String id)
The OCID of the cluster.
id
- the value to setpublic Cluster.Builder name(String name)
The name of the cluster.
name
- the value to setpublic Cluster.Builder compartmentId(String compartmentId)
The OCID of the compartment in which the cluster exists.
compartmentId
- the value to setpublic Cluster.Builder endpointConfig(ClusterEndpointConfig endpointConfig)
The network configuration for access to the Cluster control plane.
endpointConfig
- the value to setpublic Cluster.Builder vcnId(String vcnId)
The OCID of the virtual cloud network (VCN) in which the cluster exists.
vcnId
- the value to setpublic Cluster.Builder kubernetesVersion(String kubernetesVersion)
The version of Kubernetes running on the cluster masters.
kubernetesVersion
- the value to setpublic Cluster.Builder kmsKeyId(String kmsKeyId)
The OCID of the KMS key to be used as the master encryption key for Kubernetes secret encryption.
kmsKeyId
- the value to setpublic Cluster.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 Cluster.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 Cluster.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic Cluster.Builder options(ClusterCreateOptions options)
Optional attributes for the cluster.
options
- the value to setpublic Cluster.Builder metadata(ClusterMetadata metadata)
Metadata about the cluster.
metadata
- the value to setpublic Cluster.Builder lifecycleState(ClusterLifecycleState lifecycleState)
The state of the cluster masters. For more information, see Monitoring Clusters
lifecycleState
- the value to setpublic Cluster.Builder lifecycleDetails(String lifecycleDetails)
Details about the state of the cluster masters.
lifecycleDetails
- the value to setpublic Cluster.Builder endpoints(ClusterEndpoints endpoints)
Endpoints served up by the cluster masters.
endpoints
- the value to setpublic Cluster.Builder availableKubernetesUpgrades(List<String> availableKubernetesUpgrades)
Available Kubernetes versions to which the clusters masters may be upgraded.
availableKubernetesUpgrades
- the value to setpublic Cluster.Builder imagePolicyConfig(ImagePolicyConfig imagePolicyConfig)
The image verification policy for signature validation.
imagePolicyConfig
- the value to setpublic Cluster.Builder clusterPodNetworkOptions(List<ClusterPodNetworkOptionDetails> clusterPodNetworkOptions)
Available CNIs and network options for existing and new node pools of the cluster
clusterPodNetworkOptions
- the value to setpublic Cluster.Builder type(ClusterType type)
Type of cluster
type
- the value to setpublic Cluster.Builder openIdConnectDiscoveryEndpoint(String openIdConnectDiscoveryEndpoint)
The cluster-specific OpenID Connect Discovery endpoint
openIdConnectDiscoveryEndpoint
- the value to setpublic Cluster build()
public Cluster.Builder copy(Cluster model)
Copyright © 2016–2024. All rights reserved.