Class MountTarget


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20171215")
    public final class MountTarget
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    Provides access to a collection of file systems through one or more VNICs on a specified subnet.

    The set of file systems is controlled through the referenced export set.
    Note: Objects should always be created or deserialized using the MountTarget.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 MountTarget.Builder, which maintain a set of all explicitly set fields called MountTarget.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

      • getAvailabilityDomain

        public String getAvailabilityDomain()
        The availability domain the mount target is in.

        May be unset as a blank or NULL value.

        Example: Uocm:PHX-AD-1

        Returns:
        the value
      • getCompartmentId

        public String getCompartmentId()
        The OCID of the compartment that contains the mount target.
        Returns:
        the value
      • getDisplayName

        public String getDisplayName()
        A user-friendly name.

        It does not have to be unique, and it is changeable. Avoid entering confidential information.

        Example: My mount target

        Returns:
        the value
      • getExportSetId

        public String getExportSetId()
        The OCID of the associated export set.

        Controls what file systems will be exported through Network File System (NFS) protocol on this mount target.

        Returns:
        the value
      • getId

        public String getId()
        The OCID of the mount target.
        Returns:
        the value
      • getLifecycleDetails

        public String getLifecycleDetails()
        Additional information about the current ‘lifecycleState’.
        Returns:
        the value
      • getLifecycleState

        public MountTarget.LifecycleState getLifecycleState()
        The current state of the mount target.
        Returns:
        the value
      • getPrivateIpIds

        public List<String> getPrivateIpIds()
        The OCIDs of the private IP addresses associated with this mount target.
        Returns:
        the value
      • getSubnetId

        public String getSubnetId()
        The OCID of the subnet the mount target is in.
        Returns:
        the value
      • getIdmapType

        public MountTarget.IdmapType getIdmapType()
        The method used to map a Unix UID to secondary groups.

        If NONE, the mount target will not use the Unix UID for ID mapping.

        Returns:
        the value
      • getLdapIdmap

        public LdapIdmap getLdapIdmap()
      • getNsgIds

        public List<String> getNsgIds()
        A list of Network Security Group OCIDs associated with this mount target.

        A maximum of 5 is allowed. Setting this to an empty array after the list is created removes the mount target from all NSGs. For more information about NSGs, see Security Rules.

        Returns:
        the value
      • getKerberos

        public Kerberos getKerberos()
      • getTimeBillingCycleEnd

        public Date getTimeBillingCycleEnd()
        The date and time the mount target current billing cycle will end and next one starts, expressed in RFC 3339 timestamp format.

        Example: 2016-08-25T21:10:29.600Z

        Returns:
        the value
      • getObservedThroughput

        public Long getObservedThroughput()
        Current billed throughput for mount target in Gbps.

        This corresponds to shape of mount target. Available shapes and corresponding throughput are listed at Mount Target Performance.

        Returns:
        the value
      • getRequestedThroughput

        public Long getRequestedThroughput()
        • New throughput for mount target at the end of billing cycle in Gbps.
        Returns:
        the value
      • getReservedStorageCapacity

        public Long getReservedStorageCapacity()
        • Reserved capacity (GB) associated with this mount target.

        Reserved capacity depends on observedThroughput value of mount target. Value is listed at Mount Target Performance.

        Returns:
        the value
      • getTimeCreated

        public Date getTimeCreated()
        The date and time the mount target was created, expressed in RFC 3339 timestamp format.

        Example: 2016-08-25T21:10:29.600Z

        Returns:
        the value
      • getLocks

        public List<ResourceLock> getLocks()
        Locks associated with this resource.
        Returns:
        the value
      • getFreeformTags

        public Map<String,​String> getFreeformTags()
        Free-form tags for this resource.

        Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”}

        Returns:
        the value
      • getDefinedTags

        public Map<String,​Map<String,​Object>> getDefinedTags()
        Defined tags for this resource.

        Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}

        Returns:
        the value
      • getSystemTags

        public Map<String,​Map<String,​Object>> getSystemTags()
        System tags for this resource.

        System tags are applied to resources by internal OCI services.

        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