Class 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 the ScaledBlockchainPlatformPreview.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 the ScaledBlockchainPlatformPreview.Builder, which maintain a set of all explicitly set fields called ScaledBlockchainPlatformPreview.Builder.__explicitlySet__. The hashCode() and equals(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).
    • Method Detail

      • 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
      • 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
      • toString

        public String toString()
        Overrides:
        toString in class com.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 class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel