Class Node.Builder
- java.lang.Object
-
- com.oracle.bmc.containerengine.model.Node.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Node.Builder
availabilityDomain(String availabilityDomain)
The name of the availability domain in which this node is placed.Node
build()
Node.Builder
copy(Node model)
Node.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Node.Builder
faultDomain(String faultDomain)
The fault domain of this node.Node.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Node.Builder
id(String id)
The OCID of the compute instance backing this node.Node.Builder
kubernetesVersion(String kubernetesVersion)
The version of Kubernetes this node is running.Node.Builder
lifecycleDetails(String lifecycleDetails)
Details about the state of the node.Node.Builder
lifecycleState(Node.LifecycleState lifecycleState)
The state of the node.Node.Builder
name(String name)
The name of the node.Node.Builder
nodeError(NodeError nodeError)
An error that may be associated with the node.Node.Builder
nodePoolId(String nodePoolId)
The OCID of the node pool to which this node belongs.Node.Builder
privateIp(String privateIp)
The private IP address of this node.Node.Builder
publicIp(String publicIp)
The public IP address of this node.Node.Builder
subnetId(String subnetId)
The OCID of the subnet in which this node is placed.Node.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
-
-
-
Method Detail
-
id
public Node.Builder id(String id)
The OCID of the compute instance backing this node.- Parameters:
id
- the value to set- Returns:
- this builder
-
name
public Node.Builder name(String name)
The name of the node.- Parameters:
name
- the value to set- Returns:
- this builder
-
kubernetesVersion
public Node.Builder kubernetesVersion(String kubernetesVersion)
The version of Kubernetes this node is running.- Parameters:
kubernetesVersion
- the value to set- Returns:
- this builder
-
availabilityDomain
public Node.Builder availabilityDomain(String availabilityDomain)
The name of the availability domain in which this node is placed.- Parameters:
availabilityDomain
- the value to set- Returns:
- this builder
-
subnetId
public Node.Builder subnetId(String subnetId)
The OCID of the subnet in which this node is placed.- Parameters:
subnetId
- the value to set- Returns:
- this builder
-
nodePoolId
public Node.Builder nodePoolId(String nodePoolId)
The OCID of the node pool to which this node belongs.- Parameters:
nodePoolId
- the value to set- Returns:
- this builder
-
faultDomain
public Node.Builder faultDomain(String faultDomain)
The fault domain of this node.- Parameters:
faultDomain
- the value to set- Returns:
- this builder
-
privateIp
public Node.Builder privateIp(String privateIp)
The private IP address of this node.- Parameters:
privateIp
- the value to set- Returns:
- this builder
-
publicIp
public Node.Builder publicIp(String publicIp)
The public IP address of this node.- Parameters:
publicIp
- the value to set- Returns:
- this builder
-
nodeError
public Node.Builder nodeError(NodeError nodeError)
An error that may be associated with the node.- Parameters:
nodeError
- the value to set- Returns:
- this builder
-
freeformTags
public Node.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
-
definedTags
public Node.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
-
systemTags
public Node.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
-
lifecycleState
public Node.Builder lifecycleState(Node.LifecycleState lifecycleState)
The state of the node.For more information, see Monitoring Clusters
- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public Node.Builder lifecycleDetails(String lifecycleDetails)
Details about the state of the node.- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
build
public Node build()
-
copy
public Node.Builder copy(Node model)
-
-