#[non_exhaustive]pub struct EventStreamSummaryBuilder { /* private fields */ }
Expand description
A builder for EventStreamSummary
.
Implementations§
source§impl EventStreamSummaryBuilder
impl EventStreamSummaryBuilder
sourcepub fn domain_name(self, input: impl Into<String>) -> Self
pub fn domain_name(self, input: impl Into<String>) -> Self
The unique name of the domain.
This field is required.sourcepub fn set_domain_name(self, input: Option<String>) -> Self
pub fn set_domain_name(self, input: Option<String>) -> Self
The unique name of the domain.
sourcepub fn get_domain_name(&self) -> &Option<String>
pub fn get_domain_name(&self) -> &Option<String>
The unique name of the domain.
sourcepub fn event_stream_name(self, input: impl Into<String>) -> Self
pub fn event_stream_name(self, input: impl Into<String>) -> Self
The name of the event stream.
This field is required.sourcepub fn set_event_stream_name(self, input: Option<String>) -> Self
pub fn set_event_stream_name(self, input: Option<String>) -> Self
The name of the event stream.
sourcepub fn get_event_stream_name(&self) -> &Option<String>
pub fn get_event_stream_name(&self) -> &Option<String>
The name of the event stream.
sourcepub fn event_stream_arn(self, input: impl Into<String>) -> Self
pub fn event_stream_arn(self, input: impl Into<String>) -> Self
A unique identifier for the event stream.
This field is required.sourcepub fn set_event_stream_arn(self, input: Option<String>) -> Self
pub fn set_event_stream_arn(self, input: Option<String>) -> Self
A unique identifier for the event stream.
sourcepub fn get_event_stream_arn(&self) -> &Option<String>
pub fn get_event_stream_arn(&self) -> &Option<String>
A unique identifier for the event stream.
sourcepub fn state(self, input: EventStreamState) -> Self
pub fn state(self, input: EventStreamState) -> Self
The operational state of destination stream for export.
This field is required.sourcepub fn set_state(self, input: Option<EventStreamState>) -> Self
pub fn set_state(self, input: Option<EventStreamState>) -> Self
The operational state of destination stream for export.
sourcepub fn get_state(&self) -> &Option<EventStreamState>
pub fn get_state(&self) -> &Option<EventStreamState>
The operational state of destination stream for export.
sourcepub fn stopped_since(self, input: DateTime) -> Self
pub fn stopped_since(self, input: DateTime) -> Self
The timestamp when the State
changed to STOPPED
.
sourcepub fn set_stopped_since(self, input: Option<DateTime>) -> Self
pub fn set_stopped_since(self, input: Option<DateTime>) -> Self
The timestamp when the State
changed to STOPPED
.
sourcepub fn get_stopped_since(&self) -> &Option<DateTime>
pub fn get_stopped_since(&self) -> &Option<DateTime>
The timestamp when the State
changed to STOPPED
.
sourcepub fn destination_summary(self, input: DestinationSummary) -> Self
pub fn destination_summary(self, input: DestinationSummary) -> Self
Summary information about the Kinesis data stream.
sourcepub fn set_destination_summary(self, input: Option<DestinationSummary>) -> Self
pub fn set_destination_summary(self, input: Option<DestinationSummary>) -> Self
Summary information about the Kinesis data stream.
sourcepub fn get_destination_summary(&self) -> &Option<DestinationSummary>
pub fn get_destination_summary(&self) -> &Option<DestinationSummary>
Summary information about the Kinesis data stream.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The tags used to organize, track, or control access for this resource.
The tags used to organize, track, or control access for this resource.
The tags used to organize, track, or control access for this resource.
sourcepub fn build(self) -> Result<EventStreamSummary, BuildError>
pub fn build(self) -> Result<EventStreamSummary, BuildError>
Consumes the builder and constructs a EventStreamSummary
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for EventStreamSummaryBuilder
impl Clone for EventStreamSummaryBuilder
source§fn clone(&self) -> EventStreamSummaryBuilder
fn clone(&self) -> EventStreamSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EventStreamSummaryBuilder
impl Debug for EventStreamSummaryBuilder
source§impl Default for EventStreamSummaryBuilder
impl Default for EventStreamSummaryBuilder
source§fn default() -> EventStreamSummaryBuilder
fn default() -> EventStreamSummaryBuilder
source§impl PartialEq for EventStreamSummaryBuilder
impl PartialEq for EventStreamSummaryBuilder
source§fn eq(&self, other: &EventStreamSummaryBuilder) -> bool
fn eq(&self, other: &EventStreamSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EventStreamSummaryBuilder
Auto Trait Implementations§
impl Freeze for EventStreamSummaryBuilder
impl RefUnwindSafe for EventStreamSummaryBuilder
impl Send for EventStreamSummaryBuilder
impl Sync for EventStreamSummaryBuilder
impl Unpin for EventStreamSummaryBuilder
impl UnwindSafe for EventStreamSummaryBuilder
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