#[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 ==
.impl StructuralPartialEq for CreateMultiRegionAccessPointInputBuilder
Auto Trait Implementations§
impl Freeze for CreateMultiRegionAccessPointInputBuilder
impl RefUnwindSafe for CreateMultiRegionAccessPointInputBuilder
impl Send for CreateMultiRegionAccessPointInputBuilder
impl Sync for CreateMultiRegionAccessPointInputBuilder
impl Unpin for CreateMultiRegionAccessPointInputBuilder
impl UnwindSafe for CreateMultiRegionAccessPointInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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