#[non_exhaustive]pub struct GetBucketMetadataTableConfigurationResultBuilder { /* private fields */ }
Expand description
A builder for GetBucketMetadataTableConfigurationResult
.
Implementations§
source§impl GetBucketMetadataTableConfigurationResultBuilder
impl GetBucketMetadataTableConfigurationResultBuilder
sourcepub fn metadata_table_configuration_result(
self,
input: MetadataTableConfigurationResult,
) -> Self
pub fn metadata_table_configuration_result( self, input: MetadataTableConfigurationResult, ) -> Self
The metadata table configuration for a general purpose bucket.
This field is required.sourcepub fn set_metadata_table_configuration_result(
self,
input: Option<MetadataTableConfigurationResult>,
) -> Self
pub fn set_metadata_table_configuration_result( self, input: Option<MetadataTableConfigurationResult>, ) -> Self
The metadata table configuration for a general purpose bucket.
sourcepub fn get_metadata_table_configuration_result(
&self,
) -> &Option<MetadataTableConfigurationResult>
pub fn get_metadata_table_configuration_result( &self, ) -> &Option<MetadataTableConfigurationResult>
The metadata table configuration for a general purpose bucket.
sourcepub fn status(self, input: impl Into<String>) -> Self
pub fn status(self, input: impl Into<String>) -> Self
The status of the metadata table. The status values are:
-
CREATING
- The metadata table is in the process of being created in the specified table bucket. -
ACTIVE
- The metadata table has been created successfully and records are being delivered to the table. -
FAILED
- Amazon S3 is unable to create the metadata table, or Amazon S3 is unable to deliver records. SeeErrorDetails
for details.
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
The status of the metadata table. The status values are:
-
CREATING
- The metadata table is in the process of being created in the specified table bucket. -
ACTIVE
- The metadata table has been created successfully and records are being delivered to the table. -
FAILED
- Amazon S3 is unable to create the metadata table, or Amazon S3 is unable to deliver records. SeeErrorDetails
for details.
sourcepub fn get_status(&self) -> &Option<String>
pub fn get_status(&self) -> &Option<String>
The status of the metadata table. The status values are:
-
CREATING
- The metadata table is in the process of being created in the specified table bucket. -
ACTIVE
- The metadata table has been created successfully and records are being delivered to the table. -
FAILED
- Amazon S3 is unable to create the metadata table, or Amazon S3 is unable to deliver records. SeeErrorDetails
for details.
sourcepub fn error(self, input: ErrorDetails) -> Self
pub fn error(self, input: ErrorDetails) -> Self
If the CreateBucketMetadataTableConfiguration
request succeeds, but S3 Metadata was unable to create the table, this structure contains the error code and error message.
sourcepub fn set_error(self, input: Option<ErrorDetails>) -> Self
pub fn set_error(self, input: Option<ErrorDetails>) -> Self
If the CreateBucketMetadataTableConfiguration
request succeeds, but S3 Metadata was unable to create the table, this structure contains the error code and error message.
sourcepub fn get_error(&self) -> &Option<ErrorDetails>
pub fn get_error(&self) -> &Option<ErrorDetails>
If the CreateBucketMetadataTableConfiguration
request succeeds, but S3 Metadata was unable to create the table, this structure contains the error code and error message.
sourcepub fn build(
self,
) -> Result<GetBucketMetadataTableConfigurationResult, BuildError>
pub fn build( self, ) -> Result<GetBucketMetadataTableConfigurationResult, BuildError>
Consumes the builder and constructs a GetBucketMetadataTableConfigurationResult
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for GetBucketMetadataTableConfigurationResultBuilder
impl Clone for GetBucketMetadataTableConfigurationResultBuilder
source§fn clone(&self) -> GetBucketMetadataTableConfigurationResultBuilder
fn clone(&self) -> GetBucketMetadataTableConfigurationResultBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetBucketMetadataTableConfigurationResultBuilder
impl Default for GetBucketMetadataTableConfigurationResultBuilder
source§fn default() -> GetBucketMetadataTableConfigurationResultBuilder
fn default() -> GetBucketMetadataTableConfigurationResultBuilder
source§impl PartialEq for GetBucketMetadataTableConfigurationResultBuilder
impl PartialEq for GetBucketMetadataTableConfigurationResultBuilder
source§fn eq(&self, other: &GetBucketMetadataTableConfigurationResultBuilder) -> bool
fn eq(&self, other: &GetBucketMetadataTableConfigurationResultBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for GetBucketMetadataTableConfigurationResultBuilder
Auto Trait Implementations§
impl Freeze for GetBucketMetadataTableConfigurationResultBuilder
impl RefUnwindSafe for GetBucketMetadataTableConfigurationResultBuilder
impl Send for GetBucketMetadataTableConfigurationResultBuilder
impl Sync for GetBucketMetadataTableConfigurationResultBuilder
impl Unpin for GetBucketMetadataTableConfigurationResultBuilder
impl UnwindSafe for GetBucketMetadataTableConfigurationResultBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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