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 more