#[non_exhaustive]
pub struct JournalKinesisStreamDescriptionBuilder { /* private fields */ }
Expand description

Implementations§

source§

impl JournalKinesisStreamDescriptionBuilder

source

pub fn ledger_name(self, input: impl Into<String>) -> Self

The name of the ledger.

source

pub fn set_ledger_name(self, input: Option<String>) -> Self

The name of the ledger.

source

pub fn get_ledger_name(&self) -> &Option<String>

The name of the ledger.

source

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.)

source

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.)

source

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.)

source

pub fn inclusive_start_time(self, input: DateTime) -> Self

The inclusive start date and time from which to start streaming journal data.

source

pub fn set_inclusive_start_time(self, input: Option<DateTime>) -> Self

The inclusive start date and time from which to start streaming journal data.

source

pub fn get_inclusive_start_time(&self) -> &Option<DateTime>

The inclusive start date and time from which to start streaming journal data.

source

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.

source

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.

source

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.

source

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.

source

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.

source

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.

source

pub fn stream_id(self, input: impl Into<String>) -> Self

The UUID (represented in Base62-encoded text) of the QLDB journal stream.

source

pub fn set_stream_id(self, input: Option<String>) -> Self

The UUID (represented in Base62-encoded text) of the QLDB journal stream.

source

pub fn get_stream_id(&self) -> &Option<String>

The UUID (represented in Base62-encoded text) of the QLDB journal stream.

source

pub fn arn(self, input: impl Into<String>) -> Self

The Amazon Resource Name (ARN) of the QLDB journal stream.

source

pub fn set_arn(self, input: Option<String>) -> Self

The Amazon Resource Name (ARN) of the QLDB journal stream.

source

pub fn get_arn(&self) -> &Option<String>

The Amazon Resource Name (ARN) of the QLDB journal stream.

source

pub fn status(self, input: StreamStatus) -> Self

The current state of the QLDB journal stream.

source

pub fn set_status(self, input: Option<StreamStatus>) -> Self

The current state of the QLDB journal stream.

source

pub fn get_status(&self) -> &Option<StreamStatus>

The current state of the QLDB journal stream.

source

pub fn kinesis_configuration(self, input: KinesisConfiguration) -> Self

The configuration settings of the Amazon Kinesis Data Streams destination for a QLDB journal stream.

source

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.

source

pub fn get_kinesis_configuration(&self) -> &Option<KinesisConfiguration>

The configuration settings of the Amazon Kinesis Data Streams destination for a QLDB journal stream.

source

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.

source

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.

source

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.

source

pub fn stream_name(self, input: impl Into<String>) -> Self

The user-defined name of the QLDB journal stream.

source

pub fn set_stream_name(self, input: Option<String>) -> Self

The user-defined name of the QLDB journal stream.

source

pub fn get_stream_name(&self) -> &Option<String>

The user-defined name of the QLDB journal stream.

source

pub fn build(self) -> JournalKinesisStreamDescription

Consumes the builder and constructs a JournalKinesisStreamDescription.

Trait Implementations§

source§

impl Clone for JournalKinesisStreamDescriptionBuilder

source§

fn clone(&self) -> JournalKinesisStreamDescriptionBuilder

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for JournalKinesisStreamDescriptionBuilder

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for JournalKinesisStreamDescriptionBuilder

source§

fn default() -> JournalKinesisStreamDescriptionBuilder

Returns the “default value” for a type. Read more
source§

impl PartialEq<JournalKinesisStreamDescriptionBuilder> for JournalKinesisStreamDescriptionBuilder

source§

fn eq(&self, other: &JournalKinesisStreamDescriptionBuilder) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for JournalKinesisStreamDescriptionBuilder

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

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
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more