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