#[non_exhaustive]pub struct DeleteBucketEncryptionInputBuilder { /* private fields */ }
Expand description
A builder for DeleteBucketEncryptionInput
.
Implementations§
Source§impl DeleteBucketEncryptionInputBuilder
impl DeleteBucketEncryptionInputBuilder
Sourcepub fn bucket(self, input: impl Into<String>) -> Self
pub fn bucket(self, input: impl Into<String>) -> Self
The name of the bucket containing the server-side encryption configuration to delete.
Directory buckets - When you use this operation with a directory bucket, you must use path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name
. Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must also follow the format bucket-base-name--zone-id--x-s3
(for example, DOC-EXAMPLE-BUCKET--usw2-az1--x-s3
). For information about bucket naming restrictions, see Directory bucket naming rules in the Amazon S3 User Guide
Sourcepub fn set_bucket(self, input: Option<String>) -> Self
pub fn set_bucket(self, input: Option<String>) -> Self
The name of the bucket containing the server-side encryption configuration to delete.
Directory buckets - When you use this operation with a directory bucket, you must use path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name
. Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must also follow the format bucket-base-name--zone-id--x-s3
(for example, DOC-EXAMPLE-BUCKET--usw2-az1--x-s3
). For information about bucket naming restrictions, see Directory bucket naming rules in the Amazon S3 User Guide
Sourcepub fn get_bucket(&self) -> &Option<String>
pub fn get_bucket(&self) -> &Option<String>
The name of the bucket containing the server-side encryption configuration to delete.
Directory buckets - When you use this operation with a directory bucket, you must use path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name
. Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must also follow the format bucket-base-name--zone-id--x-s3
(for example, DOC-EXAMPLE-BUCKET--usw2-az1--x-s3
). For information about bucket naming restrictions, see Directory bucket naming rules in the Amazon S3 User Guide
Sourcepub fn expected_bucket_owner(self, input: impl Into<String>) -> Self
pub fn expected_bucket_owner(self, input: impl Into<String>) -> Self
The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
For directory buckets, this header is not supported in this API operation. If you specify this header, the request fails with the HTTP status code 501 Not Implemented
.
Sourcepub fn set_expected_bucket_owner(self, input: Option<String>) -> Self
pub fn set_expected_bucket_owner(self, input: Option<String>) -> Self
The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
For directory buckets, this header is not supported in this API operation. If you specify this header, the request fails with the HTTP status code 501 Not Implemented
.
Sourcepub 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 account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
For directory buckets, this header is not supported in this API operation. If you specify this header, the request fails with the HTTP status code 501 Not Implemented
.
Sourcepub fn build(self) -> Result<DeleteBucketEncryptionInput, BuildError>
pub fn build(self) -> Result<DeleteBucketEncryptionInput, BuildError>
Consumes the builder and constructs a DeleteBucketEncryptionInput
.
Source§impl DeleteBucketEncryptionInputBuilder
impl DeleteBucketEncryptionInputBuilder
Sourcepub async fn send_with(
self,
client: &Client,
) -> Result<DeleteBucketEncryptionOutput, SdkError<DeleteBucketEncryptionError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<DeleteBucketEncryptionOutput, SdkError<DeleteBucketEncryptionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
Source§impl Clone for DeleteBucketEncryptionInputBuilder
impl Clone for DeleteBucketEncryptionInputBuilder
Source§fn clone(&self) -> DeleteBucketEncryptionInputBuilder
fn clone(&self) -> DeleteBucketEncryptionInputBuilder
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for DeleteBucketEncryptionInputBuilder
impl Default for DeleteBucketEncryptionInputBuilder
Source§fn default() -> DeleteBucketEncryptionInputBuilder
fn default() -> DeleteBucketEncryptionInputBuilder
Source§impl PartialEq for DeleteBucketEncryptionInputBuilder
impl PartialEq for DeleteBucketEncryptionInputBuilder
Source§fn eq(&self, other: &DeleteBucketEncryptionInputBuilder) -> bool
fn eq(&self, other: &DeleteBucketEncryptionInputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for DeleteBucketEncryptionInputBuilder
Auto Trait Implementations§
impl Freeze for DeleteBucketEncryptionInputBuilder
impl RefUnwindSafe for DeleteBucketEncryptionInputBuilder
impl Send for DeleteBucketEncryptionInputBuilder
impl Sync for DeleteBucketEncryptionInputBuilder
impl Unpin for DeleteBucketEncryptionInputBuilder
impl UnwindSafe for DeleteBucketEncryptionInputBuilder
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§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