Struct bonsaidb::keystorage::s3::aws_sdk_s3::operation::delete_bucket_cors::builders::DeleteBucketCorsInputBuilder
pub struct DeleteBucketCorsInputBuilder { /* private fields */ }
Expand description
A builder for DeleteBucketCorsInput
.
Implementations§
§impl DeleteBucketCorsInputBuilder
impl DeleteBucketCorsInputBuilder
pub fn bucket(self, input: impl Into<String>) -> DeleteBucketCorsInputBuilder
pub fn bucket(self, input: impl Into<String>) -> DeleteBucketCorsInputBuilder
Specifies the bucket whose cors
configuration is being deleted.
pub fn set_bucket(self, input: Option<String>) -> DeleteBucketCorsInputBuilder
pub fn set_bucket(self, input: Option<String>) -> DeleteBucketCorsInputBuilder
Specifies the bucket whose cors
configuration is being deleted.
pub fn get_bucket(&self) -> &Option<String>
pub fn get_bucket(&self) -> &Option<String>
Specifies the bucket whose cors
configuration is being deleted.
pub fn expected_bucket_owner(
self,
input: impl Into<String>
) -> DeleteBucketCorsInputBuilder
pub fn expected_bucket_owner( self, input: impl Into<String> ) -> DeleteBucketCorsInputBuilder
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>
) -> DeleteBucketCorsInputBuilder
pub fn set_expected_bucket_owner( self, input: Option<String> ) -> DeleteBucketCorsInputBuilder
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<DeleteBucketCorsInput, BuildError>
pub fn build(self) -> Result<DeleteBucketCorsInput, BuildError>
Consumes the builder and constructs a DeleteBucketCorsInput
.
§impl DeleteBucketCorsInputBuilder
impl DeleteBucketCorsInputBuilder
pub async fn send_with(
self,
client: &Client
) -> impl Future<Output = Result<DeleteBucketCorsOutput, SdkError<DeleteBucketCorsError, Response<SdkBody>>>>
pub async fn send_with( self, client: &Client ) -> impl Future<Output = Result<DeleteBucketCorsOutput, SdkError<DeleteBucketCorsError, Response<SdkBody>>>>
Sends a request with this input using the given client.
Trait Implementations§
§impl Clone for DeleteBucketCorsInputBuilder
impl Clone for DeleteBucketCorsInputBuilder
§fn clone(&self) -> DeleteBucketCorsInputBuilder
fn clone(&self) -> DeleteBucketCorsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl Debug for DeleteBucketCorsInputBuilder
impl Debug for DeleteBucketCorsInputBuilder
§impl Default for DeleteBucketCorsInputBuilder
impl Default for DeleteBucketCorsInputBuilder
§fn default() -> DeleteBucketCorsInputBuilder
fn default() -> DeleteBucketCorsInputBuilder
§impl PartialEq<DeleteBucketCorsInputBuilder> for DeleteBucketCorsInputBuilder
impl PartialEq<DeleteBucketCorsInputBuilder> for DeleteBucketCorsInputBuilder
§fn eq(&self, other: &DeleteBucketCorsInputBuilder) -> bool
fn eq(&self, other: &DeleteBucketCorsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.