Class Storage
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.cloudmigrations.model.Storage
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20220919") public final class Storage extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelHost storage information
Note: Objects should always be created or deserialized using theStorage.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
Storage.Builder, which maintain a set of all explicitly set fields calledStorage.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 classStorage.Builderstatic classStorage.NfsVersionVersion of NFS used.static classStorage.TypeType representing a storage domain type.
-
Constructor Summary
Constructors Constructor Description Storage(String id, String address, String comment, String storageDescription, List<OlvmProperty> driverOptions, List<OlvmProperty> driverSensitiveOptions, List<LogicalUnit> logicalUnits, String mountOptions, Integer nfsRetrans, Integer nfsTimeo, Storage.NfsVersion nfsVersion, Boolean isOverrideLuns, String password, Integer paths, Integer port, String portal, String target, String username, Storage.Type type, String vfsType, VolumeGroup volumeGroup)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Storage.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetAddress()Address of storage domain.StringgetComment()Free text containing comments about this object.List<OlvmProperty>getDriverOptions()The options to be passed when creating a storage domain using a cinder driver.List<OlvmProperty>getDriverSensitiveOptions()The options containing sensitive information to be passed when creating a storage domain using a cinder driver.StringgetId()A unique identifier.BooleangetIsOverrideLuns()Whether to override LUNsList<LogicalUnit>getLogicalUnits()Logical Units of the host storageStringgetMountOptions()Mount optionsIntegergetNfsRetrans()The number of times to retry a request before attempting further recovery actions.IntegergetNfsTimeo()The time in tenths of a second to wait for a response before retrying NFS requests.Storage.NfsVersiongetNfsVersion()Version of NFS used.StringgetPassword()Password of the host storage.IntegergetPaths()Paths of the host storage.IntegergetPort()Port of the host storage.StringgetPortal()Portal of the host storage.StringgetStorageDescription()A human-readable description in plain text.StringgetTarget()Target of the host storage.Storage.TypegetType()Type representing a storage domain type.StringgetUsername()Username of the host storage.StringgetVfsType()Type of VFSVolumeGroupgetVolumeGroup()inthashCode()Storage.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
Storage
@Deprecated @ConstructorProperties({"id","address","comment","storageDescription","driverOptions","driverSensitiveOptions","logicalUnits","mountOptions","nfsRetrans","nfsTimeo","nfsVersion","isOverrideLuns","password","paths","port","portal","target","username","type","vfsType","volumeGroup"}) public Storage(String id, String address, String comment, String storageDescription, List<OlvmProperty> driverOptions, List<OlvmProperty> driverSensitiveOptions, List<LogicalUnit> logicalUnits, String mountOptions, Integer nfsRetrans, Integer nfsTimeo, Storage.NfsVersion nfsVersion, Boolean isOverrideLuns, String password, Integer paths, Integer port, String portal, String target, String username, Storage.Type type, String vfsType, VolumeGroup volumeGroup)
Deprecated.
-
-
Method Detail
-
builder
public static Storage.Builder builder()
Create a new builder.
-
toBuilder
public Storage.Builder toBuilder()
-
getId
public String getId()
A unique identifier.- Returns:
- the value
-
getAddress
public String getAddress()
Address of storage domain.- Returns:
- the value
-
getComment
public String getComment()
Free text containing comments about this object.- Returns:
- the value
-
getStorageDescription
public String getStorageDescription()
A human-readable description in plain text.- Returns:
- the value
-
getDriverOptions
public List<OlvmProperty> getDriverOptions()
The options to be passed when creating a storage domain using a cinder driver.- Returns:
- the value
-
getDriverSensitiveOptions
public List<OlvmProperty> getDriverSensitiveOptions()
The options containing sensitive information to be passed when creating a storage domain using a cinder driver.- Returns:
- the value
-
getLogicalUnits
public List<LogicalUnit> getLogicalUnits()
Logical Units of the host storage- Returns:
- the value
-
getMountOptions
public String getMountOptions()
Mount options- Returns:
- the value
-
getNfsRetrans
public Integer getNfsRetrans()
The number of times to retry a request before attempting further recovery actions.- Returns:
- the value
-
getNfsTimeo
public Integer getNfsTimeo()
The time in tenths of a second to wait for a response before retrying NFS requests.- Returns:
- the value
-
getNfsVersion
public Storage.NfsVersion getNfsVersion()
Version of NFS used.- Returns:
- the value
-
getIsOverrideLuns
public Boolean getIsOverrideLuns()
Whether to override LUNs- Returns:
- the value
-
getPassword
public String getPassword()
Password of the host storage.- Returns:
- the value
-
getPaths
public Integer getPaths()
Paths of the host storage.- Returns:
- the value
-
getPort
public Integer getPort()
Port of the host storage.- Returns:
- the value
-
getPortal
public String getPortal()
Portal of the host storage.- Returns:
- the value
-
getTarget
public String getTarget()
Target of the host storage.- Returns:
- the value
-
getUsername
public String getUsername()
Username of the host storage.- Returns:
- the value
-
getType
public Storage.Type getType()
Type representing a storage domain type.- Returns:
- the value
-
getVfsType
public String getVfsType()
Type of VFS- Returns:
- the value
-
getVolumeGroup
public VolumeGroup getVolumeGroup()
-
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
-
-