#[non_exhaustive]pub struct PutObjectInputBuilder { /* private fields */ }
Expand description
A builder for PutObjectInput
.
Implementations§
source§impl PutObjectInputBuilder
impl PutObjectInputBuilder
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
The name of the Object to be uploaded. This field is required.
sourcepub fn set_object_name(self, input: Option<String>) -> Self
pub fn set_object_name(self, input: Option<String>) -> Self
The name of the Object to be uploaded.
sourcepub fn get_object_name(&self) -> &Option<String>
pub fn get_object_name(&self) -> &Option<String>
The name of the Object to be uploaded.
sourcepub fn metadata_string(self, input: impl Into<String>) -> Self
pub fn metadata_string(self, input: impl Into<String>) -> Self
Store user defined metadata like backup checksum, disk ids, restore metadata etc.
sourcepub fn set_metadata_string(self, input: Option<String>) -> Self
pub fn set_metadata_string(self, input: Option<String>) -> Self
Store user defined metadata like backup checksum, disk ids, restore metadata etc.
sourcepub fn get_metadata_string(&self) -> &Option<String>
pub fn get_metadata_string(&self) -> &Option<String>
Store user defined metadata like backup checksum, disk ids, restore metadata etc.
sourcepub fn inline_chunk(self, input: ByteStream) -> Self
pub fn inline_chunk(self, input: ByteStream) -> Self
Inline chunk data to be uploaded.
sourcepub fn set_inline_chunk(self, input: Option<ByteStream>) -> Self
pub fn set_inline_chunk(self, input: Option<ByteStream>) -> Self
Inline chunk data to be uploaded.
sourcepub fn get_inline_chunk(&self) -> &Option<ByteStream>
pub fn get_inline_chunk(&self) -> &Option<ByteStream>
Inline chunk data to be uploaded.
sourcepub fn inline_chunk_length(self, input: i64) -> Self
pub fn inline_chunk_length(self, input: i64) -> Self
Length of the inline chunk data.
sourcepub fn set_inline_chunk_length(self, input: Option<i64>) -> Self
pub fn set_inline_chunk_length(self, input: Option<i64>) -> Self
Length of the inline chunk data.
sourcepub fn get_inline_chunk_length(&self) -> &Option<i64>
pub fn get_inline_chunk_length(&self) -> &Option<i64>
Length of the inline chunk data.
sourcepub fn inline_chunk_checksum(self, input: impl Into<String>) -> Self
pub fn inline_chunk_checksum(self, input: impl Into<String>) -> Self
Inline chunk checksum
sourcepub fn set_inline_chunk_checksum(self, input: Option<String>) -> Self
pub fn set_inline_chunk_checksum(self, input: Option<String>) -> Self
Inline chunk checksum
sourcepub fn get_inline_chunk_checksum(&self) -> &Option<String>
pub fn get_inline_chunk_checksum(&self) -> &Option<String>
Inline chunk checksum
sourcepub fn inline_chunk_checksum_algorithm(self, input: impl Into<String>) -> Self
pub fn inline_chunk_checksum_algorithm(self, input: impl Into<String>) -> Self
Inline chunk checksum algorithm
sourcepub fn set_inline_chunk_checksum_algorithm(self, input: Option<String>) -> Self
pub fn set_inline_chunk_checksum_algorithm(self, input: Option<String>) -> Self
Inline chunk checksum algorithm
sourcepub fn get_inline_chunk_checksum_algorithm(&self) -> &Option<String>
pub fn get_inline_chunk_checksum_algorithm(&self) -> &Option<String>
Inline chunk checksum algorithm
sourcepub fn object_checksum(self, input: impl Into<String>) -> Self
pub fn object_checksum(self, input: impl Into<String>) -> Self
object checksum
sourcepub fn set_object_checksum(self, input: Option<String>) -> Self
pub fn set_object_checksum(self, input: Option<String>) -> Self
object checksum
sourcepub fn get_object_checksum(&self) -> &Option<String>
pub fn get_object_checksum(&self) -> &Option<String>
object checksum
sourcepub fn object_checksum_algorithm(self, input: SummaryChecksumAlgorithm) -> Self
pub fn object_checksum_algorithm(self, input: SummaryChecksumAlgorithm) -> Self
object checksum algorithm
sourcepub fn set_object_checksum_algorithm(
self,
input: Option<SummaryChecksumAlgorithm>
) -> Self
pub fn set_object_checksum_algorithm( self, input: Option<SummaryChecksumAlgorithm> ) -> Self
object checksum algorithm
sourcepub fn get_object_checksum_algorithm(&self) -> &Option<SummaryChecksumAlgorithm>
pub fn get_object_checksum_algorithm(&self) -> &Option<SummaryChecksumAlgorithm>
object checksum algorithm
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<PutObjectInput, BuildError>
pub fn build(self) -> Result<PutObjectInput, BuildError>
Consumes the builder and constructs a PutObjectInput
.
source§impl PutObjectInputBuilder
impl PutObjectInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<PutObjectOutput, SdkError<PutObjectError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<PutObjectOutput, SdkError<PutObjectError, HttpResponse>>
Sends a request with this input using the given client.