Struct bonsaidb::keystorage::s3::aws_sdk_s3::types::builders::ErrorDocumentBuilder
pub struct ErrorDocumentBuilder { /* private fields */ }
Expand description
A builder for ErrorDocument
.
Implementations§
§impl ErrorDocumentBuilder
impl ErrorDocumentBuilder
pub fn key(self, input: impl Into<String>) -> ErrorDocumentBuilder
pub fn key(self, input: impl Into<String>) -> ErrorDocumentBuilder
The object key name to use when a 4XX class error occurs.
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_key(self, input: Option<String>) -> ErrorDocumentBuilder
pub fn set_key(self, input: Option<String>) -> ErrorDocumentBuilder
The object key name to use when a 4XX class error occurs.
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_key(&self) -> &Option<String>
pub fn get_key(&self) -> &Option<String>
The object key name to use when a 4XX class error occurs.
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) -> ErrorDocument
pub fn build(self) -> ErrorDocument
Consumes the builder and constructs a ErrorDocument
.
Trait Implementations§
§impl Clone for ErrorDocumentBuilder
impl Clone for ErrorDocumentBuilder
§fn clone(&self) -> ErrorDocumentBuilder
fn clone(&self) -> ErrorDocumentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl Debug for ErrorDocumentBuilder
impl Debug for ErrorDocumentBuilder
§impl Default for ErrorDocumentBuilder
impl Default for ErrorDocumentBuilder
§fn default() -> ErrorDocumentBuilder
fn default() -> ErrorDocumentBuilder
§impl PartialEq<ErrorDocumentBuilder> for ErrorDocumentBuilder
impl PartialEq<ErrorDocumentBuilder> for ErrorDocumentBuilder
§fn eq(&self, other: &ErrorDocumentBuilder) -> bool
fn eq(&self, other: &ErrorDocumentBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.