Class OlvmStorageDomainProperties
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.cloudmigrations.model.OlvmStorageDomainProperties
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20220919") public final class OlvmStorageDomainProperties extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelOLVM Storage Domain properties.
Note: Objects should always be created or deserialized using theOlvmStorageDomainProperties.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 theOlvmStorageDomainProperties.Builder, which maintain a set of all explicitly set fields calledOlvmStorageDomainProperties.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 classOlvmStorageDomainProperties.Builderstatic classOlvmStorageDomainProperties.ExternalStatusStatus of storage domain.static classOlvmStorageDomainProperties.StorageDomainStatusStatus of storage domain.static classOlvmStorageDomainProperties.StorageDomainTypeIndicates the kind of data managed by a storage domain.static classOlvmStorageDomainProperties.StorageFormatType which represents a format of storage domain.
-
Constructor Summary
Constructors Constructor Description OlvmStorageDomainProperties(String storageDomainName, String storageDomainDescription, String comment, Long availableSpaceInBytes, Long usedSpaceInBytes, Long committedSpaceInBytes, Long blockSizeInBytes, Boolean isBackup, Boolean isPrimary, Boolean isImport, Boolean isDiscardAfterDelete, Boolean isSupportDiscard, Boolean isSupportDiscardZeroesData, Boolean isWipeAfterDelete, Integer criticalSpaceActionBlockerInGBs, Integer warningLowSpaceIndicatorInPercentage, OlvmStorageDomainProperties.ExternalStatus externalStatus, OlvmStorageDomainProperties.StorageDomainStatus storageDomainStatus, Storage storage, OlvmStorageDomainProperties.StorageFormat storageFormat, OlvmStorageDomainProperties.StorageDomainType storageDomainType, List<OlvmDataCenter> dataCenters)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OlvmStorageDomainProperties.Builderbuilder()Create a new builder.booleanequals(Object o)LonggetAvailableSpaceInBytes()Space available in bytes.LonggetBlockSizeInBytes()Block size in bytes.StringgetComment()Free text containing comments about this object.LonggetCommittedSpaceInBytes()Space committed in bytes.IntegergetCriticalSpaceActionBlockerInGBs()Ensure storage domain always has at least this amount of unoccupied space in GBs.List<OlvmDataCenter>getDataCenters()List of data centers where storage domain belongsOlvmStorageDomainProperties.ExternalStatusgetExternalStatus()Status of storage domain.BooleangetIsBackup()Whether a data storage domain is used as backup domain or not.BooleangetIsDiscardAfterDelete()Indicates whether disks’ blocks on block storage domains will be discarded right before they are deleted.BooleangetIsImport()Whether this storage domain is imported.BooleangetIsPrimary()Indicates if this is the primary (master) storage domain of a data center.BooleangetIsSupportDiscard()Indicates whether a block storage domain supports discard operationsBooleangetIsSupportDiscardZeroesData()Indicates whether a block storage domain supports the property that discard zeroes the data.BooleangetIsWipeAfterDelete()Serves as the default value of wipe_after_delete for disks on this storage domain.StoragegetStorage()StringgetStorageDomainDescription()A human-readable description in plain text.StringgetStorageDomainName()A human-readable name in plain text.OlvmStorageDomainProperties.StorageDomainStatusgetStorageDomainStatus()Status of storage domain.OlvmStorageDomainProperties.StorageDomainTypegetStorageDomainType()Indicates the kind of data managed by a storage domain.OlvmStorageDomainProperties.StorageFormatgetStorageFormat()Type which represents a format of storage domain.LonggetUsedSpaceInBytes()Space used in bytes.IntegergetWarningLowSpaceIndicatorInPercentage()If the free space available on the storage domain is below this percentage, warning messages are displayed to the user and logged.inthashCode()OlvmStorageDomainProperties.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
OlvmStorageDomainProperties
@Deprecated @ConstructorProperties({"storageDomainName","storageDomainDescription","comment","availableSpaceInBytes","usedSpaceInBytes","committedSpaceInBytes","blockSizeInBytes","isBackup","isPrimary","isImport","isDiscardAfterDelete","isSupportDiscard","isSupportDiscardZeroesData","isWipeAfterDelete","criticalSpaceActionBlockerInGBs","warningLowSpaceIndicatorInPercentage","externalStatus","storageDomainStatus","storage","storageFormat","storageDomainType","dataCenters"}) public OlvmStorageDomainProperties(String storageDomainName, String storageDomainDescription, String comment, Long availableSpaceInBytes, Long usedSpaceInBytes, Long committedSpaceInBytes, Long blockSizeInBytes, Boolean isBackup, Boolean isPrimary, Boolean isImport, Boolean isDiscardAfterDelete, Boolean isSupportDiscard, Boolean isSupportDiscardZeroesData, Boolean isWipeAfterDelete, Integer criticalSpaceActionBlockerInGBs, Integer warningLowSpaceIndicatorInPercentage, OlvmStorageDomainProperties.ExternalStatus externalStatus, OlvmStorageDomainProperties.StorageDomainStatus storageDomainStatus, Storage storage, OlvmStorageDomainProperties.StorageFormat storageFormat, OlvmStorageDomainProperties.StorageDomainType storageDomainType, List<OlvmDataCenter> dataCenters)
Deprecated.
-
-
Method Detail
-
builder
public static OlvmStorageDomainProperties.Builder builder()
Create a new builder.
-
toBuilder
public OlvmStorageDomainProperties.Builder toBuilder()
-
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
-
getExternalStatus
public OlvmStorageDomainProperties.ExternalStatus getExternalStatus()
Status of storage domain.- Returns:
- the value
-
getStorageDomainStatus
public OlvmStorageDomainProperties.StorageDomainStatus getStorageDomainStatus()
Status of storage domain.- Returns:
- the value
-
getStorage
public Storage getStorage()
-
getStorageFormat
public OlvmStorageDomainProperties.StorageFormat getStorageFormat()
Type which represents a format of storage domain.- Returns:
- the value
-
getStorageDomainType
public OlvmStorageDomainProperties.StorageDomainType getStorageDomainType()
Indicates the kind of data managed by a storage domain.- Returns:
- the value
-
getDataCenters
public List<OlvmDataCenter> getDataCenters()
List of data centers where storage domain belongs- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin 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:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-