Struct aws_sdk_s3control::operation::get_multi_region_access_point_policy::builders::GetMultiRegionAccessPointPolicyInputBuilder
source · #[non_exhaustive]pub struct GetMultiRegionAccessPointPolicyInputBuilder { /* private fields */ }Expand description
A builder for GetMultiRegionAccessPointPolicyInput.
Implementations§
source§impl GetMultiRegionAccessPointPolicyInputBuilder
impl GetMultiRegionAccessPointPolicyInputBuilder
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
Specifies the Multi-Region Access Point. 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
Specifies the Multi-Region Access Point. 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>
Specifies the Multi-Region Access Point. 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<GetMultiRegionAccessPointPolicyInput, BuildError>
pub fn build(self) -> Result<GetMultiRegionAccessPointPolicyInput, BuildError>
Consumes the builder and constructs a GetMultiRegionAccessPointPolicyInput.
source§impl GetMultiRegionAccessPointPolicyInputBuilder
impl GetMultiRegionAccessPointPolicyInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetMultiRegionAccessPointPolicyOutput, SdkError<GetMultiRegionAccessPointPolicyError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetMultiRegionAccessPointPolicyOutput, SdkError<GetMultiRegionAccessPointPolicyError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetMultiRegionAccessPointPolicyInputBuilder
impl Clone for GetMultiRegionAccessPointPolicyInputBuilder
source§fn clone(&self) -> GetMultiRegionAccessPointPolicyInputBuilder
fn clone(&self) -> GetMultiRegionAccessPointPolicyInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for GetMultiRegionAccessPointPolicyInputBuilder
impl Default for GetMultiRegionAccessPointPolicyInputBuilder
source§fn default() -> GetMultiRegionAccessPointPolicyInputBuilder
fn default() -> GetMultiRegionAccessPointPolicyInputBuilder
source§impl PartialEq for GetMultiRegionAccessPointPolicyInputBuilder
impl PartialEq for GetMultiRegionAccessPointPolicyInputBuilder
source§fn eq(&self, other: &GetMultiRegionAccessPointPolicyInputBuilder) -> bool
fn eq(&self, other: &GetMultiRegionAccessPointPolicyInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetMultiRegionAccessPointPolicyInputBuilder
Auto Trait Implementations§
impl Freeze for GetMultiRegionAccessPointPolicyInputBuilder
impl RefUnwindSafe for GetMultiRegionAccessPointPolicyInputBuilder
impl Send for GetMultiRegionAccessPointPolicyInputBuilder
impl Sync for GetMultiRegionAccessPointPolicyInputBuilder
impl Unpin for GetMultiRegionAccessPointPolicyInputBuilder
impl UnwindSafe for GetMultiRegionAccessPointPolicyInputBuilder
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