pub struct PutBucketWebsite { /* private fields */ }Expand description
Configure bucket static website hosting.
See the Alibaba Cloud documentation for details.
Implementations§
Source§impl PutBucketWebsite
impl PutBucketWebsite
Sourcepub fn set_index_document(self, suffix: impl ToString) -> Self
pub fn set_index_document(self, suffix: impl ToString) -> Self
Set the index document suffix (for example, index.html).
Sourcepub fn set_error_document(self, key: impl ToString) -> Self
pub fn set_error_document(self, key: impl ToString) -> Self
Set the error document key (for example, error.html).
Sourcepub fn set_configuration(self, config: WebsiteConfiguration) -> Self
pub fn set_configuration(self, config: WebsiteConfiguration) -> Self
Replace the raw configuration object.
Auto Trait Implementations§
impl Freeze for PutBucketWebsite
impl !RefUnwindSafe for PutBucketWebsite
impl Send for PutBucketWebsite
impl Sync for PutBucketWebsite
impl Unpin for PutBucketWebsite
impl !UnwindSafe for PutBucketWebsite
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
Mutably borrows from an owned value. Read more