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