#[non_exhaustive]pub struct PutChunkInputBuilder { /* private fields */ }
Expand description
A builder for PutChunkInput
.
Implementations§
source§impl PutChunkInputBuilder
impl PutChunkInputBuilder
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 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 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 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 set_length(self, input: Option<i64>) -> Self
pub fn set_length(self, input: Option<i64>) -> Self
Data length
sourcepub fn set_checksum(self, input: Option<String>) -> Self
pub fn set_checksum(self, input: Option<String>) -> Self
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 build(self) -> Result<PutChunkInput, BuildError>
pub fn build(self) -> Result<PutChunkInput, BuildError>
Consumes the builder and constructs a PutChunkInput
.
Trait Implementations§
source§impl Debug for PutChunkInputBuilder
impl Debug for PutChunkInputBuilder
source§impl Default for PutChunkInputBuilder
impl Default for PutChunkInputBuilder
source§fn default() -> PutChunkInputBuilder
fn default() -> PutChunkInputBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for PutChunkInputBuilder
impl Send for PutChunkInputBuilder
impl Sync for PutChunkInputBuilder
impl Unpin for PutChunkInputBuilder
impl !UnwindSafe for PutChunkInputBuilder
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
Mutably borrows from an owned value. Read more