#[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
statustoIN_PROGRESSby callingUpdateTopicRuleDestination. CallingUpdateTopicRuleDestinationcauses 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
statustoDISABLEDby callingUpdateTopicRuleDestination. - DISABLED
-
Confirmation was completed, and traffic to this destination is not allowed. You can set
statustoENABLEDby callingUpdateTopicRuleDestination. - ERROR
-
Confirmation could not be completed, for example if the confirmation timed out. You can call
GetTopicRuleDestinationfor details about the error. You can setstatustoIN_PROGRESSby callingUpdateTopicRuleDestination. CallingUpdateTopicRuleDestinationcauses 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
statustoIN_PROGRESSby callingUpdateTopicRuleDestination. CallingUpdateTopicRuleDestinationcauses 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
statustoDISABLEDby callingUpdateTopicRuleDestination. - DISABLED
-
Confirmation was completed, and traffic to this destination is not allowed. You can set
statustoENABLEDby callingUpdateTopicRuleDestination. - ERROR
-
Confirmation could not be completed, for example if the confirmation timed out. You can call
GetTopicRuleDestinationfor details about the error. You can setstatustoIN_PROGRESSby callingUpdateTopicRuleDestination. CallingUpdateTopicRuleDestinationcauses 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
statustoIN_PROGRESSby callingUpdateTopicRuleDestination. CallingUpdateTopicRuleDestinationcauses 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
statustoDISABLEDby callingUpdateTopicRuleDestination. - DISABLED
-
Confirmation was completed, and traffic to this destination is not allowed. You can set
statustoENABLEDby callingUpdateTopicRuleDestination. - ERROR
-
Confirmation could not be completed, for example if the confirmation timed out. You can call
GetTopicRuleDestinationfor details about the error. You can setstatustoIN_PROGRESSby callingUpdateTopicRuleDestination. CallingUpdateTopicRuleDestinationcauses 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 ==.