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