Struct bonsaidb::keystorage::s3::aws_sdk_s3::types::builders::IndexDocumentBuilder
#[non_exhaustive]pub struct IndexDocumentBuilder { /* private fields */ }
Expand description
A builder for IndexDocument
.
Implementations§
§impl IndexDocumentBuilder
impl IndexDocumentBuilder
pub fn suffix(self, input: impl Into<String>) -> IndexDocumentBuilder
pub fn suffix(self, input: impl Into<String>) -> IndexDocumentBuilder
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.
pub fn set_suffix(self, input: Option<String>) -> IndexDocumentBuilder
pub fn set_suffix(self, input: Option<String>) -> IndexDocumentBuilder
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.
pub 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.
pub fn build(self) -> IndexDocument
pub fn build(self) -> IndexDocument
Consumes the builder and constructs a IndexDocument
.
Trait Implementations§
§impl Clone for IndexDocumentBuilder
impl Clone for IndexDocumentBuilder
§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 more§impl Debug for IndexDocumentBuilder
impl Debug for IndexDocumentBuilder
§impl Default for IndexDocumentBuilder
impl Default for IndexDocumentBuilder
§fn default() -> IndexDocumentBuilder
fn default() -> IndexDocumentBuilder
§impl PartialEq for IndexDocumentBuilder
impl PartialEq for IndexDocumentBuilder
§fn eq(&self, other: &IndexDocumentBuilder) -> bool
fn eq(&self, other: &IndexDocumentBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.