Interface FileCacheLustreConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FileCacheLustreConfiguration.Builder,
,FileCacheLustreConfiguration> SdkBuilder<FileCacheLustreConfiguration.Builder,
,FileCacheLustreConfiguration> SdkPojo
- Enclosing class:
FileCacheLustreConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondeploymentType
(String deploymentType) The deployment type of the Amazon File Cache resource, which must beCACHE_1
.deploymentType
(FileCacheLustreDeploymentType deploymentType) The deployment type of the Amazon File Cache resource, which must beCACHE_1
.logConfiguration
(Consumer<LustreLogConfiguration.Builder> logConfiguration) The configuration for Lustre logging used to write the enabled logging events for your Amazon File Cache resource to Amazon CloudWatch Logs.logConfiguration
(LustreLogConfiguration logConfiguration) The configuration for Lustre logging used to write the enabled logging events for your Amazon File Cache resource to Amazon CloudWatch Logs.metadataConfiguration
(Consumer<FileCacheLustreMetadataConfiguration.Builder> metadataConfiguration) The configuration for a Lustre MDT (Metadata Target) storage volume.metadataConfiguration
(FileCacheLustreMetadataConfiguration metadataConfiguration) The configuration for a Lustre MDT (Metadata Target) storage volume.You use theMountName
value when mounting the cache.perUnitStorageThroughput
(Integer perUnitStorageThroughput) Per unit storage throughput represents the megabytes per second of read or write throughput per 1 tebibyte of storage provisioned.weeklyMaintenanceStartTime
(String weeklyMaintenanceStartTime) Sets the value of the WeeklyMaintenanceStartTime property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
perUnitStorageThroughput
Per unit storage throughput represents the megabytes per second of read or write throughput per 1 tebibyte of storage provisioned. Cache throughput capacity is equal to Storage capacity (TiB) * PerUnitStorageThroughput (MB/s/TiB). The only supported value is
1000
.- Parameters:
perUnitStorageThroughput
- Per unit storage throughput represents the megabytes per second of read or write throughput per 1 tebibyte of storage provisioned. Cache throughput capacity is equal to Storage capacity (TiB) * PerUnitStorageThroughput (MB/s/TiB). The only supported value is1000
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentType
The deployment type of the Amazon File Cache resource, which must be
CACHE_1
.- Parameters:
deploymentType
- The deployment type of the Amazon File Cache resource, which must beCACHE_1
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deploymentType
The deployment type of the Amazon File Cache resource, which must be
CACHE_1
.- Parameters:
deploymentType
- The deployment type of the Amazon File Cache resource, which must beCACHE_1
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mountName
You use the
MountName
value when mounting the cache. If you pass a cache ID to theDescribeFileCaches
operation, it returns the theMountName
value as part of the cache's description.- Parameters:
mountName
- You use theMountName
value when mounting the cache. If you pass a cache ID to theDescribeFileCaches
operation, it returns the theMountName
value as part of the cache's description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
weeklyMaintenanceStartTime
Sets the value of the WeeklyMaintenanceStartTime property for this object.- Parameters:
weeklyMaintenanceStartTime
- The new value for the WeeklyMaintenanceStartTime property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadataConfiguration
FileCacheLustreConfiguration.Builder metadataConfiguration(FileCacheLustreMetadataConfiguration metadataConfiguration) The configuration for a Lustre MDT (Metadata Target) storage volume.
- Parameters:
metadataConfiguration
- The configuration for a Lustre MDT (Metadata Target) storage volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadataConfiguration
default FileCacheLustreConfiguration.Builder metadataConfiguration(Consumer<FileCacheLustreMetadataConfiguration.Builder> metadataConfiguration) The configuration for a Lustre MDT (Metadata Target) storage volume.
This is a convenience method that creates an instance of theFileCacheLustreMetadataConfiguration.Builder
avoiding the need to create one manually viaFileCacheLustreMetadataConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tometadataConfiguration(FileCacheLustreMetadataConfiguration)
.- Parameters:
metadataConfiguration
- a consumer that will call methods onFileCacheLustreMetadataConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
logConfiguration
The configuration for Lustre logging used to write the enabled logging events for your Amazon File Cache resource to Amazon CloudWatch Logs.
- Parameters:
logConfiguration
- The configuration for Lustre logging used to write the enabled logging events for your Amazon File Cache resource to Amazon CloudWatch Logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logConfiguration
default FileCacheLustreConfiguration.Builder logConfiguration(Consumer<LustreLogConfiguration.Builder> logConfiguration) The configuration for Lustre logging used to write the enabled logging events for your Amazon File Cache resource to Amazon CloudWatch Logs.
This is a convenience method that creates an instance of theLustreLogConfiguration.Builder
avoiding the need to create one manually viaLustreLogConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tologConfiguration(LustreLogConfiguration)
.- Parameters:
logConfiguration
- a consumer that will call methods onLustreLogConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-