Package com.oracle.bmc.blockchain.model
Class ScaledBlockchainPlatformPreview.Builder
- java.lang.Object
-
- com.oracle.bmc.blockchain.model.ScaledBlockchainPlatformPreview.Builder
-
- Enclosing class:
- ScaledBlockchainPlatformPreview
public static class ScaledBlockchainPlatformPreview.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public ScaledBlockchainPlatformPreview.Builder id(String id)
unique identifier that is immutable on creation- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public ScaledBlockchainPlatformPreview.Builder displayName(String displayName)
Platform Instance Display name, can be renamed- Parameters:
displayName
- the value to set- Returns:
- this builder
-
compartmentId
public ScaledBlockchainPlatformPreview.Builder compartmentId(String compartmentId)
Compartment Identifier- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
description
public ScaledBlockchainPlatformPreview.Builder description(String description)
Platform Instance Description- Parameters:
description
- the value to set- Returns:
- this builder
-
computeShape
public ScaledBlockchainPlatformPreview.Builder computeShape(String computeShape)
Compute shape - STANDARD or ENTERPRISE_SMALL or ENTERPRISE_MEDIUM or ENTERPRISE_LARGE or ENTERPRISE_EXTRA_LARGE or ENTERPRISE_CUSTOM- Parameters:
computeShape
- the value to set- Returns:
- this builder
-
storageSizeInTBs
public ScaledBlockchainPlatformPreview.Builder storageSizeInTBs(Double storageSizeInTBs)
Storage size in TBs- Parameters:
storageSizeInTBs
- the value to set- Returns:
- this builder
-
storageSizeInTBsPostScaling
public ScaledBlockchainPlatformPreview.Builder storageSizeInTBsPostScaling(Double storageSizeInTBsPostScaling)
Storage size in TBs post scaling- Parameters:
storageSizeInTBsPostScaling
- the value to set- Returns:
- this builder
-
componentDetails
public ScaledBlockchainPlatformPreview.Builder componentDetails(BlockchainPlatformComponentDetails componentDetails)
-
replicas
public ScaledBlockchainPlatformPreview.Builder replicas(ReplicaDetails replicas)
-
componentDetailsPostScaling
public ScaledBlockchainPlatformPreview.Builder componentDetailsPostScaling(BlockchainPlatformComponentDetails componentDetailsPostScaling)
-
replicasPostScaling
public ScaledBlockchainPlatformPreview.Builder replicasPostScaling(ReplicaDetails replicasPostScaling)
-
hostOcpuUtilizationInfo
public ScaledBlockchainPlatformPreview.Builder hostOcpuUtilizationInfo(List<OcpuUtilizationInfo> hostOcpuUtilizationInfo)
List of OcpuUtilization for all hosts- Parameters:
hostOcpuUtilizationInfo
- the value to set- Returns:
- this builder
-
hostOcpuUtilizationInfoPostScaling
public ScaledBlockchainPlatformPreview.Builder hostOcpuUtilizationInfoPostScaling(List<OcpuUtilizationInfo> hostOcpuUtilizationInfoPostScaling)
List of OcpuUtilization for all hosts after scaling- Parameters:
hostOcpuUtilizationInfoPostScaling
- the value to set- Returns:
- this builder
-
newVmCount
public ScaledBlockchainPlatformPreview.Builder newVmCount(Integer newVmCount)
Number of new VMs that would be created- Parameters:
newVmCount
- the value to set- Returns:
- this builder
-
meteringPreview
public ScaledBlockchainPlatformPreview.Builder meteringPreview(ScaledPlatformMeteringPreview meteringPreview)
-
scalePayload
public ScaledBlockchainPlatformPreview.Builder scalePayload(ScaleBlockchainPlatformDetails scalePayload)
-
build
public ScaledBlockchainPlatformPreview build()
-
copy
public ScaledBlockchainPlatformPreview.Builder copy(ScaledBlockchainPlatformPreview model)
-
-