Class CreateLustreFileSystemDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.lustrefilestorage.model.CreateLustreFileSystemDetails.Builder
-
- Enclosing class:
- CreateLustreFileSystemDetails
public static class CreateLustreFileSystemDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
compartmentId
public CreateLustreFileSystemDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the Lustre file system.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
availabilityDomain
public CreateLustreFileSystemDetails.Builder availabilityDomain(String availabilityDomain)
The availability domain the file system 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
-
displayName
public CreateLustreFileSystemDetails.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 Lustre file system
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
fileSystemDescription
public CreateLustreFileSystemDetails.Builder fileSystemDescription(String fileSystemDescription)
Short description of the Lustre file system.Avoid entering confidential information.
- Parameters:
fileSystemDescription
- the value to set- Returns:
- this builder
-
freeformTags
public CreateLustreFileSystemDetails.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 CreateLustreFileSystemDetails.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
-
nsgIds
public CreateLustreFileSystemDetails.Builder nsgIds(List<String> nsgIds)
A list of Network Security Group OCIDs associated with this lustre file system.A maximum of 5 is allowed. Setting this to an empty array after the list is created removes the lustre file system from all NSGs. For more information about NSGs, see Security Rules.
- Parameters:
nsgIds
- the value to set- Returns:
- this builder
-
fileSystemName
public CreateLustreFileSystemDetails.Builder fileSystemName(String fileSystemName)
The Lustre file system name.This is used in mount commands and other aspects of the client command line interface. The file system name is limited to 8 characters. Allowed characters are lower and upper case English letters, numbers, and ‘_’. If you have multiple Lustre file systems mounted on the same clients, this name can help distinguish them.
- Parameters:
fileSystemName
- the value to set- Returns:
- this builder
-
kmsKeyId
public CreateLustreFileSystemDetails.Builder kmsKeyId(String kmsKeyId)
The OCID of the KMS key used to encrypt the encryption keys associated with this file system.- Parameters:
kmsKeyId
- the value to set- Returns:
- this builder
-
capacityInGBs
public CreateLustreFileSystemDetails.Builder capacityInGBs(Integer capacityInGBs)
Capacity of the Lustre file system in GB.You can increase capacity only in multiples of 5 TB.
- Parameters:
capacityInGBs
- the value to set- Returns:
- this builder
-
subnetId
public CreateLustreFileSystemDetails.Builder subnetId(String subnetId)
The OCID of the subnet the Lustre file system is in.- Parameters:
subnetId
- the value to set- Returns:
- this builder
-
performanceTier
public CreateLustreFileSystemDetails.Builder performanceTier(CreateLustreFileSystemDetails.PerformanceTier performanceTier)
The Lustre file system performance tier.A value of MBPS_PER_TB_125 represents 125 megabytes per second per terabyte.
- Parameters:
performanceTier
- the value to set- Returns:
- this builder
-
clusterPlacementGroupId
public CreateLustreFileSystemDetails.Builder clusterPlacementGroupId(String clusterPlacementGroupId)
The OCID of the cluster placement group in which the Lustre file system exists.- Parameters:
clusterPlacementGroupId
- the value to set- Returns:
- this builder
-
rootSquashConfiguration
public CreateLustreFileSystemDetails.Builder rootSquashConfiguration(RootSquashConfiguration rootSquashConfiguration)
-
build
public CreateLustreFileSystemDetails build()
-
copy
public CreateLustreFileSystemDetails.Builder copy(CreateLustreFileSystemDetails model)
-
-