Class MountTargetSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.filestorage.model.MountTargetSummary.Builder
-
- Enclosing class:
- MountTargetSummary
public static class MountTargetSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MountTargetSummary.BuilderavailabilityDomain(String availabilityDomain)The availability domain the mount target is in.MountTargetSummarybuild()MountTargetSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the mount target.MountTargetSummary.Buildercopy(MountTargetSummary model)MountTargetSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.MountTargetSummary.BuilderdisplayName(String displayName)A user-friendly name.MountTargetSummary.BuilderexportSetId(String exportSetId)The OCID of the associated export set.MountTargetSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.MountTargetSummary.Builderid(String id)The OCID of the mount target.MountTargetSummary.BuilderlifecycleState(MountTargetSummary.LifecycleState lifecycleState)The current state of the mount target.MountTargetSummary.Builderlocks(List<ResourceLock> locks)Locks associated with this resource.MountTargetSummary.BuildernsgIds(List<String> nsgIds)A list of Network Security Group OCIDs associated with this mount target.MountTargetSummary.BuilderobservedThroughput(Long observedThroughput)Current billed throughput for mount target in Gbps.MountTargetSummary.BuilderprivateIpIds(List<String> privateIpIds)The OCIDs of the private IP addresses associated with this mount target.MountTargetSummary.BuilderrequestedThroughput(Long requestedThroughput)- New throughput for mount target at the end of billing cycle in Gbps.
MountTargetSummary.BuilderreservedStorageCapacity(Long reservedStorageCapacity)- Reserved capacity (GB) associated with this mount target.
MountTargetSummary.BuildersubnetId(String subnetId)The OCID of the subnet the mount target is in.MountTargetSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.MountTargetSummary.BuildertimeBillingCycleEnd(Date timeBillingCycleEnd)The date and time the mount target current billing cycle will end, expressed in RFC 3339 timestamp format.MountTargetSummary.BuildertimeCreated(Date timeCreated)The date and time the mount target was created, expressed in RFC 3339 timestamp format.
-
-
-
Method Detail
-
availabilityDomain
public MountTargetSummary.Builder availabilityDomain(String availabilityDomain)
The availability domain the mount target is in.May be unset as a blank or NULL value.
Example: Uocm:PHX-AD-1
- Parameters:
availabilityDomain- the value to set- Returns:
- this builder
-
compartmentId
public MountTargetSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the mount target.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
displayName
public MountTargetSummary.Builder displayName(String displayName)
A user-friendly name.It does not have to be unique, and it is changeable. Avoid entering confidential information.
Example: My mount target
- Parameters:
displayName- the value to set- Returns:
- this builder
-
exportSetId
public MountTargetSummary.Builder exportSetId(String exportSetId)
The OCID of the associated export set.Controls what file systems will be exported using Network File System (NFS) protocol on this mount target.
- Parameters:
exportSetId- the value to set- Returns:
- this builder
-
id
public MountTargetSummary.Builder id(String id)
The OCID of the mount target.- Parameters:
id- the value to set- Returns:
- this builder
-
lifecycleState
public MountTargetSummary.Builder lifecycleState(MountTargetSummary.LifecycleState lifecycleState)
The current state of the mount target.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
privateIpIds
public MountTargetSummary.Builder privateIpIds(List<String> privateIpIds)
The OCIDs of the private IP addresses associated with this mount target.- Parameters:
privateIpIds- the value to set- Returns:
- this builder
-
subnetId
public MountTargetSummary.Builder subnetId(String subnetId)
The OCID of the subnet the mount target is in.- Parameters:
subnetId- the value to set- Returns:
- this builder
-
nsgIds
public MountTargetSummary.Builder nsgIds(List<String> nsgIds)
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.
- Parameters:
nsgIds- the value to set- Returns:
- this builder
-
timeBillingCycleEnd
public MountTargetSummary.Builder timeBillingCycleEnd(Date timeBillingCycleEnd)
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
- Parameters:
timeBillingCycleEnd- the value to set- Returns:
- this builder
-
observedThroughput
public MountTargetSummary.Builder observedThroughput(Long observedThroughput)
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.
- Parameters:
observedThroughput- the value to set- Returns:
- this builder
-
requestedThroughput
public MountTargetSummary.Builder requestedThroughput(Long requestedThroughput)
- New throughput for mount target at the end of billing cycle in Gbps.
- Parameters:
requestedThroughput- the value to set- Returns:
- this builder
-
reservedStorageCapacity
public MountTargetSummary.Builder reservedStorageCapacity(Long reservedStorageCapacity)
- Reserved capacity (GB) associated with this mount target.
Reserved capacity depends on observedThroughput value of mount target. Value is listed at Mount Target Performance.
- Parameters:
reservedStorageCapacity- the value to set- Returns:
- this builder
-
timeCreated
public MountTargetSummary.Builder timeCreated(Date timeCreated)
The date and time the mount target was created, expressed in RFC 3339 timestamp format.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
locks
public MountTargetSummary.Builder locks(List<ResourceLock> locks)
Locks associated with this resource.- Parameters:
locks- the value to set- Returns:
- this builder
-
freeformTags
public MountTargetSummary.Builder freeformTags(Map<String,String> freeformTags)
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”}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public MountTargetSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
systemTags
public MountTargetSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.System tags are applied to resources by internal OCI services.
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
build
public MountTargetSummary build()
-
copy
public MountTargetSummary.Builder copy(MountTargetSummary model)
-
-