public static class MountTarget.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MountTarget.Builder |
availabilityDomain(String availabilityDomain)
The availability domain the mount target is in.
|
MountTarget |
build() |
MountTarget.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment that contains the mount target.
|
MountTarget.Builder |
copy(MountTarget model) |
MountTarget.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
MountTarget.Builder |
displayName(String displayName)
A user-friendly name.
|
MountTarget.Builder |
exportSetId(String exportSetId)
The OCID of the
associated export set.
|
MountTarget.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
MountTarget.Builder |
id(String id)
The OCID of the
mount target.
|
MountTarget.Builder |
idmapType(MountTarget.IdmapType idmapType)
The method used to map a Unix UID to secondary groups.
|
MountTarget.Builder |
kerberos(Kerberos kerberos) |
MountTarget.Builder |
ldapIdmap(LdapIdmap ldapIdmap) |
MountTarget.Builder |
lifecycleDetails(String lifecycleDetails)
Additional information about the current ‘lifecycleState’.
|
MountTarget.Builder |
lifecycleState(MountTarget.LifecycleState lifecycleState)
The current state of the mount target.
|
MountTarget.Builder |
locks(List<ResourceLock> locks)
Locks associated with this resource.
|
MountTarget.Builder |
nsgIds(List<String> nsgIds)
A list of Network Security Group
OCIDs
associated with this mount target.
|
MountTarget.Builder |
observedThroughput(Long observedThroughput)
Current billed throughput for mount target in Gbps.
|
MountTarget.Builder |
privateIpIds(List<String> privateIpIds)
The OCIDs of the private IP addresses associated with this mount target.
|
MountTarget.Builder |
requestedThroughput(Long requestedThroughput)
New throughput for mount target at the end of billing cycle in Gbps.
|
MountTarget.Builder |
reservedStorageCapacity(Long reservedStorageCapacity)
Reserved capacity (GB) associated with this mount target.
|
MountTarget.Builder |
subnetId(String subnetId)
The OCID of the
subnet the mount target is in.
|
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.
|
MountTarget.Builder |
timeCreated(Date timeCreated)
The date and time the mount target was created, expressed in RFC
3339 timestamp format.
|
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
availabilityDomain
- the value to setpublic MountTarget.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the mount target.
compartmentId
- the value to setpublic 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
displayName
- the value to setpublic 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.
exportSetId
- the value to setpublic MountTarget.Builder id(String id)
The OCID of the mount target.
id
- the value to setpublic MountTarget.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current ‘lifecycleState’.
lifecycleDetails
- the value to setpublic MountTarget.Builder lifecycleState(MountTarget.LifecycleState lifecycleState)
The current state of the mount target.
lifecycleState
- the value to setpublic MountTarget.Builder privateIpIds(List<String> privateIpIds)
The OCIDs of the private IP addresses associated with this mount target.
privateIpIds
- the value to setpublic MountTarget.Builder subnetId(String subnetId)
The OCID of the subnet the mount target is in.
subnetId
- the value to setpublic 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.
idmapType
- the value to setpublic MountTarget.Builder ldapIdmap(LdapIdmap ldapIdmap)
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.
nsgIds
- the value to setpublic MountTarget.Builder kerberos(Kerberos kerberos)
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
timeBillingCycleEnd
- the value to setpublic 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.
observedThroughput
- the value to setpublic MountTarget.Builder requestedThroughput(Long requestedThroughput)
requestedThroughput
- the value to setpublic MountTarget.Builder reservedStorageCapacity(Long reservedStorageCapacity)
reservedStorageCapacity
- the value to setpublic 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
timeCreated
- the value to setpublic MountTarget.Builder locks(List<ResourceLock> locks)
Locks associated with this resource.
locks
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic MountTarget build()
public MountTarget.Builder copy(MountTarget model)
Copyright © 2016–2024. All rights reserved.