Struct aws_sdk_fsx::operation::update_data_repository_association::builders::UpdateDataRepositoryAssociationFluentBuilder
source · pub struct UpdateDataRepositoryAssociationFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateDataRepositoryAssociation
.
Updates the configuration of an existing data repository association on an Amazon FSx for Lustre file system. Data repository associations are supported on all FSx for Lustre 2.12 and 2.15 file systems, excluding scratch_1
deployment type.
Implementations§
source§impl UpdateDataRepositoryAssociationFluentBuilder
impl UpdateDataRepositoryAssociationFluentBuilder
sourcepub fn as_input(&self) -> &UpdateDataRepositoryAssociationInputBuilder
pub fn as_input(&self) -> &UpdateDataRepositoryAssociationInputBuilder
Access the UpdateDataRepositoryAssociation as a reference.
sourcepub async fn send(
self
) -> Result<UpdateDataRepositoryAssociationOutput, SdkError<UpdateDataRepositoryAssociationError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateDataRepositoryAssociationOutput, SdkError<UpdateDataRepositoryAssociationError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<UpdateDataRepositoryAssociationOutput, UpdateDataRepositoryAssociationError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateDataRepositoryAssociationOutput, UpdateDataRepositoryAssociationError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn association_id(self, input: impl Into<String>) -> Self
pub fn association_id(self, input: impl Into<String>) -> Self
The ID of the data repository association that you are updating.
sourcepub fn set_association_id(self, input: Option<String>) -> Self
pub fn set_association_id(self, input: Option<String>) -> Self
The ID of the data repository association that you are updating.
sourcepub fn get_association_id(&self) -> &Option<String>
pub fn get_association_id(&self) -> &Option<String>
The ID of the data repository association that you are updating.
sourcepub fn client_request_token(self, input: impl Into<String>) -> Self
pub fn client_request_token(self, input: impl Into<String>) -> Self
(Optional) An idempotency token for resource creation, in a string of up to 63 ASCII characters. This token is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.
sourcepub fn set_client_request_token(self, input: Option<String>) -> Self
pub fn set_client_request_token(self, input: Option<String>) -> Self
(Optional) An idempotency token for resource creation, in a string of up to 63 ASCII characters. This token is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.
sourcepub fn get_client_request_token(&self) -> &Option<String>
pub fn get_client_request_token(&self) -> &Option<String>
(Optional) An idempotency token for resource creation, in a string of up to 63 ASCII characters. This token is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.
sourcepub fn imported_file_chunk_size(self, input: i32) -> Self
pub fn imported_file_chunk_size(self, input: i32) -> Self
For files imported from a data repository, this value determines the stripe count and maximum amount of data per file (in MiB) stored on a single physical disk. The maximum number of disks that a single file can be striped across is limited by the total number of disks that make up the file system.
The default chunk size is 1,024 MiB (1 GiB) and can go as high as 512,000 MiB (500 GiB). Amazon S3 objects have a maximum size of 5 TB.
sourcepub fn set_imported_file_chunk_size(self, input: Option<i32>) -> Self
pub fn set_imported_file_chunk_size(self, input: Option<i32>) -> Self
For files imported from a data repository, this value determines the stripe count and maximum amount of data per file (in MiB) stored on a single physical disk. The maximum number of disks that a single file can be striped across is limited by the total number of disks that make up the file system.
The default chunk size is 1,024 MiB (1 GiB) and can go as high as 512,000 MiB (500 GiB). Amazon S3 objects have a maximum size of 5 TB.
sourcepub fn get_imported_file_chunk_size(&self) -> &Option<i32>
pub fn get_imported_file_chunk_size(&self) -> &Option<i32>
For files imported from a data repository, this value determines the stripe count and maximum amount of data per file (in MiB) stored on a single physical disk. The maximum number of disks that a single file can be striped across is limited by the total number of disks that make up the file system.
The default chunk size is 1,024 MiB (1 GiB) and can go as high as 512,000 MiB (500 GiB). Amazon S3 objects have a maximum size of 5 TB.
sourcepub fn s3(self, input: S3DataRepositoryConfiguration) -> Self
pub fn s3(self, input: S3DataRepositoryConfiguration) -> Self
The configuration for an Amazon S3 data repository linked to an Amazon FSx Lustre file system with a data repository association. The configuration defines which file events (new, changed, or deleted files or directories) are automatically imported from the linked data repository to the file system or automatically exported from the file system to the data repository.
sourcepub fn set_s3(self, input: Option<S3DataRepositoryConfiguration>) -> Self
pub fn set_s3(self, input: Option<S3DataRepositoryConfiguration>) -> Self
The configuration for an Amazon S3 data repository linked to an Amazon FSx Lustre file system with a data repository association. The configuration defines which file events (new, changed, or deleted files or directories) are automatically imported from the linked data repository to the file system or automatically exported from the file system to the data repository.
sourcepub fn get_s3(&self) -> &Option<S3DataRepositoryConfiguration>
pub fn get_s3(&self) -> &Option<S3DataRepositoryConfiguration>
The configuration for an Amazon S3 data repository linked to an Amazon FSx Lustre file system with a data repository association. The configuration defines which file events (new, changed, or deleted files or directories) are automatically imported from the linked data repository to the file system or automatically exported from the file system to the data repository.
Trait Implementations§
source§impl Clone for UpdateDataRepositoryAssociationFluentBuilder
impl Clone for UpdateDataRepositoryAssociationFluentBuilder
source§fn clone(&self) -> UpdateDataRepositoryAssociationFluentBuilder
fn clone(&self) -> UpdateDataRepositoryAssociationFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more