Class LogicalUnit


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

      • 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
      • 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:
        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