Struct aws_sdk_s3::model::index_document::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for IndexDocument
.
Implementations
sourceimpl Builder
impl Builder
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 build(self) -> IndexDocument
pub fn build(self) -> IndexDocument
Consumes the builder and constructs a IndexDocument
.