Class MountTarget
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.filestorage.model.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 theMountTarget.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 theMountTarget.Builder
, which maintain a set of all explicitly set fields calledMountTarget.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 class
MountTarget.Builder
static class
MountTarget.IdmapType
The method used to map a Unix UID to secondary groups.static class
MountTarget.LifecycleState
The current state of the mount target.
-
Constructor Summary
Constructors Constructor Description MountTarget(String availabilityDomain, String compartmentId, String displayName, String exportSetId, String id, String lifecycleDetails, MountTarget.LifecycleState lifecycleState, List<String> privateIpIds, String subnetId, MountTarget.IdmapType idmapType, LdapIdmap ldapIdmap, List<String> nsgIds, Kerberos kerberos, Date timeBillingCycleEnd, Long observedThroughput, Long requestedThroughput, Long reservedStorageCapacity, Date timeCreated, List<ResourceLock> locks, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MountTarget.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getAvailabilityDomain()
The availability domain the mount target is in.String
getCompartmentId()
The OCID of the compartment that contains the mount target.Map<String,Map<String,Object>>
getDefinedTags()
Defined tags for this resource.String
getDisplayName()
A user-friendly name.String
getExportSetId()
The OCID of the associated export set.Map<String,String>
getFreeformTags()
Free-form tags for this resource.String
getId()
The OCID of the mount target.MountTarget.IdmapType
getIdmapType()
The method used to map a Unix UID to secondary groups.Kerberos
getKerberos()
LdapIdmap
getLdapIdmap()
String
getLifecycleDetails()
Additional information about the current ‘lifecycleState’.MountTarget.LifecycleState
getLifecycleState()
The current state of the mount target.List<ResourceLock>
getLocks()
Locks associated with this resource.List<String>
getNsgIds()
A list of Network Security Group OCIDs associated with this mount target.Long
getObservedThroughput()
Current billed throughput for mount target in Gbps.List<String>
getPrivateIpIds()
The OCIDs of the private IP addresses associated with this mount target.Long
getRequestedThroughput()
- New throughput for mount target at the end of billing cycle in Gbps.
Long
getReservedStorageCapacity()
- Reserved capacity (GB) associated with this mount target.
String
getSubnetId()
The OCID of the subnet the mount target is in.Map<String,Map<String,Object>>
getSystemTags()
System tags for this resource.Date
getTimeBillingCycleEnd()
The date and time the mount target current billing cycle will end and next one starts, expressed in RFC 3339 timestamp format.Date
getTimeCreated()
The date and time the mount target was created, expressed in RFC 3339 timestamp format.int
hashCode()
MountTarget.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
MountTarget
@Deprecated @ConstructorProperties({"availabilityDomain","compartmentId","displayName","exportSetId","id","lifecycleDetails","lifecycleState","privateIpIds","subnetId","idmapType","ldapIdmap","nsgIds","kerberos","timeBillingCycleEnd","observedThroughput","requestedThroughput","reservedStorageCapacity","timeCreated","locks","freeformTags","definedTags","systemTags"}) public MountTarget(String availabilityDomain, String compartmentId, String displayName, String exportSetId, String id, String lifecycleDetails, MountTarget.LifecycleState lifecycleState, List<String> privateIpIds, String subnetId, MountTarget.IdmapType idmapType, LdapIdmap ldapIdmap, List<String> nsgIds, Kerberos kerberos, Date timeBillingCycleEnd, Long observedThroughput, Long requestedThroughput, Long reservedStorageCapacity, Date timeCreated, List<ResourceLock> locks, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags)
Deprecated.
-
-
Method Detail
-
builder
public static MountTarget.Builder builder()
Create a new builder.
-
toBuilder
public MountTarget.Builder toBuilder()
-
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
-
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 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:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-