pub struct StartObjectFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to StartObject
.
Start upload containing one or many chunks.
Implementations§
source§impl StartObjectFluentBuilder
impl StartObjectFluentBuilder
sourcepub fn as_input(&self) -> &StartObjectInputBuilder
pub fn as_input(&self) -> &StartObjectInputBuilder
Access the StartObject as a reference.
sourcepub async fn send(
self
) -> Result<StartObjectOutput, SdkError<StartObjectError, HttpResponse>>
pub async fn send( self ) -> Result<StartObjectOutput, SdkError<StartObjectError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<StartObjectOutput, StartObjectError, Self>
pub fn customize( self ) -> CustomizableOperation<StartObjectOutput, StartObjectError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 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.
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.
Trait Implementations§
source§impl Clone for StartObjectFluentBuilder
impl Clone for StartObjectFluentBuilder
source§fn clone(&self) -> StartObjectFluentBuilder
fn clone(&self) -> StartObjectFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for StartObjectFluentBuilder
impl !RefUnwindSafe for StartObjectFluentBuilder
impl Send for StartObjectFluentBuilder
impl Sync for StartObjectFluentBuilder
impl Unpin for StartObjectFluentBuilder
impl !UnwindSafe for StartObjectFluentBuilder
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> 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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more