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