Struct aws_sdk_s3::types::builders::IndexDocumentBuilder
source · #[non_exhaustive]pub struct IndexDocumentBuilder { /* private fields */ }
Expand description
A builder for IndexDocument
.
Implementations§
source§impl IndexDocumentBuilder
impl IndexDocumentBuilder
sourcepub fn suffix(self, input: impl Into<String>) -> Self
pub fn suffix(self, input: impl Into<String>) -> Self
A suffix that is appended to a request that is for a directory on the website endpoint (for example,if the suffix is index.html and you make a request to samplebucket/images/ the data that is returned will be for the object with the key name images/index.html) The suffix must not be empty and must not include a slash character.
Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints.
sourcepub fn set_suffix(self, input: Option<String>) -> Self
pub fn set_suffix(self, input: Option<String>) -> Self
A suffix that is appended to a request that is for a directory on the website endpoint (for example,if the suffix is index.html and you make a request to samplebucket/images/ the data that is returned will be for the object with the key name images/index.html) The suffix must not be empty and must not include a slash character.
Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints.
sourcepub fn get_suffix(&self) -> &Option<String>
pub fn get_suffix(&self) -> &Option<String>
A suffix that is appended to a request that is for a directory on the website endpoint (for example,if the suffix is index.html and you make a request to samplebucket/images/ the data that is returned will be for the object with the key name images/index.html) The suffix must not be empty and must not include a slash character.
Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints.
sourcepub fn build(self) -> Result<IndexDocument, BuildError>
pub fn build(self) -> Result<IndexDocument, BuildError>
Consumes the builder and constructs a IndexDocument
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for IndexDocumentBuilder
impl Clone for IndexDocumentBuilder
source§fn clone(&self) -> IndexDocumentBuilder
fn clone(&self) -> IndexDocumentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for IndexDocumentBuilder
impl Debug for IndexDocumentBuilder
source§impl Default for IndexDocumentBuilder
impl Default for IndexDocumentBuilder
source§fn default() -> IndexDocumentBuilder
fn default() -> IndexDocumentBuilder
source§impl PartialEq for IndexDocumentBuilder
impl PartialEq for IndexDocumentBuilder
impl StructuralPartialEq for IndexDocumentBuilder
Auto Trait Implementations§
impl Freeze for IndexDocumentBuilder
impl RefUnwindSafe for IndexDocumentBuilder
impl Send for IndexDocumentBuilder
impl Sync for IndexDocumentBuilder
impl Unpin for IndexDocumentBuilder
impl UnwindSafe for IndexDocumentBuilder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)