Class OlvmStorageDomainProperties


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20220919")
    public final class OlvmStorageDomainProperties
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    OLVM Storage Domain properties.
    Note: Objects should always be created or deserialized using the OlvmStorageDomainProperties.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 OlvmStorageDomainProperties.Builder, which maintain a set of all explicitly set fields called OlvmStorageDomainProperties.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

      • getStorageDomainName

        public String getStorageDomainName()
        A human-readable name in plain text.
        Returns:
        the value
      • getStorageDomainDescription

        public String getStorageDomainDescription()
        A human-readable description in plain text.
        Returns:
        the value
      • getComment

        public String getComment()
        Free text containing comments about this object.
        Returns:
        the value
      • getAvailableSpaceInBytes

        public Long getAvailableSpaceInBytes()
        Space available in bytes.
        Returns:
        the value
      • getUsedSpaceInBytes

        public Long getUsedSpaceInBytes()
        Space used in bytes.
        Returns:
        the value
      • getCommittedSpaceInBytes

        public Long getCommittedSpaceInBytes()
        Space committed in bytes.
        Returns:
        the value
      • getBlockSizeInBytes

        public Long getBlockSizeInBytes()
        Block size in bytes.
        Returns:
        the value
      • getIsBackup

        public Boolean getIsBackup()
        Whether a data storage domain is used as backup domain or not.
        Returns:
        the value
      • getIsPrimary

        public Boolean getIsPrimary()
        Indicates if this is the primary (master) storage domain of a data center.
        Returns:
        the value
      • getIsImport

        public Boolean getIsImport()
        Whether this storage domain is imported.
        Returns:
        the value
      • getIsDiscardAfterDelete

        public Boolean getIsDiscardAfterDelete()
        Indicates whether disks’ blocks on block storage domains will be discarded right before they are deleted.
        Returns:
        the value
      • getIsSupportDiscard

        public Boolean getIsSupportDiscard()
        Indicates whether a block storage domain supports discard operations
        Returns:
        the value
      • getIsSupportDiscardZeroesData

        public Boolean getIsSupportDiscardZeroesData()
        Indicates whether a block storage domain supports the property that discard zeroes the data.
        Returns:
        the value
      • getIsWipeAfterDelete

        public Boolean getIsWipeAfterDelete()
        Serves as the default value of wipe_after_delete for disks on this storage domain.
        Returns:
        the value
      • getCriticalSpaceActionBlockerInGBs

        public Integer getCriticalSpaceActionBlockerInGBs()
        Ensure storage domain always has at least this amount of unoccupied space in GBs.
        Returns:
        the value
      • getWarningLowSpaceIndicatorInPercentage

        public Integer getWarningLowSpaceIndicatorInPercentage()
        If the free space available on the storage domain is below this percentage, warning messages are displayed to the user and logged.
        Returns:
        the value
      • getStorage

        public Storage getStorage()
      • getDataCenters

        public List<OlvmDataCenter> getDataCenters()
        List of data centers where storage domain belongs
        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