Class LogicalUnit
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.cloudmigrations.model.LogicalUnit
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20220919") public final class LogicalUnit extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelLogical unit of the host storage.
Note: Objects should always be created or deserialized using theLogicalUnit.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 theLogicalUnit.Builder, which maintain a set of all explicitly set fields calledLogicalUnit.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 classLogicalUnit.Builderstatic classLogicalUnit.LunStatusLUN Status
-
Constructor Summary
Constructors Constructor Description LogicalUnit(String address, Long discardMaxSizeInBytes, Boolean isDiscardZeroesData, String diskId, String id, Integer lunMapping, LogicalUnit.LunStatus lunStatus, String password, Integer paths, Integer port, String portal, String productId, String serial, Integer size, String storageDomainId, String target, String username, String vendorId, String volumeGroupId)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LogicalUnit.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetAddress()Address of the logical unit.LonggetDiscardMaxSizeInBytes()The maximum number of bytes that can be discarded by the logical unit???s underlying storage in a single operation.StringgetDiskId()Disk ID of the logical unit.StringgetId()a unique identifier.BooleangetIsDiscardZeroesData()True, if previously discarded blocks in the logical unit???s underlying storage are read back as zeros.IntegergetLunMapping()LUN MappingLogicalUnit.LunStatusgetLunStatus()LUN StatusStringgetPassword()Password of the logical unit.IntegergetPaths()Paths of the logical unit.IntegergetPort()Port of the logical unit.StringgetPortal()Portal of the logical unit.StringgetProductId()Product ID of the logical unit.StringgetSerial()Serial of the logical unit.IntegergetSize()Size of the logical unit.StringgetStorageDomainId()Storage Domain ID of the logical unit.StringgetTarget()Target of the logical unit.StringgetUsername()Username of the logical unit.StringgetVendorId()Vendor ID of the logical unit.StringgetVolumeGroupId()Volume Group ID of the logical unit.inthashCode()LogicalUnit.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
LogicalUnit
@Deprecated @ConstructorProperties({"address","discardMaxSizeInBytes","isDiscardZeroesData","diskId","id","lunMapping","lunStatus","password","paths","port","portal","productId","serial","size","storageDomainId","target","username","vendorId","volumeGroupId"}) public LogicalUnit(String address, Long discardMaxSizeInBytes, Boolean isDiscardZeroesData, String diskId, String id, Integer lunMapping, LogicalUnit.LunStatus lunStatus, String password, Integer paths, Integer port, String portal, String productId, String serial, Integer size, String storageDomainId, String target, String username, String vendorId, String volumeGroupId)
Deprecated.
-
-
Method Detail
-
builder
public static LogicalUnit.Builder builder()
Create a new builder.
-
toBuilder
public LogicalUnit.Builder toBuilder()
-
getAddress
public String getAddress()
Address of the logical unit.- Returns:
- the value
-
getDiscardMaxSizeInBytes
public Long getDiscardMaxSizeInBytes()
The maximum number of bytes that can be discarded by the logical unit???s underlying storage in a single operation.- Returns:
- the value
-
getIsDiscardZeroesData
public Boolean getIsDiscardZeroesData()
True, if previously discarded blocks in the logical unit???s underlying storage are read back as zeros.- Returns:
- the value
-
getDiskId
public String getDiskId()
Disk ID of the logical unit.- Returns:
- the value
-
getId
public String getId()
a unique identifier.- Returns:
- the value
-
getLunMapping
public Integer getLunMapping()
LUN Mapping- Returns:
- the value
-
getLunStatus
public LogicalUnit.LunStatus getLunStatus()
LUN Status- Returns:
- the value
-
getPassword
public String getPassword()
Password of the logical unit.- Returns:
- the value
-
getPaths
public Integer getPaths()
Paths of the logical unit.- Returns:
- the value
-
getPort
public Integer getPort()
Port of the logical unit.- Returns:
- the value
-
getPortal
public String getPortal()
Portal of the logical unit.- Returns:
- the value
-
getProductId
public String getProductId()
Product ID of the logical unit.- Returns:
- the value
-
getSerial
public String getSerial()
Serial of the logical unit.- Returns:
- the value
-
getSize
public Integer getSize()
Size of the logical unit.- Returns:
- the value
-
getStorageDomainId
public String getStorageDomainId()
Storage Domain ID of the logical unit.- Returns:
- the value
-
getTarget
public String getTarget()
Target of the logical unit.- Returns:
- the value
-
getUsername
public String getUsername()
Username of the logical unit.- Returns:
- the value
-
getVendorId
public String getVendorId()
Vendor ID of the logical unit.- Returns:
- the value
-
getVolumeGroupId
public String getVolumeGroupId()
Volume Group ID of the logical unit.- 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
-
-