Struct aws_sdk_customerprofiles::operation::get_event_stream::builders::GetEventStreamOutputBuilder
source · #[non_exhaustive]pub struct GetEventStreamOutputBuilder { /* private fields */ }
Expand description
A builder for GetEventStreamOutput
.
Implementations§
source§impl GetEventStreamOutputBuilder
impl GetEventStreamOutputBuilder
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_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 created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The timestamp of when the export was created.
This field is required.sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The timestamp of when the export was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The timestamp of when the export was created.
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_details(self, input: EventStreamDestinationDetails) -> Self
pub fn destination_details(self, input: EventStreamDestinationDetails) -> Self
Details regarding the Kinesis stream.
This field is required.sourcepub fn set_destination_details(
self,
input: Option<EventStreamDestinationDetails>
) -> Self
pub fn set_destination_details( self, input: Option<EventStreamDestinationDetails> ) -> Self
Details regarding the Kinesis stream.
sourcepub fn get_destination_details(&self) -> &Option<EventStreamDestinationDetails>
pub fn get_destination_details(&self) -> &Option<EventStreamDestinationDetails>
Details regarding the Kinesis 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<GetEventStreamOutput, BuildError>
pub fn build(self) -> Result<GetEventStreamOutput, BuildError>
Consumes the builder and constructs a GetEventStreamOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for GetEventStreamOutputBuilder
impl Clone for GetEventStreamOutputBuilder
source§fn clone(&self) -> GetEventStreamOutputBuilder
fn clone(&self) -> GetEventStreamOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetEventStreamOutputBuilder
impl Debug for GetEventStreamOutputBuilder
source§impl Default for GetEventStreamOutputBuilder
impl Default for GetEventStreamOutputBuilder
source§fn default() -> GetEventStreamOutputBuilder
fn default() -> GetEventStreamOutputBuilder
source§impl PartialEq for GetEventStreamOutputBuilder
impl PartialEq for GetEventStreamOutputBuilder
source§fn eq(&self, other: &GetEventStreamOutputBuilder) -> bool
fn eq(&self, other: &GetEventStreamOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetEventStreamOutputBuilder
Auto Trait Implementations§
impl Freeze for GetEventStreamOutputBuilder
impl RefUnwindSafe for GetEventStreamOutputBuilder
impl Send for GetEventStreamOutputBuilder
impl Sync for GetEventStreamOutputBuilder
impl Unpin for GetEventStreamOutputBuilder
impl UnwindSafe for GetEventStreamOutputBuilder
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