#[non_exhaustive]pub struct FileCacheLustreConfigurationBuilder { /* private fields */ }Expand description
A builder for FileCacheLustreConfiguration.
Implementations§
source§impl FileCacheLustreConfigurationBuilder
impl FileCacheLustreConfigurationBuilder
sourcepub fn per_unit_storage_throughput(self, input: i32) -> Self
pub fn per_unit_storage_throughput(self, input: i32) -> Self
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.
sourcepub fn set_per_unit_storage_throughput(self, input: Option<i32>) -> Self
pub fn set_per_unit_storage_throughput(self, input: Option<i32>) -> Self
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.
sourcepub fn get_per_unit_storage_throughput(&self) -> &Option<i32>
pub fn get_per_unit_storage_throughput(&self) -> &Option<i32>
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.
sourcepub fn deployment_type(self, input: FileCacheLustreDeploymentType) -> Self
pub fn deployment_type(self, input: FileCacheLustreDeploymentType) -> Self
The deployment type of the Amazon File Cache resource, which must be CACHE_1.
sourcepub fn set_deployment_type(
self,
input: Option<FileCacheLustreDeploymentType>
) -> Self
pub fn set_deployment_type( self, input: Option<FileCacheLustreDeploymentType> ) -> Self
The deployment type of the Amazon File Cache resource, which must be CACHE_1.
sourcepub fn get_deployment_type(&self) -> &Option<FileCacheLustreDeploymentType>
pub fn get_deployment_type(&self) -> &Option<FileCacheLustreDeploymentType>
The deployment type of the Amazon File Cache resource, which must be CACHE_1.
sourcepub fn mount_name(self, input: impl Into<String>) -> Self
pub fn mount_name(self, input: impl Into<String>) -> Self
You use the MountName value when mounting the cache. If you pass a cache ID to the DescribeFileCaches operation, it returns the the MountName value as part of the cache's description.
sourcepub fn set_mount_name(self, input: Option<String>) -> Self
pub fn set_mount_name(self, input: Option<String>) -> Self
You use the MountName value when mounting the cache. If you pass a cache ID to the DescribeFileCaches operation, it returns the the MountName value as part of the cache's description.
sourcepub fn get_mount_name(&self) -> &Option<String>
pub fn get_mount_name(&self) -> &Option<String>
You use the MountName value when mounting the cache. If you pass a cache ID to the DescribeFileCaches operation, it returns the the MountName value as part of the cache's description.
sourcepub fn weekly_maintenance_start_time(self, input: impl Into<String>) -> Self
pub fn weekly_maintenance_start_time(self, input: impl Into<String>) -> Self
A recurring weekly time, in the format D:HH:MM.
D is the day of the week, for which 1 represents Monday and 7 represents Sunday. For further details, see the ISO-8601 spec as described on Wikipedia.
HH is the zero-padded hour of the day (0-23), and MM is the zero-padded minute of the hour.
For example, 1:05:00 specifies maintenance at 5 AM Monday.
sourcepub fn set_weekly_maintenance_start_time(self, input: Option<String>) -> Self
pub fn set_weekly_maintenance_start_time(self, input: Option<String>) -> Self
A recurring weekly time, in the format D:HH:MM.
D is the day of the week, for which 1 represents Monday and 7 represents Sunday. For further details, see the ISO-8601 spec as described on Wikipedia.
HH is the zero-padded hour of the day (0-23), and MM is the zero-padded minute of the hour.
For example, 1:05:00 specifies maintenance at 5 AM Monday.
sourcepub fn get_weekly_maintenance_start_time(&self) -> &Option<String>
pub fn get_weekly_maintenance_start_time(&self) -> &Option<String>
A recurring weekly time, in the format D:HH:MM.
D is the day of the week, for which 1 represents Monday and 7 represents Sunday. For further details, see the ISO-8601 spec as described on Wikipedia.
HH is the zero-padded hour of the day (0-23), and MM is the zero-padded minute of the hour.
For example, 1:05:00 specifies maintenance at 5 AM Monday.
sourcepub fn metadata_configuration(
self,
input: FileCacheLustreMetadataConfiguration
) -> Self
pub fn metadata_configuration( self, input: FileCacheLustreMetadataConfiguration ) -> Self
The configuration for a Lustre MDT (Metadata Target) storage volume.
sourcepub fn set_metadata_configuration(
self,
input: Option<FileCacheLustreMetadataConfiguration>
) -> Self
pub fn set_metadata_configuration( self, input: Option<FileCacheLustreMetadataConfiguration> ) -> Self
The configuration for a Lustre MDT (Metadata Target) storage volume.
sourcepub fn get_metadata_configuration(
&self
) -> &Option<FileCacheLustreMetadataConfiguration>
pub fn get_metadata_configuration( &self ) -> &Option<FileCacheLustreMetadataConfiguration>
The configuration for a Lustre MDT (Metadata Target) storage volume.
sourcepub fn log_configuration(self, input: LustreLogConfiguration) -> Self
pub fn log_configuration(self, input: LustreLogConfiguration) -> Self
The configuration for Lustre logging used to write the enabled logging events for your Amazon File Cache resource to Amazon CloudWatch Logs.
sourcepub fn set_log_configuration(
self,
input: Option<LustreLogConfiguration>
) -> Self
pub fn set_log_configuration( self, input: Option<LustreLogConfiguration> ) -> Self
The configuration for Lustre logging used to write the enabled logging events for your Amazon File Cache resource to Amazon CloudWatch Logs.
sourcepub fn get_log_configuration(&self) -> &Option<LustreLogConfiguration>
pub fn get_log_configuration(&self) -> &Option<LustreLogConfiguration>
The configuration for Lustre logging used to write the enabled logging events for your Amazon File Cache resource to Amazon CloudWatch Logs.
sourcepub fn build(self) -> FileCacheLustreConfiguration
pub fn build(self) -> FileCacheLustreConfiguration
Consumes the builder and constructs a FileCacheLustreConfiguration.
Trait Implementations§
source§impl Clone for FileCacheLustreConfigurationBuilder
impl Clone for FileCacheLustreConfigurationBuilder
source§fn clone(&self) -> FileCacheLustreConfigurationBuilder
fn clone(&self) -> FileCacheLustreConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for FileCacheLustreConfigurationBuilder
impl Default for FileCacheLustreConfigurationBuilder
source§fn default() -> FileCacheLustreConfigurationBuilder
fn default() -> FileCacheLustreConfigurationBuilder
source§impl PartialEq<FileCacheLustreConfigurationBuilder> for FileCacheLustreConfigurationBuilder
impl PartialEq<FileCacheLustreConfigurationBuilder> for FileCacheLustreConfigurationBuilder
source§fn eq(&self, other: &FileCacheLustreConfigurationBuilder) -> bool
fn eq(&self, other: &FileCacheLustreConfigurationBuilder) -> bool
self and other values to be equal, and is used
by ==.