Class MountTargetSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.filestorage.model.MountTargetSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20171215") public final class MountTargetSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Summary information for the specified mount target.
Note: Objects should always be created or deserialized using theMountTargetSummary.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 theMountTargetSummary.Builder
, which maintain a set of all explicitly set fields calledMountTargetSummary.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
MountTargetSummary.Builder
static class
MountTargetSummary.LifecycleState
The current state of the mount target.
-
Constructor Summary
Constructors Constructor Description MountTargetSummary(String availabilityDomain, String compartmentId, String displayName, String exportSetId, String id, MountTargetSummary.LifecycleState lifecycleState, List<String> privateIpIds, String subnetId, List<String> nsgIds, 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 MountTargetSummary.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.MountTargetSummary.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, 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()
MountTargetSummary.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
MountTargetSummary
@Deprecated @ConstructorProperties({"availabilityDomain","compartmentId","displayName","exportSetId","id","lifecycleState","privateIpIds","subnetId","nsgIds","timeBillingCycleEnd","observedThroughput","requestedThroughput","reservedStorageCapacity","timeCreated","locks","freeformTags","definedTags","systemTags"}) public MountTargetSummary(String availabilityDomain, String compartmentId, String displayName, String exportSetId, String id, MountTargetSummary.LifecycleState lifecycleState, List<String> privateIpIds, String subnetId, List<String> nsgIds, 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 MountTargetSummary.Builder builder()
Create a new builder.
-
toBuilder
public MountTargetSummary.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 using Network File System (NFS) protocol on this mount target.
- Returns:
- the value
-
getLifecycleState
public MountTargetSummary.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
-
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
-
getTimeBillingCycleEnd
public Date getTimeBillingCycleEnd()
The date and time the mount target current billing cycle will end, expressed in RFC 3339 timestamp format.Once a cycle ends, it is updated automatically to next timestamp which is after 30 days.
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
-
-