Class MountTarget.Builder
- java.lang.Object
- 
- com.oracle.bmc.filestorage.model.MountTarget.Builder
 
- 
- Enclosing class:
- MountTarget
 
 public static class MountTarget.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll 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.BuildersecurityAttributes(Map<String,Map<String,Object>> securityAttributes)Security attributes are labels for a resource that can be referenced in a Zero Trust Packet Routing (ZPR) policy to control access to ZPR-supported resources.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- 
availabilityDomainpublic 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
 
 - 
compartmentIdpublic MountTarget.Builder compartmentId(String compartmentId) The OCID of the compartment that contains the mount target.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic 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
 
 - 
exportSetIdpublic 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
 
 - 
idpublic MountTarget.Builder id(String id) The OCID of the mount target.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic MountTarget.Builder lifecycleDetails(String lifecycleDetails) Additional information about the current ‘lifecycleState’.- Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic MountTarget.Builder lifecycleState(MountTarget.LifecycleState lifecycleState) The current state of the mount target.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
privateIpIdspublic 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
 
 - 
subnetIdpublic MountTarget.Builder subnetId(String subnetId) The OCID of the subnet the mount target is in.- Parameters:
- subnetId- the value to set
- Returns:
- this builder
 
 - 
idmapTypepublic 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
 
 - 
ldapIdmappublic MountTarget.Builder ldapIdmap(LdapIdmap ldapIdmap) 
 - 
nsgIdspublic 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
 
 - 
kerberospublic MountTarget.Builder kerberos(Kerberos kerberos) 
 - 
timeBillingCycleEndpublic 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
 
 - 
observedThroughputpublic 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
 
 - 
requestedThroughputpublic 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
 
 - 
reservedStorageCapacitypublic 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
 
 - 
timeCreatedpublic 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
 
 - 
lockspublic MountTarget.Builder locks(List<ResourceLock> locks) Locks associated with this resource.- Parameters:
- locks- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic 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
 
 - 
definedTagspublic 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
 
 - 
systemTagspublic 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
 
 - 
securityAttributespublic MountTarget.Builder securityAttributes(Map<String,Map<String,Object>> securityAttributes) Security attributes are labels for a resource that can be referenced in a Zero Trust Packet Routing (ZPR) policy to control access to ZPR-supported resources.Example: {"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "enforce"}}} - Parameters:
- securityAttributes- the value to set
- Returns:
- this builder
 
 - 
buildpublic MountTarget build() 
 - 
copypublic MountTarget.Builder copy(MountTarget model) 
 
- 
 
-