Struct aws_sdk_s3control::operation::get_bucket_versioning::builders::GetBucketVersioningInputBuilder
source · #[non_exhaustive]pub struct GetBucketVersioningInputBuilder { /* private fields */ }Expand description
A builder for GetBucketVersioningInput.
Implementations§
source§impl GetBucketVersioningInputBuilder
impl GetBucketVersioningInputBuilder
sourcepub fn account_id(self, input: impl Into<String>) -> Self
pub fn account_id(self, input: impl Into<String>) -> Self
The Amazon Web Services account ID of the S3 on Outposts bucket.
This field is required.sourcepub fn set_account_id(self, input: Option<String>) -> Self
pub fn set_account_id(self, input: Option<String>) -> Self
The Amazon Web Services account ID of the S3 on Outposts bucket.
sourcepub fn get_account_id(&self) -> &Option<String>
pub fn get_account_id(&self) -> &Option<String>
The Amazon Web Services account ID of the S3 on Outposts bucket.
sourcepub fn bucket(self, input: impl Into<String>) -> Self
pub fn bucket(self, input: impl Into<String>) -> Self
The S3 on Outposts bucket to return the versioning state for.
This field is required.sourcepub fn set_bucket(self, input: Option<String>) -> Self
pub fn set_bucket(self, input: Option<String>) -> Self
The S3 on Outposts bucket to return the versioning state for.
sourcepub fn get_bucket(&self) -> &Option<String>
pub fn get_bucket(&self) -> &Option<String>
The S3 on Outposts bucket to return the versioning state for.
sourcepub fn build(self) -> Result<GetBucketVersioningInput, BuildError>
pub fn build(self) -> Result<GetBucketVersioningInput, BuildError>
Consumes the builder and constructs a GetBucketVersioningInput.
source§impl GetBucketVersioningInputBuilder
impl GetBucketVersioningInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetBucketVersioningOutput, SdkError<GetBucketVersioningError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetBucketVersioningOutput, SdkError<GetBucketVersioningError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetBucketVersioningInputBuilder
impl Clone for GetBucketVersioningInputBuilder
source§fn clone(&self) -> GetBucketVersioningInputBuilder
fn clone(&self) -> GetBucketVersioningInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for GetBucketVersioningInputBuilder
impl Default for GetBucketVersioningInputBuilder
source§fn default() -> GetBucketVersioningInputBuilder
fn default() -> GetBucketVersioningInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetBucketVersioningInputBuilder
impl PartialEq for GetBucketVersioningInputBuilder
source§fn eq(&self, other: &GetBucketVersioningInputBuilder) -> bool
fn eq(&self, other: &GetBucketVersioningInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetBucketVersioningInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GetBucketVersioningInputBuilder
impl Send for GetBucketVersioningInputBuilder
impl Sync for GetBucketVersioningInputBuilder
impl Unpin for GetBucketVersioningInputBuilder
impl UnwindSafe for GetBucketVersioningInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.