Struct aws_sdk_iot::types::builders::TopicRuleDestinationBuilder
source · #[non_exhaustive]pub struct TopicRuleDestinationBuilder { /* private fields */ }
Expand description
A builder for TopicRuleDestination
.
Implementations§
source§impl TopicRuleDestinationBuilder
impl TopicRuleDestinationBuilder
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
Additional details or reason why 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
Additional details or reason why 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>
Additional details or reason why the topic rule destination is in the current status.
sourcepub fn http_url_properties(self, input: HttpUrlDestinationProperties) -> Self
pub fn http_url_properties(self, input: HttpUrlDestinationProperties) -> Self
Properties of the HTTP URL.
sourcepub fn set_http_url_properties(
self,
input: Option<HttpUrlDestinationProperties>
) -> Self
pub fn set_http_url_properties( self, input: Option<HttpUrlDestinationProperties> ) -> Self
Properties of the HTTP URL.
sourcepub fn get_http_url_properties(&self) -> &Option<HttpUrlDestinationProperties>
pub fn get_http_url_properties(&self) -> &Option<HttpUrlDestinationProperties>
Properties of the HTTP URL.
sourcepub fn vpc_properties(self, input: VpcDestinationProperties) -> Self
pub fn vpc_properties(self, input: VpcDestinationProperties) -> Self
Properties of the virtual private cloud (VPC) connection.
sourcepub fn set_vpc_properties(self, input: Option<VpcDestinationProperties>) -> Self
pub fn set_vpc_properties(self, input: Option<VpcDestinationProperties>) -> Self
Properties of the virtual private cloud (VPC) connection.
sourcepub fn get_vpc_properties(&self) -> &Option<VpcDestinationProperties>
pub fn get_vpc_properties(&self) -> &Option<VpcDestinationProperties>
Properties of the virtual private cloud (VPC) connection.
sourcepub fn build(self) -> TopicRuleDestination
pub fn build(self) -> TopicRuleDestination
Consumes the builder and constructs a TopicRuleDestination
.
Trait Implementations§
source§impl Clone for TopicRuleDestinationBuilder
impl Clone for TopicRuleDestinationBuilder
source§fn clone(&self) -> TopicRuleDestinationBuilder
fn clone(&self) -> TopicRuleDestinationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TopicRuleDestinationBuilder
impl Debug for TopicRuleDestinationBuilder
source§impl Default for TopicRuleDestinationBuilder
impl Default for TopicRuleDestinationBuilder
source§fn default() -> TopicRuleDestinationBuilder
fn default() -> TopicRuleDestinationBuilder
source§impl PartialEq for TopicRuleDestinationBuilder
impl PartialEq for TopicRuleDestinationBuilder
source§fn eq(&self, other: &TopicRuleDestinationBuilder) -> bool
fn eq(&self, other: &TopicRuleDestinationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TopicRuleDestinationBuilder
Auto Trait Implementations§
impl Freeze for TopicRuleDestinationBuilder
impl RefUnwindSafe for TopicRuleDestinationBuilder
impl Send for TopicRuleDestinationBuilder
impl Sync for TopicRuleDestinationBuilder
impl Unpin for TopicRuleDestinationBuilder
impl UnwindSafe for TopicRuleDestinationBuilder
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