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