#[non_exhaustive]pub struct GetChunkOutputBuilder { /* private fields */ }
Expand description
A builder for GetChunkOutput
.
Implementations§
source§impl GetChunkOutputBuilder
impl GetChunkOutputBuilder
sourcepub fn data(self, input: ByteStream) -> Self
pub fn data(self, input: ByteStream) -> Self
Chunk data This field is required.
sourcepub fn set_data(self, input: Option<ByteStream>) -> Self
pub fn set_data(self, input: Option<ByteStream>) -> Self
Chunk data
sourcepub fn get_data(&self) -> &Option<ByteStream>
pub fn get_data(&self) -> &Option<ByteStream>
Chunk data
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 This field is required.
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
sourcepub fn build(self) -> Result<GetChunkOutput, BuildError>
pub fn build(self) -> Result<GetChunkOutput, BuildError>
Consumes the builder and constructs a GetChunkOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Debug for GetChunkOutputBuilder
impl Debug for GetChunkOutputBuilder
source§impl Default for GetChunkOutputBuilder
impl Default for GetChunkOutputBuilder
source§fn default() -> GetChunkOutputBuilder
fn default() -> GetChunkOutputBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for GetChunkOutputBuilder
impl Send for GetChunkOutputBuilder
impl Sync for GetChunkOutputBuilder
impl Unpin for GetChunkOutputBuilder
impl !UnwindSafe for GetChunkOutputBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.