Class LustreFileSystemSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.lustrefilestorage.model.LustreFileSystemSummary.Builder
-
- Enclosing class:
- LustreFileSystemSummary
public static class LustreFileSystemSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LustreFileSystemSummary.Builder
availabilityDomain(String availabilityDomain)
The availability domain the file system is in.LustreFileSystemSummary
build()
LustreFileSystemSummary.Builder
capacityInGBs(Integer capacityInGBs)
Capacity of the Lustre file system in GB.LustreFileSystemSummary.Builder
clusterPlacementGroupId(String clusterPlacementGroupId)
The OCID of the cluster placement group in which the Lustre file system exists.LustreFileSystemSummary.Builder
compartmentId(String compartmentId)
The OCID of the compartment that contains the Lustre file system.LustreFileSystemSummary.Builder
copy(LustreFileSystemSummary model)
LustreFileSystemSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.LustreFileSystemSummary.Builder
displayName(String displayName)
A user-friendly name.LustreFileSystemSummary.Builder
fileSystemDescription(String fileSystemDescription)
Short description of the Lustre file system.LustreFileSystemSummary.Builder
fileSystemName(String fileSystemName)
The Lustre file system name.LustreFileSystemSummary.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.LustreFileSystemSummary.Builder
id(String id)
The OCID of the Lustre file system.LustreFileSystemSummary.Builder
kmsKeyId(String kmsKeyId)
The OCID of the KMS key used to encrypt the encryption keys associated with this file system.LustreFileSystemSummary.Builder
lifecycleDetails(String lifecycleDetails)
A message that describes the current state of the Lustre file system in more detail.LustreFileSystemSummary.Builder
lifecycleState(LustreFileSystem.LifecycleState lifecycleState)
The current state of the Lustre file system.LustreFileSystemSummary.Builder
lnet(String lnet)
Type of network used by clients to mount the file system.LustreFileSystemSummary.Builder
majorVersion(String majorVersion)
Major version of Lustre running in the Lustre file system.LustreFileSystemSummary.Builder
managementServiceAddress(String managementServiceAddress)
The IPv4 address of MGS (Lustre Management Service) used by clients to mount the file system.LustreFileSystemSummary.Builder
nsgIds(List<String> nsgIds)
A list of Network Security Group OCIDs associated with this lustre file system.LustreFileSystemSummary.Builder
performanceTier(LustreFileSystemSummary.PerformanceTier performanceTier)
The Lustre file system performance tier.LustreFileSystemSummary.Builder
rootSquashConfiguration(RootSquashConfiguration rootSquashConfiguration)
LustreFileSystemSummary.Builder
subnetId(String subnetId)
The OCID of the subnet the Lustre file system is in.LustreFileSystemSummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.LustreFileSystemSummary.Builder
timeBillingCycleEnd(Date timeBillingCycleEnd)
The date and time the LustreFileSystem current billing cycle will end, expressed in RFC 3339 timestamp format.LustreFileSystemSummary.Builder
timeCreated(Date timeCreated)
The date and time the Lustre file system was created, expressed in RFC 3339 timestamp format.LustreFileSystemSummary.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 LustreFileSystemSummary.Builder id(String id)
The OCID of the Lustre file system.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public LustreFileSystemSummary.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 LustreFileSystemSummary.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 LustreFileSystemSummary.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 LustreFileSystemSummary.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 LustreFileSystemSummary.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 LustreFileSystemSummary.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 LustreFileSystemSummary.Builder lifecycleState(LustreFileSystem.LifecycleState lifecycleState)
The current state of the Lustre file system.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public LustreFileSystemSummary.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 LustreFileSystemSummary.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 LustreFileSystemSummary.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 LustreFileSystemSummary.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 LustreFileSystemSummary.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 LustreFileSystemSummary.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
-
kmsKeyId
public LustreFileSystemSummary.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 LustreFileSystemSummary.Builder capacityInGBs(Integer capacityInGBs)
Capacity of the Lustre file system in GB.- Parameters:
capacityInGBs
- the value to set- Returns:
- this builder
-
subnetId
public LustreFileSystemSummary.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 LustreFileSystemSummary.Builder performanceTier(LustreFileSystemSummary.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
-
timeBillingCycleEnd
public LustreFileSystemSummary.Builder timeBillingCycleEnd(Date timeBillingCycleEnd)
The date and time the LustreFileSystem current billing cycle will end, expressed in RFC 3339 timestamp format.Once a cycle ends, it is updated automatically to next timestamp which is after 30 days. File systems deleted earlier will still incur charges till this date.
Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeBillingCycleEnd
- the value to set- Returns:
- this builder
-
managementServiceAddress
public LustreFileSystemSummary.Builder managementServiceAddress(String managementServiceAddress)
The IPv4 address of MGS (Lustre Management Service) used by clients to mount the file system.Example: 10.0.0.4
- Parameters:
managementServiceAddress
- the value to set- Returns:
- this builder
-
lnet
public LustreFileSystemSummary.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
-
clusterPlacementGroupId
public LustreFileSystemSummary.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
-
majorVersion
public LustreFileSystemSummary.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
-
rootSquashConfiguration
public LustreFileSystemSummary.Builder rootSquashConfiguration(RootSquashConfiguration rootSquashConfiguration)
-
build
public LustreFileSystemSummary build()
-
copy
public LustreFileSystemSummary.Builder copy(LustreFileSystemSummary model)
-
-