public static class InstancePoolInstance.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
InstancePoolInstance.Builder |
availabilityDomain(String availabilityDomain)
The availability domain the instance is running in.
|
InstancePoolInstance |
build() |
InstancePoolInstance.Builder |
compartmentId(String compartmentId)
The OCID
of the compartment that contains the instance.
|
InstancePoolInstance.Builder |
copy(InstancePoolInstance model) |
InstancePoolInstance.Builder |
displayName(String displayName)
A user-friendly name.
|
InstancePoolInstance.Builder |
faultDomain(String faultDomain)
The fault domain the instance is running in.
|
InstancePoolInstance.Builder |
id(String id)
The OCID
of the instance.
|
InstancePoolInstance.Builder |
instanceConfigurationId(String instanceConfigurationId)
The OCID
of the instance configuration used to create the instance.
|
InstancePoolInstance.Builder |
instancePoolId(String instancePoolId)
The OCID
of the instance pool.
|
InstancePoolInstance.Builder |
lifecycleState(InstancePoolInstance.LifecycleState lifecycleState)
The attachment state of the instance in relation to the instance pool.
|
InstancePoolInstance.Builder |
loadBalancerBackends(List<InstancePoolInstanceLoadBalancerBackend> loadBalancerBackends)
The load balancer backends that are configured for the instance.
|
InstancePoolInstance.Builder |
region(String region)
The region that contains the availability domain the instance is running in.
|
InstancePoolInstance.Builder |
shape(String shape)
The shape of the instance.
|
InstancePoolInstance.Builder |
state(String state)
The lifecycle state of the instance.
|
InstancePoolInstance.Builder |
timeCreated(Date timeCreated)
The date and time the instance pool instance was created, in the format defined by
RFC3339.
|
public InstancePoolInstance.Builder id(String id)
The OCID of the instance.
id
- the value to setpublic InstancePoolInstance.Builder instancePoolId(String instancePoolId)
The OCID of the instance pool.
instancePoolId
- the value to setpublic InstancePoolInstance.Builder availabilityDomain(String availabilityDomain)
The availability domain the instance is running in.
availabilityDomain
- the value to setpublic InstancePoolInstance.Builder lifecycleState(InstancePoolInstance.LifecycleState lifecycleState)
The attachment state of the instance in relation to the instance pool.
lifecycleState
- the value to setpublic InstancePoolInstance.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the instance.
compartmentId
- the value to setpublic InstancePoolInstance.Builder displayName(String displayName)
A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
displayName
- the value to setpublic InstancePoolInstance.Builder faultDomain(String faultDomain)
The fault domain the instance is running in.
faultDomain
- the value to setpublic InstancePoolInstance.Builder instanceConfigurationId(String instanceConfigurationId)
The OCID of the instance configuration used to create the instance.
instanceConfigurationId
- the value to setpublic InstancePoolInstance.Builder region(String region)
The region that contains the availability domain the instance is running in.
region
- the value to setpublic InstancePoolInstance.Builder shape(String shape)
The shape of the instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance.
shape
- the value to setpublic InstancePoolInstance.Builder state(String state)
The lifecycle state of the instance. Refer to lifecycleState
in the Instance
resource.
state
- the value to setpublic InstancePoolInstance.Builder timeCreated(Date timeCreated)
The date and time the instance pool instance was created, in the format defined by
RFC3339. Example: 2016-08-25T21:10:29.600Z
timeCreated
- the value to setpublic InstancePoolInstance.Builder loadBalancerBackends(List<InstancePoolInstanceLoadBalancerBackend> loadBalancerBackends)
The load balancer backends that are configured for the instance.
loadBalancerBackends
- the value to setpublic InstancePoolInstance build()
public InstancePoolInstance.Builder copy(InstancePoolInstance model)
Copyright © 2016–2024. All rights reserved.