Struct aws_sdk_s3::input::put_public_access_block_input::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }
Expand description
A builder for PutPublicAccessBlockInput
Implementations
The name of the Amazon S3 bucket whose PublicAccessBlock
configuration you want
to set.
The name of the Amazon S3 bucket whose PublicAccessBlock
configuration you want
to set.
The MD5 hash of the PutPublicAccessBlock
request body.
For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.
The MD5 hash of the PutPublicAccessBlock
request body.
For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.
The PublicAccessBlock
configuration that you want to apply to this Amazon S3
bucket. 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.
pub fn set_public_access_block_configuration(
self,
input: Option<PublicAccessBlockConfiguration>
) -> Self
pub fn set_public_access_block_configuration(
self,
input: Option<PublicAccessBlockConfiguration>
) -> Self
The PublicAccessBlock
configuration that you want to apply to this Amazon S3
bucket. 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.
The account ID of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied)
error.
The account ID of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied)
error.
Consumes the builder and constructs a PutPublicAccessBlockInput
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more