Package com.oracle.bmc.blockchain.model
Class ScaledBlockchainPlatformPreview
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.blockchain.model.ScaledBlockchainPlatformPreview
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20191010") public final class ScaledBlockchainPlatformPreview extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Blockchain Platform Instance Description Preview after Scaling.
Note: Objects should always be created or deserialized using theScaledBlockchainPlatformPreview.Builder
. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theScaledBlockchainPlatformPreview.Builder
, which maintain a set of all explicitly set fields calledScaledBlockchainPlatformPreview.Builder.__explicitlySet__
. ThehashCode()
andequals(Object)
methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ScaledBlockchainPlatformPreview.Builder
-
Constructor Summary
Constructors Constructor Description ScaledBlockchainPlatformPreview(String id, String displayName, String compartmentId, String description, String computeShape, Double storageSizeInTBs, Double storageSizeInTBsPostScaling, BlockchainPlatformComponentDetails componentDetails, ReplicaDetails replicas, BlockchainPlatformComponentDetails componentDetailsPostScaling, ReplicaDetails replicasPostScaling, List<OcpuUtilizationInfo> hostOcpuUtilizationInfo, List<OcpuUtilizationInfo> hostOcpuUtilizationInfoPostScaling, Integer newVmCount, ScaledPlatformMeteringPreview meteringPreview, ScaleBlockchainPlatformDetails scalePayload)
Deprecated.
-
Method Summary
-
-
-
Constructor Detail
-
ScaledBlockchainPlatformPreview
@Deprecated @ConstructorProperties({"id","displayName","compartmentId","description","computeShape","storageSizeInTBs","storageSizeInTBsPostScaling","componentDetails","replicas","componentDetailsPostScaling","replicasPostScaling","hostOcpuUtilizationInfo","hostOcpuUtilizationInfoPostScaling","newVmCount","meteringPreview","scalePayload"}) public ScaledBlockchainPlatformPreview(String id, String displayName, String compartmentId, String description, String computeShape, Double storageSizeInTBs, Double storageSizeInTBsPostScaling, BlockchainPlatformComponentDetails componentDetails, ReplicaDetails replicas, BlockchainPlatformComponentDetails componentDetailsPostScaling, ReplicaDetails replicasPostScaling, List<OcpuUtilizationInfo> hostOcpuUtilizationInfo, List<OcpuUtilizationInfo> hostOcpuUtilizationInfoPostScaling, Integer newVmCount, ScaledPlatformMeteringPreview meteringPreview, ScaleBlockchainPlatformDetails scalePayload)
Deprecated.
-
-
Method Detail
-
builder
public static ScaledBlockchainPlatformPreview.Builder builder()
Create a new builder.
-
toBuilder
public ScaledBlockchainPlatformPreview.Builder toBuilder()
-
getId
public String getId()
unique identifier that is immutable on creation- Returns:
- the value
-
getDisplayName
public String getDisplayName()
Platform Instance Display name, can be renamed- Returns:
- the value
-
getCompartmentId
public String getCompartmentId()
Compartment Identifier- Returns:
- the value
-
getDescription
public String getDescription()
Platform Instance Description- Returns:
- the value
-
getComputeShape
public String getComputeShape()
Compute shape - STANDARD or ENTERPRISE_SMALL or ENTERPRISE_MEDIUM or ENTERPRISE_LARGE or ENTERPRISE_EXTRA_LARGE or ENTERPRISE_CUSTOM- Returns:
- the value
-
getStorageSizeInTBs
public Double getStorageSizeInTBs()
Storage size in TBs- Returns:
- the value
-
getStorageSizeInTBsPostScaling
public Double getStorageSizeInTBsPostScaling()
Storage size in TBs post scaling- Returns:
- the value
-
getComponentDetails
public BlockchainPlatformComponentDetails getComponentDetails()
-
getReplicas
public ReplicaDetails getReplicas()
-
getComponentDetailsPostScaling
public BlockchainPlatformComponentDetails getComponentDetailsPostScaling()
-
getReplicasPostScaling
public ReplicaDetails getReplicasPostScaling()
-
getHostOcpuUtilizationInfo
public List<OcpuUtilizationInfo> getHostOcpuUtilizationInfo()
List of OcpuUtilization for all hosts- Returns:
- the value
-
getHostOcpuUtilizationInfoPostScaling
public List<OcpuUtilizationInfo> getHostOcpuUtilizationInfoPostScaling()
List of OcpuUtilization for all hosts after scaling- Returns:
- the value
-
getNewVmCount
public Integer getNewVmCount()
Number of new VMs that would be created- Returns:
- the value
-
getMeteringPreview
public ScaledPlatformMeteringPreview getMeteringPreview()
-
getScalePayload
public ScaleBlockchainPlatformDetails getScalePayload()
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-