#[non_exhaustive]pub struct CreateFileCacheLustreConfigurationBuilder { /* private fields */ }
Expand description
A builder for CreateFileCacheLustreConfiguration
.
Implementations§
source§impl CreateFileCacheLustreConfigurationBuilder
impl CreateFileCacheLustreConfigurationBuilder
sourcepub fn per_unit_storage_throughput(self, input: i32) -> Self
pub fn per_unit_storage_throughput(self, input: i32) -> Self
Provisions the amount of read and write throughput for each 1 tebibyte (TiB) of cache storage capacity, in 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
Provisions the amount of read and write throughput for each 1 tebibyte (TiB) of cache storage capacity, in 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>
Provisions the amount of read and write throughput for each 1 tebibyte (TiB) of cache storage capacity, in 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
Specifies the cache deployment type, 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
Specifies the cache deployment type, which must be CACHE_1
.
sourcepub fn get_deployment_type(&self) -> &Option<FileCacheLustreDeploymentType>
pub fn get_deployment_type(&self) -> &Option<FileCacheLustreDeploymentType>
Specifies the cache deployment type, which must be CACHE_1
.
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.
This field is required.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 build(self) -> CreateFileCacheLustreConfiguration
pub fn build(self) -> CreateFileCacheLustreConfiguration
Consumes the builder and constructs a CreateFileCacheLustreConfiguration
.
Trait Implementations§
source§impl Clone for CreateFileCacheLustreConfigurationBuilder
impl Clone for CreateFileCacheLustreConfigurationBuilder
source§fn clone(&self) -> CreateFileCacheLustreConfigurationBuilder
fn clone(&self) -> CreateFileCacheLustreConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateFileCacheLustreConfigurationBuilder
impl Default for CreateFileCacheLustreConfigurationBuilder
source§fn default() -> CreateFileCacheLustreConfigurationBuilder
fn default() -> CreateFileCacheLustreConfigurationBuilder
source§impl PartialEq for CreateFileCacheLustreConfigurationBuilder
impl PartialEq for CreateFileCacheLustreConfigurationBuilder
source§fn eq(&self, other: &CreateFileCacheLustreConfigurationBuilder) -> bool
fn eq(&self, other: &CreateFileCacheLustreConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.