Package com.oracle.bmc.core.model
Class ComputeBareMetalHost.Builder
- java.lang.Object
-
- com.oracle.bmc.core.model.ComputeBareMetalHost.Builder
-
- Enclosing class:
- ComputeBareMetalHost
public static class ComputeBareMetalHost.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeBareMetalHost
build()
ComputeBareMetalHost.Builder
computeCapacityTopologyId(String computeCapacityTopologyId)
The OCID of the compute capacity topology.ComputeBareMetalHost.Builder
computeHpcIslandId(String computeHpcIslandId)
The OCID of the compute HPC island.ComputeBareMetalHost.Builder
computeLocalBlockId(String computeLocalBlockId)
The OCID of the compute local block.ComputeBareMetalHost.Builder
computeNetworkBlockId(String computeNetworkBlockId)
The OCID of the compute network block.ComputeBareMetalHost.Builder
copy(ComputeBareMetalHost model)
ComputeBareMetalHost.Builder
id(String id)
The OCID of the compute bare metal host.ComputeBareMetalHost.Builder
instanceId(String instanceId)
The OCID of the compute instance that runs on the compute bare metal host.ComputeBareMetalHost.Builder
instanceShape(String instanceShape)
The shape of the compute instance that runs on the compute bare metal host.ComputeBareMetalHost.Builder
lifecycleDetails(ComputeBareMetalHost.LifecycleDetails lifecycleDetails)
The lifecycle state details of the compute bare metal host.ComputeBareMetalHost.Builder
lifecycleState(ComputeBareMetalHost.LifecycleState lifecycleState)
The current state of the compute bare metal host.ComputeBareMetalHost.Builder
timeCreated(Date timeCreated)
The date and time that the compute bare metal host was created, in the format defined by RFC3339.ComputeBareMetalHost.Builder
timeUpdated(Date timeUpdated)
The date and time that the compute bare metal host was updated, in the format defined by RFC3339.
-
-
-
Method Detail
-
computeCapacityTopologyId
public ComputeBareMetalHost.Builder computeCapacityTopologyId(String computeCapacityTopologyId)
The OCID of the compute capacity topology.- Parameters:
computeCapacityTopologyId
- the value to set- Returns:
- this builder
-
computeHpcIslandId
public ComputeBareMetalHost.Builder computeHpcIslandId(String computeHpcIslandId)
The OCID of the compute HPC island.- Parameters:
computeHpcIslandId
- the value to set- Returns:
- this builder
-
computeLocalBlockId
public ComputeBareMetalHost.Builder computeLocalBlockId(String computeLocalBlockId)
The OCID of the compute local block.- Parameters:
computeLocalBlockId
- the value to set- Returns:
- this builder
-
computeNetworkBlockId
public ComputeBareMetalHost.Builder computeNetworkBlockId(String computeNetworkBlockId)
The OCID of the compute network block.- Parameters:
computeNetworkBlockId
- the value to set- Returns:
- this builder
-
id
public ComputeBareMetalHost.Builder id(String id)
The OCID of the compute bare metal host.- Parameters:
id
- the value to set- Returns:
- this builder
-
instanceId
public ComputeBareMetalHost.Builder instanceId(String instanceId)
The OCID of the compute instance that runs on the compute bare metal host.- Parameters:
instanceId
- the value to set- Returns:
- this builder
-
instanceShape
public ComputeBareMetalHost.Builder instanceShape(String instanceShape)
The shape of the compute instance that runs on the compute bare metal host.- Parameters:
instanceShape
- the value to set- Returns:
- this builder
-
lifecycleDetails
public ComputeBareMetalHost.Builder lifecycleDetails(ComputeBareMetalHost.LifecycleDetails lifecycleDetails)
The lifecycle state details of the compute bare metal host.- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
lifecycleState
public ComputeBareMetalHost.Builder lifecycleState(ComputeBareMetalHost.LifecycleState lifecycleState)
The current state of the compute bare metal host.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
timeCreated
public ComputeBareMetalHost.Builder timeCreated(Date timeCreated)
The date and time that the compute bare metal host was created, in the format defined by RFC3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public ComputeBareMetalHost.Builder timeUpdated(Date timeUpdated)
The date and time that the compute bare metal host was updated, in the format defined by RFC3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
build
public ComputeBareMetalHost build()
-
copy
public ComputeBareMetalHost.Builder copy(ComputeBareMetalHost model)
-
-