Class Storage


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20220919")
    public final class Storage
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    Host storage information
    Note: Objects should always be created or deserialized using the Storage.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 called Storage.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

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