Struct aws_sdk_backupstorage::client::fluent_builders::StartObject
source · pub struct StartObject { /* private fields */ }
Expand description
Fluent builder constructing a request to StartObject
.
Start upload containing one or many chunks.
Implementations§
source§impl StartObject
impl StartObject
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<StartObject, AwsResponseRetryClassifier>, SdkError<StartObjectError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<StartObject, AwsResponseRetryClassifier>, SdkError<StartObjectError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(self) -> Result<StartObjectOutput, SdkError<StartObjectError>>
pub async fn send(self) -> Result<StartObjectOutput, SdkError<StartObjectError>>
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 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.
Trait Implementations§
source§impl Clone for StartObject
impl Clone for StartObject
source§fn clone(&self) -> StartObject
fn clone(&self) -> StartObject
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more