#[non_exhaustive]pub struct JournalKinesisStreamDescriptionBuilder { /* private fields */ }Expand description
A builder for JournalKinesisStreamDescription.
Implementations§
source§impl JournalKinesisStreamDescriptionBuilder
impl JournalKinesisStreamDescriptionBuilder
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.
This field is required.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 creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The date and time, in epoch time format, when the QLDB journal stream was created. (Epoch time format is the number of seconds elapsed since 12:00:00 AM January 1, 1970 UTC.)
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
The date and time, in epoch time format, when the QLDB journal stream was created. (Epoch time format is the number of seconds elapsed since 12:00:00 AM January 1, 1970 UTC.)
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
The date and time, in epoch time format, when the QLDB journal stream was created. (Epoch time format is the number of seconds elapsed since 12:00:00 AM January 1, 1970 UTC.)
sourcepub fn inclusive_start_time(self, input: DateTime) -> Self
pub fn inclusive_start_time(self, input: DateTime) -> Self
The inclusive start date and time from which to start streaming journal data.
sourcepub fn set_inclusive_start_time(self, input: Option<DateTime>) -> Self
pub fn set_inclusive_start_time(self, input: Option<DateTime>) -> Self
The inclusive start date and time from which to start streaming journal data.
sourcepub fn get_inclusive_start_time(&self) -> &Option<DateTime>
pub fn get_inclusive_start_time(&self) -> &Option<DateTime>
The inclusive start date and time from which to start streaming journal data.
sourcepub fn exclusive_end_time(self, input: DateTime) -> Self
pub fn exclusive_end_time(self, input: DateTime) -> Self
The exclusive date and time that specifies when the stream ends. If this parameter is undefined, the stream runs indefinitely until you cancel it.
sourcepub fn set_exclusive_end_time(self, input: Option<DateTime>) -> Self
pub fn set_exclusive_end_time(self, input: Option<DateTime>) -> Self
The exclusive date and time that specifies when the stream ends. If this parameter is undefined, the stream runs indefinitely until you cancel it.
sourcepub fn get_exclusive_end_time(&self) -> &Option<DateTime>
pub fn get_exclusive_end_time(&self) -> &Option<DateTime>
The exclusive date and time that specifies when the stream ends. If this parameter is undefined, the stream runs indefinitely until you cancel it.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions for a journal stream to write data records to a Kinesis Data Streams resource.
This field is required.sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions for a journal stream to write data records to a Kinesis Data Streams resource.
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions for a journal stream to write data records to a Kinesis Data Streams resource.
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.
This field is required.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.
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.
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the QLDB journal stream.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the QLDB journal stream.
sourcepub fn get_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the QLDB journal stream.
sourcepub fn status(self, input: StreamStatus) -> Self
pub fn status(self, input: StreamStatus) -> Self
The current state of the QLDB journal stream.
This field is required.sourcepub fn set_status(self, input: Option<StreamStatus>) -> Self
pub fn set_status(self, input: Option<StreamStatus>) -> Self
The current state of the QLDB journal stream.
sourcepub fn get_status(&self) -> &Option<StreamStatus>
pub fn get_status(&self) -> &Option<StreamStatus>
The current state of the QLDB journal stream.
sourcepub fn kinesis_configuration(self, input: KinesisConfiguration) -> Self
pub fn kinesis_configuration(self, input: KinesisConfiguration) -> Self
The configuration settings of the Amazon Kinesis Data Streams destination for a QLDB journal stream.
This field is required.sourcepub fn set_kinesis_configuration(
self,
input: Option<KinesisConfiguration>,
) -> Self
pub fn set_kinesis_configuration( self, input: Option<KinesisConfiguration>, ) -> Self
The configuration settings of the Amazon Kinesis Data Streams destination for a QLDB journal stream.
sourcepub fn get_kinesis_configuration(&self) -> &Option<KinesisConfiguration>
pub fn get_kinesis_configuration(&self) -> &Option<KinesisConfiguration>
The configuration settings of the Amazon Kinesis Data Streams destination for a QLDB journal stream.
sourcepub fn error_cause(self, input: ErrorCause) -> Self
pub fn error_cause(self, input: ErrorCause) -> Self
The error message that describes the reason that a stream has a status of IMPAIRED or FAILED. This is not applicable to streams that have other status values.
sourcepub fn set_error_cause(self, input: Option<ErrorCause>) -> Self
pub fn set_error_cause(self, input: Option<ErrorCause>) -> Self
The error message that describes the reason that a stream has a status of IMPAIRED or FAILED. This is not applicable to streams that have other status values.
sourcepub fn get_error_cause(&self) -> &Option<ErrorCause>
pub fn get_error_cause(&self) -> &Option<ErrorCause>
The error message that describes the reason that a stream has a status of IMPAIRED or FAILED. This is not applicable to streams that have other status values.
sourcepub fn stream_name(self, input: impl Into<String>) -> Self
pub fn stream_name(self, input: impl Into<String>) -> Self
The user-defined name of the QLDB journal stream.
This field is required.sourcepub fn set_stream_name(self, input: Option<String>) -> Self
pub fn set_stream_name(self, input: Option<String>) -> Self
The user-defined name of the QLDB journal stream.
sourcepub fn get_stream_name(&self) -> &Option<String>
pub fn get_stream_name(&self) -> &Option<String>
The user-defined name of the QLDB journal stream.
sourcepub fn build(self) -> Result<JournalKinesisStreamDescription, BuildError>
pub fn build(self) -> Result<JournalKinesisStreamDescription, BuildError>
Consumes the builder and constructs a JournalKinesisStreamDescription.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for JournalKinesisStreamDescriptionBuilder
impl Clone for JournalKinesisStreamDescriptionBuilder
source§fn clone(&self) -> JournalKinesisStreamDescriptionBuilder
fn clone(&self) -> JournalKinesisStreamDescriptionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for JournalKinesisStreamDescriptionBuilder
impl Default for JournalKinesisStreamDescriptionBuilder
source§fn default() -> JournalKinesisStreamDescriptionBuilder
fn default() -> JournalKinesisStreamDescriptionBuilder
source§impl PartialEq for JournalKinesisStreamDescriptionBuilder
impl PartialEq for JournalKinesisStreamDescriptionBuilder
source§fn eq(&self, other: &JournalKinesisStreamDescriptionBuilder) -> bool
fn eq(&self, other: &JournalKinesisStreamDescriptionBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for JournalKinesisStreamDescriptionBuilder
Auto Trait Implementations§
impl Freeze for JournalKinesisStreamDescriptionBuilder
impl RefUnwindSafe for JournalKinesisStreamDescriptionBuilder
impl Send for JournalKinesisStreamDescriptionBuilder
impl Sync for JournalKinesisStreamDescriptionBuilder
impl Unpin for JournalKinesisStreamDescriptionBuilder
impl UnwindSafe for JournalKinesisStreamDescriptionBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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