#[non_exhaustive]pub struct DestinationSummaryBuilder { /* private fields */ }
Expand description
A builder for DestinationSummary
.
Implementations§
source§impl DestinationSummaryBuilder
impl DestinationSummaryBuilder
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 build(self) -> Result<DestinationSummary, BuildError>
pub fn build(self) -> Result<DestinationSummary, BuildError>
Consumes the builder and constructs a DestinationSummary
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for DestinationSummaryBuilder
impl Clone for DestinationSummaryBuilder
source§fn clone(&self) -> DestinationSummaryBuilder
fn clone(&self) -> DestinationSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DestinationSummaryBuilder
impl Debug for DestinationSummaryBuilder
source§impl Default for DestinationSummaryBuilder
impl Default for DestinationSummaryBuilder
source§fn default() -> DestinationSummaryBuilder
fn default() -> DestinationSummaryBuilder
source§impl PartialEq for DestinationSummaryBuilder
impl PartialEq for DestinationSummaryBuilder
source§fn eq(&self, other: &DestinationSummaryBuilder) -> bool
fn eq(&self, other: &DestinationSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DestinationSummaryBuilder
Auto Trait Implementations§
impl Freeze for DestinationSummaryBuilder
impl RefUnwindSafe for DestinationSummaryBuilder
impl Send for DestinationSummaryBuilder
impl Sync for DestinationSummaryBuilder
impl Unpin for DestinationSummaryBuilder
impl UnwindSafe for DestinationSummaryBuilder
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