Class MountTarget.Builder
- java.lang.Object
-
- com.oracle.bmc.filestorage.model.MountTarget.Builder
-
- Enclosing class:
- MountTarget
public static class MountTarget.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MountTarget.BuilderavailabilityDomain(String availabilityDomain)The availability domain the mount target is in.MountTargetbuild()MountTarget.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the mount target.MountTarget.Buildercopy(MountTarget model)MountTarget.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.MountTarget.BuilderdisplayName(String displayName)A user-friendly name.MountTarget.BuilderexportSetId(String exportSetId)The OCID of the associated export set.MountTarget.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.MountTarget.Builderid(String id)The OCID of the mount target.MountTarget.BuilderidmapType(MountTarget.IdmapType idmapType)The method used to map a Unix UID to secondary groups.MountTarget.Builderkerberos(Kerberos kerberos)MountTarget.BuilderldapIdmap(LdapIdmap ldapIdmap)MountTarget.BuilderlifecycleDetails(String lifecycleDetails)Additional information about the current ‘lifecycleState’.MountTarget.BuilderlifecycleState(MountTarget.LifecycleState lifecycleState)The current state of the mount target.MountTarget.Builderlocks(List<ResourceLock> locks)Locks associated with this resource.MountTarget.BuildernsgIds(List<String> nsgIds)A list of Network Security Group OCIDs associated with this mount target.MountTarget.BuilderobservedThroughput(Long observedThroughput)Current billed throughput for mount target in Gbps.MountTarget.BuilderprivateIpIds(List<String> privateIpIds)The OCIDs of the private IP addresses associated with this mount target.MountTarget.BuilderrequestedThroughput(Long requestedThroughput)- New throughput for mount target at the end of billing cycle in Gbps.
MountTarget.BuilderreservedStorageCapacity(Long reservedStorageCapacity)- Reserved capacity (GB) associated with this mount target.
MountTarget.BuildersubnetId(String subnetId)The OCID of the subnet the mount target is in.MountTarget.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.MountTarget.BuildertimeBillingCycleEnd(Date timeBillingCycleEnd)The date and time the mount target current billing cycle will end and next one starts, expressed in RFC 3339 timestamp format.MountTarget.BuildertimeCreated(Date timeCreated)The date and time the mount target was created, expressed in RFC 3339 timestamp format.
-
-
-
Method Detail
-
availabilityDomain
public MountTarget.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 MountTarget.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 MountTarget.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 MountTarget.Builder exportSetId(String exportSetId)
The OCID of the associated export set.Controls what file systems will be exported through Network File System (NFS) protocol on this mount target.
- Parameters:
exportSetId- the value to set- Returns:
- this builder
-
id
public MountTarget.Builder id(String id)
The OCID of the mount target.- Parameters:
id- the value to set- Returns:
- this builder
-
lifecycleDetails
public MountTarget.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current ‘lifecycleState’.- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
lifecycleState
public MountTarget.Builder lifecycleState(MountTarget.LifecycleState lifecycleState)
The current state of the mount target.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
privateIpIds
public MountTarget.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 MountTarget.Builder subnetId(String subnetId)
The OCID of the subnet the mount target is in.- Parameters:
subnetId- the value to set- Returns:
- this builder
-
idmapType
public MountTarget.Builder idmapType(MountTarget.IdmapType idmapType)
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.
- Parameters:
idmapType- the value to set- Returns:
- this builder
-
ldapIdmap
public MountTarget.Builder ldapIdmap(LdapIdmap ldapIdmap)
-
nsgIds
public MountTarget.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
-
kerberos
public MountTarget.Builder kerberos(Kerberos kerberos)
-
timeBillingCycleEnd
public MountTarget.Builder timeBillingCycleEnd(Date timeBillingCycleEnd)
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
- Parameters:
timeBillingCycleEnd- the value to set- Returns:
- this builder
-
observedThroughput
public MountTarget.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 MountTarget.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 MountTarget.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 MountTarget.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 MountTarget.Builder locks(List<ResourceLock> locks)
Locks associated with this resource.- Parameters:
locks- the value to set- Returns:
- this builder
-
freeformTags
public MountTarget.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 MountTarget.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 MountTarget.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 MountTarget build()
-
copy
public MountTarget.Builder copy(MountTarget model)
-
-