#[non_exhaustive]pub struct StartObjectInputBuilder { /* private fields */ }
Expand description
A builder for StartObjectInput
.
Implementations§
source§impl StartObjectInputBuilder
impl StartObjectInputBuilder
sourcepub fn backup_job_id(self, input: impl Into<String>) -> Self
pub fn backup_job_id(self, input: impl Into<String>) -> Self
Backup job Id for the in-progress backup This field is required.
sourcepub fn set_backup_job_id(self, input: Option<String>) -> Self
pub fn set_backup_job_id(self, input: Option<String>) -> Self
Backup job Id for the in-progress backup
sourcepub fn get_backup_job_id(&self) -> &Option<String>
pub fn get_backup_job_id(&self) -> &Option<String>
Backup job Id for the in-progress backup
sourcepub fn object_name(self, input: impl Into<String>) -> Self
pub fn object_name(self, input: impl Into<String>) -> Self
Name for the object. This field is required.
sourcepub fn set_object_name(self, input: Option<String>) -> Self
pub fn set_object_name(self, input: Option<String>) -> Self
Name for the object.
sourcepub fn get_object_name(&self) -> &Option<String>
pub fn get_object_name(&self) -> &Option<String>
Name for the object.
sourcepub fn throw_on_duplicate(self, input: bool) -> Self
pub fn throw_on_duplicate(self, input: bool) -> Self
Throw an exception if Object name is already exist.
sourcepub fn set_throw_on_duplicate(self, input: Option<bool>) -> Self
pub fn set_throw_on_duplicate(self, input: Option<bool>) -> Self
Throw an exception if Object name is already exist.
sourcepub fn get_throw_on_duplicate(&self) -> &Option<bool>
pub fn get_throw_on_duplicate(&self) -> &Option<bool>
Throw an exception if Object name is already exist.
sourcepub fn build(self) -> Result<StartObjectInput, BuildError>
pub fn build(self) -> Result<StartObjectInput, BuildError>
Consumes the builder and constructs a StartObjectInput
.
source§impl StartObjectInputBuilder
impl StartObjectInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<StartObjectOutput, SdkError<StartObjectError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<StartObjectOutput, SdkError<StartObjectError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for StartObjectInputBuilder
impl Clone for StartObjectInputBuilder
source§fn clone(&self) -> StartObjectInputBuilder
fn clone(&self) -> StartObjectInputBuilder
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 StartObjectInputBuilder
impl Debug for StartObjectInputBuilder
source§impl Default for StartObjectInputBuilder
impl Default for StartObjectInputBuilder
source§fn default() -> StartObjectInputBuilder
fn default() -> StartObjectInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for StartObjectInputBuilder
impl PartialEq for StartObjectInputBuilder
source§fn eq(&self, other: &StartObjectInputBuilder) -> bool
fn eq(&self, other: &StartObjectInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StartObjectInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for StartObjectInputBuilder
impl Send for StartObjectInputBuilder
impl Sync for StartObjectInputBuilder
impl Unpin for StartObjectInputBuilder
impl UnwindSafe for StartObjectInputBuilder
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.