Struct aws_sdk_s3control::operation::get_multi_region_access_point::builders::GetMultiRegionAccessPointInputBuilder
source · #[non_exhaustive]pub struct GetMultiRegionAccessPointInputBuilder { /* private fields */ }Expand description
A builder for GetMultiRegionAccessPointInput.
Implementations§
source§impl GetMultiRegionAccessPointInputBuilder
impl GetMultiRegionAccessPointInputBuilder
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.
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.
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.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the Multi-Region Access Point whose configuration information you want to receive. The name of the Multi-Region Access Point is different from the alias. For more information about the distinction between the name and the alias of an Multi-Region Access Point, see Rules for naming Amazon S3 Multi-Region Access Points in the Amazon S3 User Guide.
This field is required.sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the Multi-Region Access Point whose configuration information you want to receive. The name of the Multi-Region Access Point is different from the alias. For more information about the distinction between the name and the alias of an Multi-Region Access Point, see Rules for naming Amazon S3 Multi-Region Access Points in the Amazon S3 User Guide.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the Multi-Region Access Point whose configuration information you want to receive. The name of the Multi-Region Access Point is different from the alias. For more information about the distinction between the name and the alias of an Multi-Region Access Point, see Rules for naming Amazon S3 Multi-Region Access Points in the Amazon S3 User Guide.
sourcepub fn build(self) -> Result<GetMultiRegionAccessPointInput, BuildError>
pub fn build(self) -> Result<GetMultiRegionAccessPointInput, BuildError>
Consumes the builder and constructs a GetMultiRegionAccessPointInput.
source§impl GetMultiRegionAccessPointInputBuilder
impl GetMultiRegionAccessPointInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetMultiRegionAccessPointOutput, SdkError<GetMultiRegionAccessPointError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetMultiRegionAccessPointOutput, SdkError<GetMultiRegionAccessPointError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetMultiRegionAccessPointInputBuilder
impl Clone for GetMultiRegionAccessPointInputBuilder
source§fn clone(&self) -> GetMultiRegionAccessPointInputBuilder
fn clone(&self) -> GetMultiRegionAccessPointInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for GetMultiRegionAccessPointInputBuilder
impl Default for GetMultiRegionAccessPointInputBuilder
source§fn default() -> GetMultiRegionAccessPointInputBuilder
fn default() -> GetMultiRegionAccessPointInputBuilder
source§impl PartialEq for GetMultiRegionAccessPointInputBuilder
impl PartialEq for GetMultiRegionAccessPointInputBuilder
source§fn eq(&self, other: &GetMultiRegionAccessPointInputBuilder) -> bool
fn eq(&self, other: &GetMultiRegionAccessPointInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetMultiRegionAccessPointInputBuilder
Auto Trait Implementations§
impl Freeze for GetMultiRegionAccessPointInputBuilder
impl RefUnwindSafe for GetMultiRegionAccessPointInputBuilder
impl Send for GetMultiRegionAccessPointInputBuilder
impl Sync for GetMultiRegionAccessPointInputBuilder
impl Unpin for GetMultiRegionAccessPointInputBuilder
impl UnwindSafe for GetMultiRegionAccessPointInputBuilder
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