Class Cluster.Builder
- java.lang.Object
- 
- com.oracle.bmc.containerengine.model.Cluster.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Cluster.BuilderavailableKubernetesUpgrades(List<String> availableKubernetesUpgrades)Available Kubernetes versions to which the clusters masters may be upgraded.Clusterbuild()Cluster.BuilderclusterPodNetworkOptions(List<ClusterPodNetworkOptionDetails> clusterPodNetworkOptions)Available CNIs and network options for existing and new node pools of the clusterCluster.BuildercompartmentId(String compartmentId)The OCID of the compartment in which the cluster exists.Cluster.Buildercopy(Cluster model)Cluster.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.Cluster.BuilderendpointConfig(ClusterEndpointConfig endpointConfig)The network configuration for access to the Cluster control plane.Cluster.Builderendpoints(ClusterEndpoints endpoints)Endpoints served up by the cluster masters.Cluster.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.Cluster.Builderid(String id)The OCID of the cluster.Cluster.BuilderimagePolicyConfig(ImagePolicyConfig imagePolicyConfig)The image verification policy for signature validation.Cluster.BuilderkmsKeyId(String kmsKeyId)The OCID of the KMS key to be used as the master encryption key for Kubernetes secret encryption.Cluster.BuilderkubernetesVersion(String kubernetesVersion)The version of Kubernetes running on the cluster masters.Cluster.BuilderlifecycleDetails(String lifecycleDetails)Details about the state of the cluster masters.Cluster.BuilderlifecycleState(ClusterLifecycleState lifecycleState)The state of the cluster masters.Cluster.Buildermetadata(ClusterMetadata metadata)Metadata about the cluster.Cluster.Buildername(String name)The name of the cluster.Cluster.BuilderopenIdConnectDiscoveryEndpoint(String openIdConnectDiscoveryEndpoint)The cluster-specific OpenID Connect Discovery endpointCluster.BuilderopenIdConnectDiscoveryKey(String openIdConnectDiscoveryKey)The cluster-specific OpenID Connect Discovery Key to derive the DiscoveryEndpointCluster.Builderoptions(ClusterCreateOptions options)Optional attributes for the cluster.Cluster.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.Cluster.Buildertype(ClusterType type)Type of clusterCluster.BuildervcnId(String vcnId)The OCID of the virtual cloud network (VCN) in which the cluster exists.
 
- 
- 
- 
Method Detail- 
idpublic Cluster.Builder id(String id) The OCID of the cluster.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
namepublic Cluster.Builder name(String name) The name of the cluster.- Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic Cluster.Builder compartmentId(String compartmentId) The OCID of the compartment in which the cluster exists.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
endpointConfigpublic Cluster.Builder endpointConfig(ClusterEndpointConfig endpointConfig) The network configuration for access to the Cluster control plane.- Parameters:
- endpointConfig- the value to set
- Returns:
- this builder
 
 - 
vcnIdpublic Cluster.Builder vcnId(String vcnId) The OCID of the virtual cloud network (VCN) in which the cluster exists.- Parameters:
- vcnId- the value to set
- Returns:
- this builder
 
 - 
kubernetesVersionpublic Cluster.Builder kubernetesVersion(String kubernetesVersion) The version of Kubernetes running on the cluster masters.- Parameters:
- kubernetesVersion- the value to set
- Returns:
- this builder
 
 - 
kmsKeyIdpublic Cluster.Builder kmsKeyId(String kmsKeyId) The OCID of the KMS key to be used as the master encryption key for Kubernetes secret encryption.- Parameters:
- kmsKeyId- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic 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”} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic 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”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic 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”}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
optionspublic Cluster.Builder options(ClusterCreateOptions options) Optional attributes for the cluster.- Parameters:
- options- the value to set
- Returns:
- this builder
 
 - 
metadatapublic Cluster.Builder metadata(ClusterMetadata metadata) Metadata about the cluster.- Parameters:
- metadata- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic Cluster.Builder lifecycleState(ClusterLifecycleState lifecycleState) The state of the cluster masters.For more information, see Monitoring Clusters - Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic Cluster.Builder lifecycleDetails(String lifecycleDetails) Details about the state of the cluster masters.- Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
endpointspublic Cluster.Builder endpoints(ClusterEndpoints endpoints) Endpoints served up by the cluster masters.- Parameters:
- endpoints- the value to set
- Returns:
- this builder
 
 - 
availableKubernetesUpgradespublic Cluster.Builder availableKubernetesUpgrades(List<String> availableKubernetesUpgrades) Available Kubernetes versions to which the clusters masters may be upgraded.- Parameters:
- availableKubernetesUpgrades- the value to set
- Returns:
- this builder
 
 - 
imagePolicyConfigpublic Cluster.Builder imagePolicyConfig(ImagePolicyConfig imagePolicyConfig) The image verification policy for signature validation.- Parameters:
- imagePolicyConfig- the value to set
- Returns:
- this builder
 
 - 
clusterPodNetworkOptionspublic Cluster.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 Cluster.Builder type(ClusterType type) Type of cluster- Parameters:
- type- the value to set
- Returns:
- this builder
 
 - 
openIdConnectDiscoveryEndpointpublic Cluster.Builder openIdConnectDiscoveryEndpoint(String openIdConnectDiscoveryEndpoint) The cluster-specific OpenID Connect Discovery endpoint- Parameters:
- openIdConnectDiscoveryEndpoint- the value to set
- Returns:
- this builder
 
 - 
openIdConnectDiscoveryKeypublic Cluster.Builder openIdConnectDiscoveryKey(String openIdConnectDiscoveryKey) The cluster-specific OpenID Connect Discovery Key to derive the DiscoveryEndpoint- Parameters:
- openIdConnectDiscoveryKey- the value to set
- Returns:
- this builder
 
 - 
buildpublic Cluster build() 
 - 
copypublic Cluster.Builder copy(Cluster model) 
 
- 
 
-