Struct aws_sdk_firehose::output::put_record_batch_output::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for PutRecordBatchOutput
Implementations
sourceimpl Builder
impl Builder
sourcepub fn failed_put_count(self, input: i32) -> Self
pub fn failed_put_count(self, input: i32) -> Self
The number of records that might have failed processing. This number might be greater than 0 even if the PutRecordBatch
call succeeds. Check FailedPutCount
to determine whether there are records that you need to resend.
sourcepub fn set_failed_put_count(self, input: Option<i32>) -> Self
pub fn set_failed_put_count(self, input: Option<i32>) -> Self
The number of records that might have failed processing. This number might be greater than 0 even if the PutRecordBatch
call succeeds. Check FailedPutCount
to determine whether there are records that you need to resend.
sourcepub fn encrypted(self, input: bool) -> Self
pub fn encrypted(self, input: bool) -> Self
Indicates whether server-side encryption (SSE) was enabled during this operation.
sourcepub fn set_encrypted(self, input: Option<bool>) -> Self
pub fn set_encrypted(self, input: Option<bool>) -> Self
Indicates whether server-side encryption (SSE) was enabled during this operation.
sourcepub fn request_responses(self, input: PutRecordBatchResponseEntry) -> Self
pub fn request_responses(self, input: PutRecordBatchResponseEntry) -> Self
Appends an item to request_responses
.
To override the contents of this collection use set_request_responses
.
The results array. For each record, the index of the response element is the same as the index used in the request array.
sourcepub fn set_request_responses(
self,
input: Option<Vec<PutRecordBatchResponseEntry>>
) -> Self
pub fn set_request_responses(
self,
input: Option<Vec<PutRecordBatchResponseEntry>>
) -> Self
The results array. For each record, the index of the response element is the same as the index used in the request array.
sourcepub fn build(self) -> PutRecordBatchOutput
pub fn build(self) -> PutRecordBatchOutput
Consumes the builder and constructs a PutRecordBatchOutput
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more