Struct bonsaidb::keystorage::s3::aws_sdk_s3::operation::get_bucket_website::builders::GetBucketWebsiteOutputBuilder
pub struct GetBucketWebsiteOutputBuilder { /* private fields */ }
Expand description
A builder for GetBucketWebsiteOutput
.
Implementations§
§impl GetBucketWebsiteOutputBuilder
impl GetBucketWebsiteOutputBuilder
pub fn redirect_all_requests_to(
self,
input: RedirectAllRequestsTo
) -> GetBucketWebsiteOutputBuilder
pub fn redirect_all_requests_to( self, input: RedirectAllRequestsTo ) -> GetBucketWebsiteOutputBuilder
Specifies the redirect behavior of all requests to a website endpoint of an Amazon S3 bucket.
pub fn set_redirect_all_requests_to(
self,
input: Option<RedirectAllRequestsTo>
) -> GetBucketWebsiteOutputBuilder
pub fn set_redirect_all_requests_to( self, input: Option<RedirectAllRequestsTo> ) -> GetBucketWebsiteOutputBuilder
Specifies the redirect behavior of all requests to a website endpoint of an Amazon S3 bucket.
pub fn get_redirect_all_requests_to(&self) -> &Option<RedirectAllRequestsTo>
pub fn get_redirect_all_requests_to(&self) -> &Option<RedirectAllRequestsTo>
Specifies the redirect behavior of all requests to a website endpoint of an Amazon S3 bucket.
pub fn index_document(
self,
input: IndexDocument
) -> GetBucketWebsiteOutputBuilder
pub fn index_document( self, input: IndexDocument ) -> GetBucketWebsiteOutputBuilder
The name of the index document for the website (for example index.html
).
pub fn set_index_document(
self,
input: Option<IndexDocument>
) -> GetBucketWebsiteOutputBuilder
pub fn set_index_document( self, input: Option<IndexDocument> ) -> GetBucketWebsiteOutputBuilder
The name of the index document for the website (for example index.html
).
pub fn get_index_document(&self) -> &Option<IndexDocument>
pub fn get_index_document(&self) -> &Option<IndexDocument>
The name of the index document for the website (for example index.html
).
pub fn error_document(
self,
input: ErrorDocument
) -> GetBucketWebsiteOutputBuilder
pub fn error_document( self, input: ErrorDocument ) -> GetBucketWebsiteOutputBuilder
The object key name of the website error document to use for 4XX class errors.
pub fn set_error_document(
self,
input: Option<ErrorDocument>
) -> GetBucketWebsiteOutputBuilder
pub fn set_error_document( self, input: Option<ErrorDocument> ) -> GetBucketWebsiteOutputBuilder
The object key name of the website error document to use for 4XX class errors.
pub fn get_error_document(&self) -> &Option<ErrorDocument>
pub fn get_error_document(&self) -> &Option<ErrorDocument>
The object key name of the website error document to use for 4XX class errors.
pub fn routing_rules(self, input: RoutingRule) -> GetBucketWebsiteOutputBuilder
pub fn routing_rules(self, input: RoutingRule) -> GetBucketWebsiteOutputBuilder
Appends an item to routing_rules
.
To override the contents of this collection use set_routing_rules
.
Rules that define when a redirect is applied and the redirect behavior.
pub fn set_routing_rules(
self,
input: Option<Vec<RoutingRule, Global>>
) -> GetBucketWebsiteOutputBuilder
pub fn set_routing_rules( self, input: Option<Vec<RoutingRule, Global>> ) -> GetBucketWebsiteOutputBuilder
Rules that define when a redirect is applied and the redirect behavior.
pub fn get_routing_rules(&self) -> &Option<Vec<RoutingRule, Global>>
pub fn get_routing_rules(&self) -> &Option<Vec<RoutingRule, Global>>
Rules that define when a redirect is applied and the redirect behavior.
pub fn build(self) -> GetBucketWebsiteOutput
pub fn build(self) -> GetBucketWebsiteOutput
Consumes the builder and constructs a GetBucketWebsiteOutput
.
Trait Implementations§
§impl Clone for GetBucketWebsiteOutputBuilder
impl Clone for GetBucketWebsiteOutputBuilder
§fn clone(&self) -> GetBucketWebsiteOutputBuilder
fn clone(&self) -> GetBucketWebsiteOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl Debug for GetBucketWebsiteOutputBuilder
impl Debug for GetBucketWebsiteOutputBuilder
§impl Default for GetBucketWebsiteOutputBuilder
impl Default for GetBucketWebsiteOutputBuilder
§fn default() -> GetBucketWebsiteOutputBuilder
fn default() -> GetBucketWebsiteOutputBuilder
§impl PartialEq<GetBucketWebsiteOutputBuilder> for GetBucketWebsiteOutputBuilder
impl PartialEq<GetBucketWebsiteOutputBuilder> for GetBucketWebsiteOutputBuilder
§fn eq(&self, other: &GetBucketWebsiteOutputBuilder) -> bool
fn eq(&self, other: &GetBucketWebsiteOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.