@Generated(value="OracleSDKGenerator", comments="API Version: 20171215") public final class MountTarget extends Object
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.
Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
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
__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
__explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
MountTarget.Builder |
static class |
MountTarget.LifecycleState
The current state of the mount target.
|
Constructor and Description |
---|
MountTarget(String availabilityDomain,
String compartmentId,
String displayName,
String exportSetId,
String id,
String lifecycleDetails,
MountTarget.LifecycleState lifecycleState,
List<String> privateIpIds,
String subnetId,
List<String> nsgIds,
Date timeCreated,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static MountTarget.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
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.
|
String |
getLifecycleDetails()
Additional information about the current ‘lifecycleState’.
|
MountTarget.LifecycleState |
getLifecycleState()
The current state of the mount target.
|
List<String> |
getNsgIds()
A list of Network Security Group OCIDs associated with this mount target.
|
List<String> |
getPrivateIpIds()
The OCIDs of the private IP addresses associated with this mount target.
|
String |
getSubnetId()
The OCID of the subnet the mount target is in.
|
Date |
getTimeCreated()
The date and time the mount target was created, expressed
in RFC 3339 timestamp format.
|
int |
hashCode() |
MountTarget.Builder |
toBuilder() |
String |
toString() |
@Deprecated @ConstructorProperties(value={"availabilityDomain","compartmentId","displayName","exportSetId","id","lifecycleDetails","lifecycleState","privateIpIds","subnetId","nsgIds","timeCreated","freeformTags","definedTags"}) public MountTarget(String availabilityDomain, String compartmentId, String displayName, String exportSetId, String id, String lifecycleDetails, MountTarget.LifecycleState lifecycleState, List<String> privateIpIds, String subnetId, List<String> nsgIds, Date timeCreated, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags)
public static MountTarget.Builder builder()
Create a new builder.
public MountTarget.Builder toBuilder()
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
public String getCompartmentId()
The OCID of the compartment that contains the mount target.
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
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.
public String getLifecycleDetails()
Additional information about the current ‘lifecycleState’.
public MountTarget.LifecycleState getLifecycleState()
The current state of the mount target.
public List<String> getPrivateIpIds()
The OCIDs of the private IP addresses associated with this mount target.
public String getSubnetId()
The OCID of the subnet the mount target is in.
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.
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
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"}
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"}}
Copyright © 2016–2022. All rights reserved.