#[non_exhaustive]pub struct EventStreamDestinationDetailsBuilder { /* private fields */ }
Expand description
A builder for EventStreamDestinationDetails
.
Implementations§
source§impl EventStreamDestinationDetailsBuilder
impl EventStreamDestinationDetailsBuilder
sourcepub fn uri(self, input: impl Into<String>) -> Self
pub fn uri(self, input: impl Into<String>) -> Self
The StreamARN of the destination to deliver profile events to. For example, arn:aws:kinesis:region:account-id:stream/stream-name.
This field is required.sourcepub fn set_uri(self, input: Option<String>) -> Self
pub fn set_uri(self, input: Option<String>) -> Self
The StreamARN of the destination to deliver profile events to. For example, arn:aws:kinesis:region:account-id:stream/stream-name.
sourcepub fn get_uri(&self) -> &Option<String>
pub fn get_uri(&self) -> &Option<String>
The StreamARN of the destination to deliver profile events to. For example, arn:aws:kinesis:region:account-id:stream/stream-name.
sourcepub fn status(self, input: EventStreamDestinationStatus) -> Self
pub fn status(self, input: EventStreamDestinationStatus) -> Self
The status of enabling the Kinesis stream as a destination for export.
This field is required.sourcepub fn set_status(self, input: Option<EventStreamDestinationStatus>) -> Self
pub fn set_status(self, input: Option<EventStreamDestinationStatus>) -> Self
The status of enabling the Kinesis stream as a destination for export.
sourcepub fn get_status(&self) -> &Option<EventStreamDestinationStatus>
pub fn get_status(&self) -> &Option<EventStreamDestinationStatus>
The status of enabling the Kinesis stream as a destination for export.
sourcepub fn unhealthy_since(self, input: DateTime) -> Self
pub fn unhealthy_since(self, input: DateTime) -> Self
The timestamp when the status last changed to UNHEALHY
.
sourcepub fn set_unhealthy_since(self, input: Option<DateTime>) -> Self
pub fn set_unhealthy_since(self, input: Option<DateTime>) -> Self
The timestamp when the status last changed to UNHEALHY
.
sourcepub fn get_unhealthy_since(&self) -> &Option<DateTime>
pub fn get_unhealthy_since(&self) -> &Option<DateTime>
The timestamp when the status last changed to UNHEALHY
.
sourcepub fn message(self, input: impl Into<String>) -> Self
pub fn message(self, input: impl Into<String>) -> Self
The human-readable string that corresponds to the error or success while enabling the streaming destination.
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
The human-readable string that corresponds to the error or success while enabling the streaming destination.
sourcepub fn get_message(&self) -> &Option<String>
pub fn get_message(&self) -> &Option<String>
The human-readable string that corresponds to the error or success while enabling the streaming destination.
sourcepub fn build(self) -> Result<EventStreamDestinationDetails, BuildError>
pub fn build(self) -> Result<EventStreamDestinationDetails, BuildError>
Consumes the builder and constructs a EventStreamDestinationDetails
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for EventStreamDestinationDetailsBuilder
impl Clone for EventStreamDestinationDetailsBuilder
source§fn clone(&self) -> EventStreamDestinationDetailsBuilder
fn clone(&self) -> EventStreamDestinationDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for EventStreamDestinationDetailsBuilder
impl Default for EventStreamDestinationDetailsBuilder
source§fn default() -> EventStreamDestinationDetailsBuilder
fn default() -> EventStreamDestinationDetailsBuilder
source§impl PartialEq for EventStreamDestinationDetailsBuilder
impl PartialEq for EventStreamDestinationDetailsBuilder
source§fn eq(&self, other: &EventStreamDestinationDetailsBuilder) -> bool
fn eq(&self, other: &EventStreamDestinationDetailsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EventStreamDestinationDetailsBuilder
Auto Trait Implementations§
impl Freeze for EventStreamDestinationDetailsBuilder
impl RefUnwindSafe for EventStreamDestinationDetailsBuilder
impl Send for EventStreamDestinationDetailsBuilder
impl Sync for EventStreamDestinationDetailsBuilder
impl Unpin for EventStreamDestinationDetailsBuilder
impl UnwindSafe for EventStreamDestinationDetailsBuilder
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