#[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 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 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 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 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 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 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<TopicRuleDestinationSummaryBuilder> for TopicRuleDestinationSummaryBuilder
impl PartialEq<TopicRuleDestinationSummaryBuilder> 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 ==
.