#[non_exhaustive]pub struct TopicRuleDestinationSummaryBuilder { /* private fields */ }
Expand description
A builder for TopicRuleDestinationSummary
.
Implementations§
source§impl TopicRuleDestinationSummaryBuilder
impl TopicRuleDestinationSummaryBuilder
sourcepub fn status(self, input: TopicRuleDestinationStatus) -> Self
pub fn status(self, input: TopicRuleDestinationStatus) -> Self
The status of the topic rule destination. Valid values are:
- IN_PROGRESS
-
A topic rule destination was created but has not been confirmed. You can set
status
toIN_PROGRESS
by callingUpdateTopicRuleDestination
. CallingUpdateTopicRuleDestination
causes a new confirmation challenge to be sent to your confirmation endpoint. - ENABLED
-
Confirmation was completed, and traffic to this destination is allowed. You can set
status
toDISABLED
by callingUpdateTopicRuleDestination
. - DISABLED
-
Confirmation was completed, and traffic to this destination is not allowed. You can set
status
toENABLED
by callingUpdateTopicRuleDestination
. - ERROR
-
Confirmation could not be completed, for example if the confirmation timed out. You can call
GetTopicRuleDestination
for details about the error. You can setstatus
toIN_PROGRESS
by callingUpdateTopicRuleDestination
. CallingUpdateTopicRuleDestination
causes a new confirmation challenge to be sent to your confirmation endpoint.
sourcepub fn set_status(self, input: Option<TopicRuleDestinationStatus>) -> Self
pub fn set_status(self, input: Option<TopicRuleDestinationStatus>) -> Self
The status of the topic rule destination. Valid values are:
- IN_PROGRESS
-
A topic rule destination was created but has not been confirmed. You can set
status
toIN_PROGRESS
by callingUpdateTopicRuleDestination
. CallingUpdateTopicRuleDestination
causes a new confirmation challenge to be sent to your confirmation endpoint. - ENABLED
-
Confirmation was completed, and traffic to this destination is allowed. You can set
status
toDISABLED
by callingUpdateTopicRuleDestination
. - DISABLED
-
Confirmation was completed, and traffic to this destination is not allowed. You can set
status
toENABLED
by callingUpdateTopicRuleDestination
. - ERROR
-
Confirmation could not be completed, for example if the confirmation timed out. You can call
GetTopicRuleDestination
for details about the error. You can setstatus
toIN_PROGRESS
by callingUpdateTopicRuleDestination
. CallingUpdateTopicRuleDestination
causes a new confirmation challenge to be sent to your confirmation endpoint.
sourcepub fn get_status(&self) -> &Option<TopicRuleDestinationStatus>
pub fn get_status(&self) -> &Option<TopicRuleDestinationStatus>
The status of the topic rule destination. Valid values are:
- IN_PROGRESS
-
A topic rule destination was created but has not been confirmed. You can set
status
toIN_PROGRESS
by callingUpdateTopicRuleDestination
. CallingUpdateTopicRuleDestination
causes a new confirmation challenge to be sent to your confirmation endpoint. - ENABLED
-
Confirmation was completed, and traffic to this destination is allowed. You can set
status
toDISABLED
by callingUpdateTopicRuleDestination
. - DISABLED
-
Confirmation was completed, and traffic to this destination is not allowed. You can set
status
toENABLED
by callingUpdateTopicRuleDestination
. - ERROR
-
Confirmation could not be completed, for example if the confirmation timed out. You can call
GetTopicRuleDestination
for details about the error. You can setstatus
toIN_PROGRESS
by callingUpdateTopicRuleDestination
. CallingUpdateTopicRuleDestination
causes a new confirmation challenge to be sent to your confirmation endpoint.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The date and time when the topic rule destination was created.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The date and time when the topic rule destination was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The date and time when the topic rule destination was created.
sourcepub fn last_updated_at(self, input: DateTime) -> Self
pub fn last_updated_at(self, input: DateTime) -> Self
The date and time when the topic rule destination was last updated.
sourcepub fn set_last_updated_at(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_at(self, input: Option<DateTime>) -> Self
The date and time when the topic rule destination was last updated.
sourcepub fn get_last_updated_at(&self) -> &Option<DateTime>
pub fn get_last_updated_at(&self) -> &Option<DateTime>
The date and time when the topic rule destination was last updated.
sourcepub fn status_reason(self, input: impl Into<String>) -> Self
pub fn status_reason(self, input: impl Into<String>) -> Self
The reason the topic rule destination is in the current status.
sourcepub fn set_status_reason(self, input: Option<String>) -> Self
pub fn set_status_reason(self, input: Option<String>) -> Self
The reason the topic rule destination is in the current status.
sourcepub fn get_status_reason(&self) -> &Option<String>
pub fn get_status_reason(&self) -> &Option<String>
The reason the topic rule destination is in the current status.
sourcepub fn http_url_summary(self, input: HttpUrlDestinationSummary) -> Self
pub fn http_url_summary(self, input: HttpUrlDestinationSummary) -> Self
Information about the HTTP URL.
sourcepub fn set_http_url_summary(
self,
input: Option<HttpUrlDestinationSummary>
) -> Self
pub fn set_http_url_summary( self, input: Option<HttpUrlDestinationSummary> ) -> Self
Information about the HTTP URL.
sourcepub fn get_http_url_summary(&self) -> &Option<HttpUrlDestinationSummary>
pub fn get_http_url_summary(&self) -> &Option<HttpUrlDestinationSummary>
Information about the HTTP URL.
sourcepub fn vpc_destination_summary(self, input: VpcDestinationSummary) -> Self
pub fn vpc_destination_summary(self, input: VpcDestinationSummary) -> Self
Information about the virtual private cloud (VPC) connection.
sourcepub fn set_vpc_destination_summary(
self,
input: Option<VpcDestinationSummary>
) -> Self
pub fn set_vpc_destination_summary( self, input: Option<VpcDestinationSummary> ) -> Self
Information about the virtual private cloud (VPC) connection.
sourcepub fn get_vpc_destination_summary(&self) -> &Option<VpcDestinationSummary>
pub fn get_vpc_destination_summary(&self) -> &Option<VpcDestinationSummary>
Information about the virtual private cloud (VPC) connection.
sourcepub fn build(self) -> TopicRuleDestinationSummary
pub fn build(self) -> TopicRuleDestinationSummary
Consumes the builder and constructs a TopicRuleDestinationSummary
.
Trait Implementations§
source§impl Clone for TopicRuleDestinationSummaryBuilder
impl Clone for TopicRuleDestinationSummaryBuilder
source§fn clone(&self) -> TopicRuleDestinationSummaryBuilder
fn clone(&self) -> TopicRuleDestinationSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for TopicRuleDestinationSummaryBuilder
impl Default for TopicRuleDestinationSummaryBuilder
source§fn default() -> TopicRuleDestinationSummaryBuilder
fn default() -> TopicRuleDestinationSummaryBuilder
source§impl PartialEq for TopicRuleDestinationSummaryBuilder
impl PartialEq for TopicRuleDestinationSummaryBuilder
source§fn eq(&self, other: &TopicRuleDestinationSummaryBuilder) -> bool
fn eq(&self, other: &TopicRuleDestinationSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TopicRuleDestinationSummaryBuilder
Auto Trait Implementations§
impl Freeze for TopicRuleDestinationSummaryBuilder
impl RefUnwindSafe for TopicRuleDestinationSummaryBuilder
impl Send for TopicRuleDestinationSummaryBuilder
impl Sync for TopicRuleDestinationSummaryBuilder
impl Unpin for TopicRuleDestinationSummaryBuilder
impl UnwindSafe for TopicRuleDestinationSummaryBuilder
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