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.ExplicitlySetBmcModelSummary 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 classMountTargetSummary.Builderstatic classMountTargetSummary.LifecycleStateThe 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.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetAvailabilityDomain()The availability domain the mount target is in.StringgetCompartmentId()The OCID of the compartment that contains the mount target.Map<String,Map<String,Object>>getDefinedTags()Defined tags for this resource.StringgetDisplayName()A user-friendly name.StringgetExportSetId()The OCID of the associated export set.Map<String,String>getFreeformTags()Free-form tags for this resource.StringgetId()The OCID of the mount target.MountTargetSummary.LifecycleStategetLifecycleState()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.LonggetObservedThroughput()Current billed throughput for mount target in Gbps.List<String>getPrivateIpIds()The OCIDs of the private IP addresses associated with this mount target.LonggetRequestedThroughput()- New throughput for mount target at the end of billing cycle in Gbps.
LonggetReservedStorageCapacity()- Reserved capacity (GB) associated with this mount target.
StringgetSubnetId()The OCID of the subnet the mount target is in.Map<String,Map<String,Object>>getSystemTags()System tags for this resource.DategetTimeBillingCycleEnd()The date and time the mount target current billing cycle will end, expressed in RFC 3339 timestamp format.DategetTimeCreated()The date and time the mount target was created, expressed in RFC 3339 timestamp format.inthashCode()MountTargetSummary.BuildertoBuilder()StringtoString()StringtoString(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:
toStringin 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:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-