Struct aws_sdk_qldb::operation::cancel_journal_kinesis_stream::builders::CancelJournalKinesisStreamFluentBuilder
source · pub struct CancelJournalKinesisStreamFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CancelJournalKinesisStream
.
Ends a given Amazon QLDB journal stream. Before a stream can be canceled, its current status must be ACTIVE
.
You can't restart a stream after you cancel it. Canceled QLDB stream resources are subject to a 7-day retention period, so they are automatically deleted after this limit expires.
Implementations§
source§impl CancelJournalKinesisStreamFluentBuilder
impl CancelJournalKinesisStreamFluentBuilder
sourcepub fn as_input(&self) -> &CancelJournalKinesisStreamInputBuilder
pub fn as_input(&self) -> &CancelJournalKinesisStreamInputBuilder
Access the CancelJournalKinesisStream as a reference.
sourcepub async fn send(
self
) -> Result<CancelJournalKinesisStreamOutput, SdkError<CancelJournalKinesisStreamError, HttpResponse>>
pub async fn send( self ) -> Result<CancelJournalKinesisStreamOutput, SdkError<CancelJournalKinesisStreamError, 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<CancelJournalKinesisStreamOutput, CancelJournalKinesisStreamError, Self>
pub fn customize( self ) -> CustomizableOperation<CancelJournalKinesisStreamOutput, CancelJournalKinesisStreamError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn ledger_name(self, input: impl Into<String>) -> Self
pub fn ledger_name(self, input: impl Into<String>) -> Self
The name of the ledger.
sourcepub fn set_ledger_name(self, input: Option<String>) -> Self
pub fn set_ledger_name(self, input: Option<String>) -> Self
The name of the ledger.
sourcepub fn get_ledger_name(&self) -> &Option<String>
pub fn get_ledger_name(&self) -> &Option<String>
The name of the ledger.
sourcepub fn stream_id(self, input: impl Into<String>) -> Self
pub fn stream_id(self, input: impl Into<String>) -> Self
The UUID (represented in Base62-encoded text) of the QLDB journal stream to be canceled.
sourcepub fn set_stream_id(self, input: Option<String>) -> Self
pub fn set_stream_id(self, input: Option<String>) -> Self
The UUID (represented in Base62-encoded text) of the QLDB journal stream to be canceled.
sourcepub fn get_stream_id(&self) -> &Option<String>
pub fn get_stream_id(&self) -> &Option<String>
The UUID (represented in Base62-encoded text) of the QLDB journal stream to be canceled.
Trait Implementations§
source§impl Clone for CancelJournalKinesisStreamFluentBuilder
impl Clone for CancelJournalKinesisStreamFluentBuilder
source§fn clone(&self) -> CancelJournalKinesisStreamFluentBuilder
fn clone(&self) -> CancelJournalKinesisStreamFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for CancelJournalKinesisStreamFluentBuilder
impl !RefUnwindSafe for CancelJournalKinesisStreamFluentBuilder
impl Send for CancelJournalKinesisStreamFluentBuilder
impl Sync for CancelJournalKinesisStreamFluentBuilder
impl Unpin for CancelJournalKinesisStreamFluentBuilder
impl !UnwindSafe for CancelJournalKinesisStreamFluentBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more