Package com.oracle.bmc.database.model
Class NodeDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.database.model.NodeDetails.Builder
-
- Enclosing class:
- NodeDetails
public static class NodeDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeDetailsbuild()NodeDetails.Buildercopy(NodeDetails model)NodeDetails.BuilderdbServerId(String dbServerId)The Db server associated with the node.NodeDetails.Builderhostname(String hostname)The node host name.NodeDetails.Builderip(String ip)The node IP address.NodeDetails.BuilderlifecycleState(NodeDetails.LifecycleState lifecycleState)The current state of the VM cluster network nodes.NodeDetails.Buildervip(String vip)The node virtual IP (VIP) address.NodeDetails.BuildervipHostname(String vipHostname)The node virtual IP (VIP) host name.
-
-
-
Method Detail
-
hostname
public NodeDetails.Builder hostname(String hostname)
The node host name.- Parameters:
hostname- the value to set- Returns:
- this builder
-
ip
public NodeDetails.Builder ip(String ip)
The node IP address.- Parameters:
ip- the value to set- Returns:
- this builder
-
vipHostname
public NodeDetails.Builder vipHostname(String vipHostname)
The node virtual IP (VIP) host name.- Parameters:
vipHostname- the value to set- Returns:
- this builder
-
vip
public NodeDetails.Builder vip(String vip)
The node virtual IP (VIP) address.- Parameters:
vip- the value to set- Returns:
- this builder
-
lifecycleState
public NodeDetails.Builder lifecycleState(NodeDetails.LifecycleState lifecycleState)
The current state of the VM cluster network nodes.CREATING - The resource is being created REQUIRES_VALIDATION - The resource is created and may not be usable until it is validated. VALIDATING - The resource is being validated and not available to use. VALIDATED - The resource is validated and is available for consumption by VM cluster. VALIDATION_FAILED - The resource validation has failed and might require user input to be corrected. UPDATING - The resource is being updated and not available to use. ALLOCATED - The resource is currently being used by VM cluster. TERMINATING - The resource is being deleted and not available to use. TERMINATED - The resource is deleted and unavailable. FAILED - The resource is in a failed state due to validation or other errors.
- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
dbServerId
public NodeDetails.Builder dbServerId(String dbServerId)
The Db server associated with the node.- Parameters:
dbServerId- the value to set- Returns:
- this builder
-
build
public NodeDetails build()
-
copy
public NodeDetails.Builder copy(NodeDetails model)
-
-