#[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
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 object_name(self, input: impl Into<String>) -> Self
pub fn object_name(self, input: impl Into<String>) -> Self
Name for the object.
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 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 build(self) -> Result<StartObjectInput, BuildError>
pub fn build(self) -> Result<StartObjectInput, BuildError>
Consumes the builder and constructs a StartObjectInput
.
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<StartObjectInputBuilder> for StartObjectInputBuilder
impl PartialEq<StartObjectInputBuilder> 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 ==
.