Class LustreFileSystem.Builder
- java.lang.Object
-
- com.oracle.bmc.lustrefilestorage.model.LustreFileSystem.Builder
-
- Enclosing class:
- LustreFileSystem
public static class LustreFileSystem.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LustreFileSystem.Builder
availabilityDomain(String availabilityDomain)
The availability domain the file system is in.LustreFileSystem
build()
LustreFileSystem.Builder
capacityInGBs(Integer capacityInGBs)
Capacity of the Lustre file system in GB.LustreFileSystem.Builder
clusterPlacementGroupId(String clusterPlacementGroupId)
The OCID of the cluster placement group in which the Lustre file system exists.LustreFileSystem.Builder
compartmentId(String compartmentId)
The OCID of the compartment that contains the Lustre file system.LustreFileSystem.Builder
copy(LustreFileSystem model)
LustreFileSystem.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.LustreFileSystem.Builder
displayName(String displayName)
A user-friendly name.LustreFileSystem.Builder
fileSystemDescription(String fileSystemDescription)
Short description of the Lustre file system.LustreFileSystem.Builder
fileSystemName(String fileSystemName)
The Lustre file system name.LustreFileSystem.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.LustreFileSystem.Builder
id(String id)
The OCID of the Lustre file system.LustreFileSystem.Builder
kmsKeyId(String kmsKeyId)
The OCID of the KMS key used to encrypt the encryption keys associated with this file system.LustreFileSystem.Builder
lifecycleDetails(String lifecycleDetails)
A message that describes the current state of the Lustre file system in more detail.LustreFileSystem.Builder
lifecycleState(LustreFileSystem.LifecycleState lifecycleState)
The current state of the Lustre file system.LustreFileSystem.Builder
lnet(String lnet)
Type of network used by clients to mount the file system.LustreFileSystem.Builder
maintenanceWindow(MaintenanceWindow maintenanceWindow)
LustreFileSystem.Builder
majorVersion(String majorVersion)
Major version of Lustre running in the Lustre file system.LustreFileSystem.Builder
managementServiceAddress(String managementServiceAddress)
The IPv4 address of MGS (Lustre Management Service) used by clients to mount the file system.LustreFileSystem.Builder
nsgIds(List<String> nsgIds)
A list of Network Security Group OCIDs associated with this lustre file system.LustreFileSystem.Builder
performanceTier(LustreFileSystem.PerformanceTier performanceTier)
The Lustre file system performance tier.LustreFileSystem.Builder
rootSquashConfiguration(RootSquashConfiguration rootSquashConfiguration)
LustreFileSystem.Builder
subnetId(String subnetId)
The OCID of the subnet the Lustre file system is in.LustreFileSystem.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.LustreFileSystem.Builder
timeBillingCycleEnd(Date timeBillingCycleEnd)
The date and time that the current billing cycle for the file system will end, expressed in RFC 3339 timestamp format.LustreFileSystem.Builder
timeCreated(Date timeCreated)
The date and time the Lustre file system was created, expressed in RFC 3339 timestamp format.LustreFileSystem.Builder
timeUpdated(Date timeUpdated)
The date and time the Lustre file system was updated, in the format defined by RFC 3339.
-
-
-
Method Detail
-
id
public LustreFileSystem.Builder id(String id)
The OCID of the Lustre file system.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public LustreFileSystem.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 LustreFileSystem.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 LustreFileSystem.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 LustreFileSystem.Builder fileSystemDescription(String fileSystemDescription)
Short description of the Lustre file system.Avoid entering confidential information.
- Parameters:
fileSystemDescription
- the value to set- Returns:
- this builder
-
timeCreated
public LustreFileSystem.Builder timeCreated(Date timeCreated)
The date and time the Lustre file system was created, expressed in RFC 3339 timestamp format.Example: 2024-04-25T21:10:29.600Z
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public LustreFileSystem.Builder timeUpdated(Date timeUpdated)
The date and time the Lustre file system was updated, in the format defined by RFC 3339.Example: 2024-04-25T21:10:29.600Z
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
lifecycleState
public LustreFileSystem.Builder lifecycleState(LustreFileSystem.LifecycleState lifecycleState)
The current state of the Lustre file system.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public LustreFileSystem.Builder lifecycleDetails(String lifecycleDetails)
A message that describes the current state of the Lustre file system in more detail.For example, can be used to provide actionable information for a resource in the Failed state.
- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
freeformTags
public LustreFileSystem.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 LustreFileSystem.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 LustreFileSystem.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.Each key is predefined and scoped to a namespace.
Example: {"orcl-cloud": {"free-tier-retained": "true"}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
nsgIds
public LustreFileSystem.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
-
kmsKeyId
public LustreFileSystem.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 LustreFileSystem.Builder capacityInGBs(Integer capacityInGBs)
Capacity of the Lustre file system in GB.- Parameters:
capacityInGBs
- the value to set- Returns:
- this builder
-
subnetId
public LustreFileSystem.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 LustreFileSystem.Builder performanceTier(LustreFileSystem.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
-
managementServiceAddress
public LustreFileSystem.Builder managementServiceAddress(String managementServiceAddress)
The IPv4 address of MGS (Lustre Management Service) used by clients to mount the file system.For example ‘10.0.0.4’.
- Parameters:
managementServiceAddress
- the value to set- Returns:
- this builder
-
fileSystemName
public LustreFileSystem.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 default file system name is ‘lustre’. The file system name is limited to 8 characters. Allowed characters are lower and upper case English letters, numbers, and ‘_’.
- Parameters:
fileSystemName
- the value to set- Returns:
- this builder
-
lnet
public LustreFileSystem.Builder lnet(String lnet)
Type of network used by clients to mount the file system.Example: tcp
- Parameters:
lnet
- the value to set- Returns:
- this builder
-
majorVersion
public LustreFileSystem.Builder majorVersion(String majorVersion)
Major version of Lustre running in the Lustre file system.Example: 2.15
- Parameters:
majorVersion
- the value to set- Returns:
- this builder
-
clusterPlacementGroupId
public LustreFileSystem.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
-
timeBillingCycleEnd
public LustreFileSystem.Builder timeBillingCycleEnd(Date timeBillingCycleEnd)
The date and time that the current billing cycle for the file system will end, expressed in RFC 3339 timestamp format.After the current cycle ends, this date is updated automatically to the next timestamp, which is 30 days later. File systems deleted earlier than this time will still incur charges until the billing cycle ends.
Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeBillingCycleEnd
- the value to set- Returns:
- this builder
-
maintenanceWindow
public LustreFileSystem.Builder maintenanceWindow(MaintenanceWindow maintenanceWindow)
-
rootSquashConfiguration
public LustreFileSystem.Builder rootSquashConfiguration(RootSquashConfiguration rootSquashConfiguration)
-
build
public LustreFileSystem build()
-
copy
public LustreFileSystem.Builder copy(LustreFileSystem model)
-
-