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
Version ID for the specific version of the object to delete.
This functionality is not supported for directory buckets.
sourcepub fn set_version_id(self, input: Option<String>) -> Self
pub fn set_version_id(self, input: Option<String>) -> Self
Version ID for the specific version of the object to delete.
This functionality is not supported for directory buckets.
sourcepub fn get_version_id(&self) -> &Option<String>
pub fn get_version_id(&self) -> &Option<String>
Version ID for the specific version of the object to delete.
This functionality is not supported for directory buckets.
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
impl StructuralPartialEq for ObjectIdentifierBuilder
Auto Trait Implementations§
impl Freeze for ObjectIdentifierBuilder
impl RefUnwindSafe for ObjectIdentifierBuilder
impl Send for ObjectIdentifierBuilder
impl Sync for ObjectIdentifierBuilder
impl Unpin for ObjectIdentifierBuilder
impl UnwindSafe for ObjectIdentifierBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)