#[non_exhaustive]pub struct S3AccessPointConfigurationBuilder { /* private fields */ }
Expand description
A builder for S3AccessPointConfiguration
.
Implementations§
source§impl S3AccessPointConfigurationBuilder
impl S3AccessPointConfigurationBuilder
sourcepub fn access_point_policy(self, input: impl Into<String>) -> Self
pub fn access_point_policy(self, input: impl Into<String>) -> Self
The access point or multi-region access point policy.
sourcepub fn set_access_point_policy(self, input: Option<String>) -> Self
pub fn set_access_point_policy(self, input: Option<String>) -> Self
The access point or multi-region access point policy.
sourcepub fn get_access_point_policy(&self) -> &Option<String>
pub fn get_access_point_policy(&self) -> &Option<String>
The access point or multi-region access point policy.
sourcepub fn public_access_block(
self,
input: S3PublicAccessBlockConfiguration
) -> Self
pub fn public_access_block( self, input: S3PublicAccessBlockConfiguration ) -> Self
The proposed S3PublicAccessBlock
configuration to apply to this Amazon S3 access point or multi-region access point.
sourcepub fn set_public_access_block(
self,
input: Option<S3PublicAccessBlockConfiguration>
) -> Self
pub fn set_public_access_block( self, input: Option<S3PublicAccessBlockConfiguration> ) -> Self
The proposed S3PublicAccessBlock
configuration to apply to this Amazon S3 access point or multi-region access point.
sourcepub fn get_public_access_block(
&self
) -> &Option<S3PublicAccessBlockConfiguration>
pub fn get_public_access_block( &self ) -> &Option<S3PublicAccessBlockConfiguration>
The proposed S3PublicAccessBlock
configuration to apply to this Amazon S3 access point or multi-region access point.
sourcepub fn network_origin(self, input: NetworkOriginConfiguration) -> Self
pub fn network_origin(self, input: NetworkOriginConfiguration) -> Self
The proposed Internet
and VpcConfiguration
to apply to this Amazon S3 access point. VpcConfiguration
does not apply to multi-region access points. If the access preview is for a new resource and neither is specified, the access preview uses Internet
for the network origin. If the access preview is for an existing resource and neither is specified, the access preview uses the exiting network origin.
sourcepub fn set_network_origin(
self,
input: Option<NetworkOriginConfiguration>
) -> Self
pub fn set_network_origin( self, input: Option<NetworkOriginConfiguration> ) -> Self
The proposed Internet
and VpcConfiguration
to apply to this Amazon S3 access point. VpcConfiguration
does not apply to multi-region access points. If the access preview is for a new resource and neither is specified, the access preview uses Internet
for the network origin. If the access preview is for an existing resource and neither is specified, the access preview uses the exiting network origin.
sourcepub fn get_network_origin(&self) -> &Option<NetworkOriginConfiguration>
pub fn get_network_origin(&self) -> &Option<NetworkOriginConfiguration>
The proposed Internet
and VpcConfiguration
to apply to this Amazon S3 access point. VpcConfiguration
does not apply to multi-region access points. If the access preview is for a new resource and neither is specified, the access preview uses Internet
for the network origin. If the access preview is for an existing resource and neither is specified, the access preview uses the exiting network origin.
sourcepub fn build(self) -> S3AccessPointConfiguration
pub fn build(self) -> S3AccessPointConfiguration
Consumes the builder and constructs a S3AccessPointConfiguration
.
Trait Implementations§
source§impl Clone for S3AccessPointConfigurationBuilder
impl Clone for S3AccessPointConfigurationBuilder
source§fn clone(&self) -> S3AccessPointConfigurationBuilder
fn clone(&self) -> S3AccessPointConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for S3AccessPointConfigurationBuilder
impl Default for S3AccessPointConfigurationBuilder
source§fn default() -> S3AccessPointConfigurationBuilder
fn default() -> S3AccessPointConfigurationBuilder
source§impl PartialEq for S3AccessPointConfigurationBuilder
impl PartialEq for S3AccessPointConfigurationBuilder
source§fn eq(&self, other: &S3AccessPointConfigurationBuilder) -> bool
fn eq(&self, other: &S3AccessPointConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for S3AccessPointConfigurationBuilder
Auto Trait Implementations§
impl Freeze for S3AccessPointConfigurationBuilder
impl RefUnwindSafe for S3AccessPointConfigurationBuilder
impl Send for S3AccessPointConfigurationBuilder
impl Sync for S3AccessPointConfigurationBuilder
impl Unpin for S3AccessPointConfigurationBuilder
impl UnwindSafe for S3AccessPointConfigurationBuilder
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