Class OlvmDataCenter
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.cloudmigrations.model.OlvmDataCenter
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20220919") public final class OlvmDataCenter extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelAn OLVM Data Center.
Note: Objects should always be created or deserialized using theOlvmDataCenter.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 theOlvmDataCenter.Builder, which maintain a set of all explicitly set fields calledOlvmDataCenter.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 classOlvmDataCenter.Builderstatic classOlvmDataCenter.DataCenterStatusThe status of data centerstatic classOlvmDataCenter.QuotaModeTypeThe type of quota modestatic classOlvmDataCenter.StorageFormatType which represents a format of storage domain
-
Constructor Summary
Constructors Constructor Description OlvmDataCenter(String comment, String description, String id, String name, Boolean isLocal, OlvmDataCenter.QuotaModeType quotaModeType, OlvmDataCenter.DataCenterStatus dataCenterStatus, OlvmDataCenter.StorageFormat storageFormat, List<OlvmVersion> supportedVersions, OlvmVersion version)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OlvmDataCenter.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetComment()Free text containing comments about this object.OlvmDataCenter.DataCenterStatusgetDataCenterStatus()The status of data centerStringgetDescription()A human-readable description in plain text.StringgetId()A unique identifier.BooleangetIsLocal()Whether the data center is local.StringgetName()A human-readable name in plain text.OlvmDataCenter.QuotaModeTypegetQuotaModeType()The type of quota modeOlvmDataCenter.StorageFormatgetStorageFormat()Type which represents a format of storage domainList<OlvmVersion>getSupportedVersions()List of supported versions.OlvmVersiongetVersion()inthashCode()OlvmDataCenter.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
OlvmDataCenter
@Deprecated @ConstructorProperties({"comment","description","id","name","isLocal","quotaModeType","dataCenterStatus","storageFormat","supportedVersions","version"}) public OlvmDataCenter(String comment, String description, String id, String name, Boolean isLocal, OlvmDataCenter.QuotaModeType quotaModeType, OlvmDataCenter.DataCenterStatus dataCenterStatus, OlvmDataCenter.StorageFormat storageFormat, List<OlvmVersion> supportedVersions, OlvmVersion version)
Deprecated.
-
-
Method Detail
-
builder
public static OlvmDataCenter.Builder builder()
Create a new builder.
-
toBuilder
public OlvmDataCenter.Builder toBuilder()
-
getComment
public String getComment()
Free text containing comments about this object.- Returns:
- the value
-
getDescription
public String getDescription()
A human-readable description in plain text.- Returns:
- the value
-
getId
public String getId()
A unique identifier.- Returns:
- the value
-
getName
public String getName()
A human-readable name in plain text.- Returns:
- the value
-
getIsLocal
public Boolean getIsLocal()
Whether the data center is local.- Returns:
- the value
-
getQuotaModeType
public OlvmDataCenter.QuotaModeType getQuotaModeType()
The type of quota mode- Returns:
- the value
-
getDataCenterStatus
public OlvmDataCenter.DataCenterStatus getDataCenterStatus()
The status of data center- Returns:
- the value
-
getStorageFormat
public OlvmDataCenter.StorageFormat getStorageFormat()
Type which represents a format of storage domain- Returns:
- the value
-
getSupportedVersions
public List<OlvmVersion> getSupportedVersions()
List of supported versions.- Returns:
- the value
-
getVersion
public OlvmVersion getVersion()
-
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
-
-