public static class ClusterSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ClusterSummary.Builder |
availableKubernetesUpgrades(List<String> availableKubernetesUpgrades)
Available Kubernetes versions to which the clusters masters may be upgraded.
|
ClusterSummary |
build() |
ClusterSummary.Builder |
clusterPodNetworkOptions(List<ClusterPodNetworkOptionDetails> clusterPodNetworkOptions)
Available CNIs and network options for existing and new node pools of the cluster
|
ClusterSummary.Builder |
compartmentId(String compartmentId)
The OCID of the compartment in which the cluster exists.
|
ClusterSummary.Builder |
copy(ClusterSummary model) |
ClusterSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
ClusterSummary.Builder |
endpointConfig(ClusterEndpointConfig endpointConfig)
The network configuration for access to the Cluster control plane.
|
ClusterSummary.Builder |
endpoints(ClusterEndpoints endpoints)
Endpoints served up by the cluster masters.
|
ClusterSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
ClusterSummary.Builder |
id(String id)
The OCID of the cluster.
|
ClusterSummary.Builder |
imagePolicyConfig(ImagePolicyConfig imagePolicyConfig)
The image verification policy for signature validation.
|
ClusterSummary.Builder |
kubernetesVersion(String kubernetesVersion)
The version of Kubernetes running on the cluster masters.
|
ClusterSummary.Builder |
lifecycleDetails(String lifecycleDetails)
Details about the state of the cluster masters.
|
ClusterSummary.Builder |
lifecycleState(ClusterLifecycleState lifecycleState)
The state of the cluster masters.
|
ClusterSummary.Builder |
metadata(ClusterMetadata metadata)
Metadata about the cluster.
|
ClusterSummary.Builder |
name(String name)
The name of the cluster.
|
ClusterSummary.Builder |
options(ClusterCreateOptions options)
Optional attributes for the cluster.
|
ClusterSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
ClusterSummary.Builder |
type(ClusterType type)
Type of cluster.
|
ClusterSummary.Builder |
vcnId(String vcnId)
The OCID of the virtual cloud network (VCN) in which the cluster exists
|
public ClusterSummary.Builder id(String id)
The OCID of the cluster.
id
- the value to setpublic ClusterSummary.Builder name(String name)
The name of the cluster.
name
- the value to setpublic ClusterSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment in which the cluster exists.
compartmentId
- the value to setpublic ClusterSummary.Builder endpointConfig(ClusterEndpointConfig endpointConfig)
The network configuration for access to the Cluster control plane.
endpointConfig
- the value to setpublic ClusterSummary.Builder vcnId(String vcnId)
The OCID of the virtual cloud network (VCN) in which the cluster exists
vcnId
- the value to setpublic ClusterSummary.Builder kubernetesVersion(String kubernetesVersion)
The version of Kubernetes running on the cluster masters.
kubernetesVersion
- the value to setpublic ClusterSummary.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 ClusterSummary.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 ClusterSummary.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 ClusterSummary.Builder options(ClusterCreateOptions options)
Optional attributes for the cluster.
options
- the value to setpublic ClusterSummary.Builder metadata(ClusterMetadata metadata)
Metadata about the cluster.
metadata
- the value to setpublic ClusterSummary.Builder lifecycleState(ClusterLifecycleState lifecycleState)
The state of the cluster masters.
lifecycleState
- the value to setpublic ClusterSummary.Builder lifecycleDetails(String lifecycleDetails)
Details about the state of the cluster masters.
lifecycleDetails
- the value to setpublic ClusterSummary.Builder endpoints(ClusterEndpoints endpoints)
Endpoints served up by the cluster masters.
endpoints
- the value to setpublic ClusterSummary.Builder availableKubernetesUpgrades(List<String> availableKubernetesUpgrades)
Available Kubernetes versions to which the clusters masters may be upgraded.
availableKubernetesUpgrades
- the value to setpublic ClusterSummary.Builder imagePolicyConfig(ImagePolicyConfig imagePolicyConfig)
The image verification policy for signature validation.
imagePolicyConfig
- the value to setpublic ClusterSummary.Builder clusterPodNetworkOptions(List<ClusterPodNetworkOptionDetails> clusterPodNetworkOptions)
Available CNIs and network options for existing and new node pools of the cluster
clusterPodNetworkOptions
- the value to setpublic ClusterSummary.Builder type(ClusterType type)
Type of cluster. Values can be BASIC_CLUSTER or ENHANCED_CLUSTER. For more information, see Cluster Types
type
- the value to setpublic ClusterSummary build()
public ClusterSummary.Builder copy(ClusterSummary model)
Copyright © 2016–2024. All rights reserved.