Struct aws_sdk_fsx::operation::update_data_repository_association::builders::UpdateDataRepositoryAssociationInputBuilder
source · #[non_exhaustive]pub struct UpdateDataRepositoryAssociationInputBuilder { /* private fields */ }Expand description
A builder for UpdateDataRepositoryAssociationInput.
Implementations§
source§impl UpdateDataRepositoryAssociationInputBuilder
impl UpdateDataRepositoryAssociationInputBuilder
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.
This field is required.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.
sourcepub fn build(self) -> Result<UpdateDataRepositoryAssociationInput, BuildError>
pub fn build(self) -> Result<UpdateDataRepositoryAssociationInput, BuildError>
Consumes the builder and constructs a UpdateDataRepositoryAssociationInput.
source§impl UpdateDataRepositoryAssociationInputBuilder
impl UpdateDataRepositoryAssociationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateDataRepositoryAssociationOutput, SdkError<UpdateDataRepositoryAssociationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateDataRepositoryAssociationOutput, SdkError<UpdateDataRepositoryAssociationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateDataRepositoryAssociationInputBuilder
impl Clone for UpdateDataRepositoryAssociationInputBuilder
source§fn clone(&self) -> UpdateDataRepositoryAssociationInputBuilder
fn clone(&self) -> UpdateDataRepositoryAssociationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateDataRepositoryAssociationInputBuilder
impl Default for UpdateDataRepositoryAssociationInputBuilder
source§fn default() -> UpdateDataRepositoryAssociationInputBuilder
fn default() -> UpdateDataRepositoryAssociationInputBuilder
source§impl PartialEq for UpdateDataRepositoryAssociationInputBuilder
impl PartialEq for UpdateDataRepositoryAssociationInputBuilder
source§fn eq(&self, other: &UpdateDataRepositoryAssociationInputBuilder) -> bool
fn eq(&self, other: &UpdateDataRepositoryAssociationInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateDataRepositoryAssociationInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateDataRepositoryAssociationInputBuilder
impl RefUnwindSafe for UpdateDataRepositoryAssociationInputBuilder
impl Send for UpdateDataRepositoryAssociationInputBuilder
impl Sync for UpdateDataRepositoryAssociationInputBuilder
impl Unpin for UpdateDataRepositoryAssociationInputBuilder
impl UnwindSafe for UpdateDataRepositoryAssociationInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more