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 ==.