Struct aws_sdk_s3::types::builders::ObjectIdentifierBuilder
source · #[non_exhaustive]pub struct ObjectIdentifierBuilder { /* private fields */ }
Expand description
A builder for ObjectIdentifier
.
Implementations§
source§impl ObjectIdentifierBuilder
impl ObjectIdentifierBuilder
sourcepub fn key(self, input: impl Into<String>) -> Self
pub fn key(self, input: impl Into<String>) -> Self
Key name of the object.
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_key(self, input: Option<String>) -> Self
pub fn set_key(self, input: Option<String>) -> Self
Key name of the object.
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_key(&self) -> &Option<String>
pub fn get_key(&self) -> &Option<String>
Key name of the object.
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 version_id(self, input: impl Into<String>) -> Self
pub fn version_id(self, input: impl Into<String>) -> Self
VersionId for the specific version of the object to delete.
sourcepub fn set_version_id(self, input: Option<String>) -> Self
pub fn set_version_id(self, input: Option<String>) -> Self
VersionId for the specific version of the object to delete.
sourcepub fn get_version_id(&self) -> &Option<String>
pub fn get_version_id(&self) -> &Option<String>
VersionId for the specific version of the object to delete.
sourcepub fn build(self) -> Result<ObjectIdentifier, BuildError>
pub fn build(self) -> Result<ObjectIdentifier, BuildError>
Consumes the builder and constructs a ObjectIdentifier
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ObjectIdentifierBuilder
impl Clone for ObjectIdentifierBuilder
source§fn clone(&self) -> ObjectIdentifierBuilder
fn clone(&self) -> ObjectIdentifierBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ObjectIdentifierBuilder
impl Debug for ObjectIdentifierBuilder
source§impl Default for ObjectIdentifierBuilder
impl Default for ObjectIdentifierBuilder
source§fn default() -> ObjectIdentifierBuilder
fn default() -> ObjectIdentifierBuilder
source§impl PartialEq for ObjectIdentifierBuilder
impl PartialEq for ObjectIdentifierBuilder
source§fn eq(&self, other: &ObjectIdentifierBuilder) -> bool
fn eq(&self, other: &ObjectIdentifierBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.