#[non_exhaustive]pub struct CreateMultiRegionAccessPointInputBuilder { /* private fields */ }
Expand description
A builder for CreateMultiRegionAccessPointInput
.
Implementations§
source§impl CreateMultiRegionAccessPointInputBuilder
impl CreateMultiRegionAccessPointInputBuilder
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 associated with this request.
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 associated with this request.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the Multi-Region Access Point associated with this request.
sourcepub fn public_access_block(self, input: PublicAccessBlockConfiguration) -> Self
pub fn public_access_block(self, input: PublicAccessBlockConfiguration) -> Self
The PublicAccessBlock
configuration that you want to apply to this Amazon S3 account. You can enable the configuration options in any combination. For more information about when Amazon S3 considers a bucket or object public, see The Meaning of "Public" in the Amazon S3 User Guide.
This data type is not supported for Amazon S3 on Outposts.
sourcepub fn set_public_access_block(
self,
input: Option<PublicAccessBlockConfiguration>
) -> Self
pub fn set_public_access_block( self, input: Option<PublicAccessBlockConfiguration> ) -> Self
The PublicAccessBlock
configuration that you want to apply to this Amazon S3 account. You can enable the configuration options in any combination. For more information about when Amazon S3 considers a bucket or object public, see The Meaning of "Public" in the Amazon S3 User Guide.
This data type is not supported for Amazon S3 on Outposts.
sourcepub fn get_public_access_block(&self) -> &Option<PublicAccessBlockConfiguration>
pub fn get_public_access_block(&self) -> &Option<PublicAccessBlockConfiguration>
The PublicAccessBlock
configuration that you want to apply to this Amazon S3 account. You can enable the configuration options in any combination. For more information about when Amazon S3 considers a bucket or object public, see The Meaning of "Public" in the Amazon S3 User Guide.
This data type is not supported for Amazon S3 on Outposts.
sourcepub fn regions(self, input: Region) -> Self
pub fn regions(self, input: Region) -> Self
Appends an item to regions
.
To override the contents of this collection use set_regions
.
The buckets in different Regions that are associated with the Multi-Region Access Point.
sourcepub fn set_regions(self, input: Option<Vec<Region>>) -> Self
pub fn set_regions(self, input: Option<Vec<Region>>) -> Self
The buckets in different Regions that are associated with the Multi-Region Access Point.
sourcepub fn get_regions(&self) -> &Option<Vec<Region>>
pub fn get_regions(&self) -> &Option<Vec<Region>>
The buckets in different Regions that are associated with 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
.
This method will fail if any of the following fields are not set:
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 ==
.