pub struct PutChunkFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to PutChunk
.
Upload chunk.
Implementations§
source§impl PutChunkFluentBuilder
impl PutChunkFluentBuilder
sourcepub fn as_input(&self) -> &PutChunkInputBuilder
pub fn as_input(&self) -> &PutChunkInputBuilder
Access the PutChunk as a reference.
sourcepub async fn send(
self
) -> Result<PutChunkOutput, SdkError<PutChunkError, HttpResponse>>
pub async fn send( self ) -> Result<PutChunkOutput, SdkError<PutChunkError, 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<PutChunkOutput, PutChunkError, Self>
pub fn customize( self ) -> CustomizableOperation<PutChunkOutput, PutChunkError, 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 set_upload_id(self, input: Option<String>) -> Self
pub fn set_upload_id(self, input: Option<String>) -> Self
Upload Id for the in-progress upload.
sourcepub fn get_upload_id(&self) -> &Option<String>
pub fn get_upload_id(&self) -> &Option<String>
Upload Id for the in-progress upload.
sourcepub fn chunk_index(self, input: i64) -> Self
pub fn chunk_index(self, input: i64) -> Self
Describes this chunk’s position relative to the other chunks
sourcepub fn set_chunk_index(self, input: Option<i64>) -> Self
pub fn set_chunk_index(self, input: Option<i64>) -> Self
Describes this chunk’s position relative to the other chunks
sourcepub fn get_chunk_index(&self) -> &Option<i64>
pub fn get_chunk_index(&self) -> &Option<i64>
Describes this chunk’s position relative to the other chunks
sourcepub fn data(self, input: ByteStream) -> Self
pub fn data(self, input: ByteStream) -> Self
Data to be uploaded
sourcepub fn set_data(self, input: Option<ByteStream>) -> Self
pub fn set_data(self, input: Option<ByteStream>) -> Self
Data to be uploaded
sourcepub fn get_data(&self) -> &Option<ByteStream>
pub fn get_data(&self) -> &Option<ByteStream>
Data to be uploaded
sourcepub fn set_length(self, input: Option<i64>) -> Self
pub fn set_length(self, input: Option<i64>) -> Self
Data length
sourcepub fn get_length(&self) -> &Option<i64>
pub fn get_length(&self) -> &Option<i64>
Data length
sourcepub fn set_checksum(self, input: Option<String>) -> Self
pub fn set_checksum(self, input: Option<String>) -> Self
Data checksum
sourcepub fn get_checksum(&self) -> &Option<String>
pub fn get_checksum(&self) -> &Option<String>
Data checksum
sourcepub fn checksum_algorithm(self, input: DataChecksumAlgorithm) -> Self
pub fn checksum_algorithm(self, input: DataChecksumAlgorithm) -> Self
Checksum algorithm
sourcepub fn set_checksum_algorithm(
self,
input: Option<DataChecksumAlgorithm>
) -> Self
pub fn set_checksum_algorithm( self, input: Option<DataChecksumAlgorithm> ) -> Self
Checksum algorithm
sourcepub fn get_checksum_algorithm(&self) -> &Option<DataChecksumAlgorithm>
pub fn get_checksum_algorithm(&self) -> &Option<DataChecksumAlgorithm>
Checksum algorithm