Package com.oracle.bmc.core.model
Class ComputeNetworkBlock.Builder
- java.lang.Object
-
- com.oracle.bmc.core.model.ComputeNetworkBlock.Builder
-
- Enclosing class:
- ComputeNetworkBlock
public static class ComputeNetworkBlock.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeNetworkBlock
build()
ComputeNetworkBlock.Builder
computeCapacityTopologyId(String computeCapacityTopologyId)
The OCID of the compute capacity topology.ComputeNetworkBlock.Builder
computeHpcIslandId(String computeHpcIslandId)
The OCID of the compute HPC island.ComputeNetworkBlock.Builder
copy(ComputeNetworkBlock model)
ComputeNetworkBlock.Builder
id(String id)
The OCID of the compute network block.ComputeNetworkBlock.Builder
lifecycleState(ComputeNetworkBlock.LifecycleState lifecycleState)
The current state of the compute network block.ComputeNetworkBlock.Builder
timeCreated(Date timeCreated)
The date and time that the compute network block was created, in the format defined by RFC3339.ComputeNetworkBlock.Builder
timeUpdated(Date timeUpdated)
The date and time that the compute network block was updated, in the format defined by RFC3339.ComputeNetworkBlock.Builder
totalComputeBareMetalHostCount(Long totalComputeBareMetalHostCount)
The total number of compute bare metal hosts located in this compute network block.
-
-
-
Method Detail
-
computeCapacityTopologyId
public ComputeNetworkBlock.Builder computeCapacityTopologyId(String computeCapacityTopologyId)
The OCID of the compute capacity topology.- Parameters:
computeCapacityTopologyId
- the value to set- Returns:
- this builder
-
computeHpcIslandId
public ComputeNetworkBlock.Builder computeHpcIslandId(String computeHpcIslandId)
The OCID of the compute HPC island.- Parameters:
computeHpcIslandId
- the value to set- Returns:
- this builder
-
id
public ComputeNetworkBlock.Builder id(String id)
The OCID of the compute network block.- Parameters:
id
- the value to set- Returns:
- this builder
-
lifecycleState
public ComputeNetworkBlock.Builder lifecycleState(ComputeNetworkBlock.LifecycleState lifecycleState)
The current state of the compute network block.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
timeCreated
public ComputeNetworkBlock.Builder timeCreated(Date timeCreated)
The date and time that the compute network block 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 ComputeNetworkBlock.Builder timeUpdated(Date timeUpdated)
The date and time that the compute network block was updated, in the format defined by RFC3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
totalComputeBareMetalHostCount
public ComputeNetworkBlock.Builder totalComputeBareMetalHostCount(Long totalComputeBareMetalHostCount)
The total number of compute bare metal hosts located in this compute network block.- Parameters:
totalComputeBareMetalHostCount
- the value to set- Returns:
- this builder
-
build
public ComputeNetworkBlock build()
-
copy
public ComputeNetworkBlock.Builder copy(ComputeNetworkBlock model)
-
-