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