#[non_exhaustive]pub struct DeleteObjectInputBuilder { /* private fields */ }Expand description
A builder for DeleteObjectInput.
Implementations§
source§impl DeleteObjectInputBuilder
impl DeleteObjectInputBuilder
sourcepub fn directory_arn(self, input: impl Into<String>) -> Self
pub fn directory_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) that is associated with the Directory where the object resides. For more information, see arns.
sourcepub fn set_directory_arn(self, input: Option<String>) -> Self
pub fn set_directory_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) that is associated with the Directory where the object resides. For more information, see arns.
sourcepub fn get_directory_arn(&self) -> &Option<String>
pub fn get_directory_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) that is associated with the Directory where the object resides. For more information, see arns.
sourcepub fn object_reference(self, input: ObjectReference) -> Self
pub fn object_reference(self, input: ObjectReference) -> Self
A reference that identifies the object.
This field is required.sourcepub fn set_object_reference(self, input: Option<ObjectReference>) -> Self
pub fn set_object_reference(self, input: Option<ObjectReference>) -> Self
A reference that identifies the object.
sourcepub fn get_object_reference(&self) -> &Option<ObjectReference>
pub fn get_object_reference(&self) -> &Option<ObjectReference>
A reference that identifies the object.
sourcepub fn build(self) -> Result<DeleteObjectInput, BuildError>
pub fn build(self) -> Result<DeleteObjectInput, BuildError>
Consumes the builder and constructs a DeleteObjectInput.
source§impl DeleteObjectInputBuilder
impl DeleteObjectInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeleteObjectOutput, SdkError<DeleteObjectError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeleteObjectOutput, SdkError<DeleteObjectError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteObjectInputBuilder
impl Clone for DeleteObjectInputBuilder
source§fn clone(&self) -> DeleteObjectInputBuilder
fn clone(&self) -> DeleteObjectInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for DeleteObjectInputBuilder
impl Debug for DeleteObjectInputBuilder
source§impl Default for DeleteObjectInputBuilder
impl Default for DeleteObjectInputBuilder
source§fn default() -> DeleteObjectInputBuilder
fn default() -> DeleteObjectInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DeleteObjectInputBuilder
impl PartialEq for DeleteObjectInputBuilder
source§fn eq(&self, other: &DeleteObjectInputBuilder) -> bool
fn eq(&self, other: &DeleteObjectInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DeleteObjectInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DeleteObjectInputBuilder
impl Send for DeleteObjectInputBuilder
impl Sync for DeleteObjectInputBuilder
impl Unpin for DeleteObjectInputBuilder
impl UnwindSafe for DeleteObjectInputBuilder
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
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.