Struct bonsaidb::keystorage::s3::aws_sdk_s3::operation::delete_public_access_block::builders::DeletePublicAccessBlockInputBuilder
pub struct DeletePublicAccessBlockInputBuilder { /* private fields */ }
Expand description
A builder for DeletePublicAccessBlockInput
.
Implementations§
§impl DeletePublicAccessBlockInputBuilder
impl DeletePublicAccessBlockInputBuilder
pub fn bucket(
self,
input: impl Into<String>
) -> DeletePublicAccessBlockInputBuilder
pub fn bucket( self, input: impl Into<String> ) -> DeletePublicAccessBlockInputBuilder
The Amazon S3 bucket whose PublicAccessBlock
configuration you want to delete.
pub fn set_bucket(
self,
input: Option<String>
) -> DeletePublicAccessBlockInputBuilder
pub fn set_bucket( self, input: Option<String> ) -> DeletePublicAccessBlockInputBuilder
The Amazon S3 bucket whose PublicAccessBlock
configuration you want to delete.
pub fn get_bucket(&self) -> &Option<String>
pub fn get_bucket(&self) -> &Option<String>
The Amazon S3 bucket whose PublicAccessBlock
configuration you want to delete.
pub fn expected_bucket_owner(
self,
input: impl Into<String>
) -> DeletePublicAccessBlockInputBuilder
pub fn expected_bucket_owner( self, input: impl Into<String> ) -> DeletePublicAccessBlockInputBuilder
The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code 403 Forbidden
(access denied).
pub fn set_expected_bucket_owner(
self,
input: Option<String>
) -> DeletePublicAccessBlockInputBuilder
pub fn set_expected_bucket_owner( self, input: Option<String> ) -> DeletePublicAccessBlockInputBuilder
The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code 403 Forbidden
(access denied).
pub fn get_expected_bucket_owner(&self) -> &Option<String>
pub fn get_expected_bucket_owner(&self) -> &Option<String>
The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code 403 Forbidden
(access denied).
pub fn build(self) -> Result<DeletePublicAccessBlockInput, BuildError>
pub fn build(self) -> Result<DeletePublicAccessBlockInput, BuildError>
Consumes the builder and constructs a DeletePublicAccessBlockInput
.
§impl DeletePublicAccessBlockInputBuilder
impl DeletePublicAccessBlockInputBuilder
pub async fn send_with(
self,
client: &Client
) -> impl Future<Output = Result<DeletePublicAccessBlockOutput, SdkError<DeletePublicAccessBlockError, Response<SdkBody>>>>
pub async fn send_with( self, client: &Client ) -> impl Future<Output = Result<DeletePublicAccessBlockOutput, SdkError<DeletePublicAccessBlockError, Response<SdkBody>>>>
Sends a request with this input using the given client.
Trait Implementations§
§impl Clone for DeletePublicAccessBlockInputBuilder
impl Clone for DeletePublicAccessBlockInputBuilder
§fn clone(&self) -> DeletePublicAccessBlockInputBuilder
fn clone(&self) -> DeletePublicAccessBlockInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl Default for DeletePublicAccessBlockInputBuilder
impl Default for DeletePublicAccessBlockInputBuilder
§fn default() -> DeletePublicAccessBlockInputBuilder
fn default() -> DeletePublicAccessBlockInputBuilder
§impl PartialEq<DeletePublicAccessBlockInputBuilder> for DeletePublicAccessBlockInputBuilder
impl PartialEq<DeletePublicAccessBlockInputBuilder> for DeletePublicAccessBlockInputBuilder
§fn eq(&self, other: &DeletePublicAccessBlockInputBuilder) -> bool
fn eq(&self, other: &DeletePublicAccessBlockInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.