#[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 ==.