Struct aws_sdk_s3control::operation::create_multi_region_access_point::builders::CreateMultiRegionAccessPointInputBuilder
source · #[non_exhaustive]pub struct CreateMultiRegionAccessPointInputBuilder { /* private fields */ }Expand description
A builder for CreateMultiRegionAccessPointInput.
Implementations§
source§impl CreateMultiRegionAccessPointInputBuilder
impl CreateMultiRegionAccessPointInputBuilder
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 for the owner of the Multi-Region Access Point. The owner of the Multi-Region Access Point also must own the underlying buckets.
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 for the owner of the Multi-Region Access Point. The owner of the Multi-Region Access Point also must own the underlying buckets.
sourcepub fn get_account_id(&self) -> &Option<String>
pub fn get_account_id(&self) -> &Option<String>
The Amazon Web Services account ID for the owner of the Multi-Region Access Point. The owner of the Multi-Region Access Point also must own the underlying buckets.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
An idempotency token used to identify the request and guarantee that requests are unique.
This field is required.sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
An idempotency token used to identify the request and guarantee that requests are unique.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
An idempotency token used to identify the request and guarantee that requests are unique.
sourcepub fn details(self, input: CreateMultiRegionAccessPointInput) -> Self
pub fn details(self, input: CreateMultiRegionAccessPointInput) -> Self
A container element containing details about the Multi-Region Access Point.
This field is required.sourcepub fn set_details(
self,
input: Option<CreateMultiRegionAccessPointInput>
) -> Self
pub fn set_details( self, input: Option<CreateMultiRegionAccessPointInput> ) -> Self
A container element containing details about the Multi-Region Access Point.
sourcepub fn get_details(&self) -> &Option<CreateMultiRegionAccessPointInput>
pub fn get_details(&self) -> &Option<CreateMultiRegionAccessPointInput>
A container element containing details about the Multi-Region Access Point.
sourcepub fn build(self) -> Result<CreateMultiRegionAccessPointInput, BuildError>
pub fn build(self) -> Result<CreateMultiRegionAccessPointInput, BuildError>
Consumes the builder and constructs a CreateMultiRegionAccessPointInput.
source§impl CreateMultiRegionAccessPointInputBuilder
impl CreateMultiRegionAccessPointInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateMultiRegionAccessPointOutput, SdkError<CreateMultiRegionAccessPointError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateMultiRegionAccessPointOutput, SdkError<CreateMultiRegionAccessPointError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateMultiRegionAccessPointInputBuilder
impl Clone for CreateMultiRegionAccessPointInputBuilder
source§fn clone(&self) -> CreateMultiRegionAccessPointInputBuilder
fn clone(&self) -> CreateMultiRegionAccessPointInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreateMultiRegionAccessPointInputBuilder
impl Default for CreateMultiRegionAccessPointInputBuilder
source§fn default() -> CreateMultiRegionAccessPointInputBuilder
fn default() -> CreateMultiRegionAccessPointInputBuilder
source§impl PartialEq for CreateMultiRegionAccessPointInputBuilder
impl PartialEq for CreateMultiRegionAccessPointInputBuilder
source§fn eq(&self, other: &CreateMultiRegionAccessPointInputBuilder) -> bool
fn eq(&self, other: &CreateMultiRegionAccessPointInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateMultiRegionAccessPointInputBuilder
Auto Trait Implementations§
impl Freeze for CreateMultiRegionAccessPointInputBuilder
impl RefUnwindSafe for CreateMultiRegionAccessPointInputBuilder
impl Send for CreateMultiRegionAccessPointInputBuilder
impl Sync for CreateMultiRegionAccessPointInputBuilder
impl Unpin for CreateMultiRegionAccessPointInputBuilder
impl UnwindSafe for CreateMultiRegionAccessPointInputBuilder
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