Class CfnTopicRuleDestinationProps.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnTopicRuleDestinationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTopicRuleDestinationProps>
- Enclosing interface:
CfnTopicRuleDestinationProps
@Stability(Stable)
public static final class CfnTopicRuleDestinationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTopicRuleDestinationProps>
A builder for
CfnTopicRuleDestinationProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.httpUrlProperties
(IResolvable httpUrlProperties) Sets the value ofCfnTopicRuleDestinationProps.getHttpUrlProperties()
httpUrlProperties
(CfnTopicRuleDestination.HttpUrlDestinationSummaryProperty httpUrlProperties) Sets the value ofCfnTopicRuleDestinationProps.getHttpUrlProperties()
Sets the value ofCfnTopicRuleDestinationProps.getStatus()
vpcProperties
(IResolvable vpcProperties) Sets the value ofCfnTopicRuleDestinationProps.getVpcProperties()
Sets the value ofCfnTopicRuleDestinationProps.getVpcProperties()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
httpUrlProperties
@Stability(Stable) public CfnTopicRuleDestinationProps.Builder httpUrlProperties(IResolvable httpUrlProperties) Sets the value ofCfnTopicRuleDestinationProps.getHttpUrlProperties()
- Parameters:
httpUrlProperties
- Properties of the HTTP URL.- Returns:
this
-
httpUrlProperties
@Stability(Stable) public CfnTopicRuleDestinationProps.Builder httpUrlProperties(CfnTopicRuleDestination.HttpUrlDestinationSummaryProperty httpUrlProperties) Sets the value ofCfnTopicRuleDestinationProps.getHttpUrlProperties()
- Parameters:
httpUrlProperties
- Properties of the HTTP URL.- Returns:
this
-
status
Sets the value ofCfnTopicRuleDestinationProps.getStatus()
- Parameters:
status
-- IN_PROGRESS - A topic rule destination was created but has not been confirmed.
IN_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 to
DISABLED
by callingUpdateTopicRuleDestination
. - DISABLED - Confirmation was completed, and traffic to this destination is not allowed. You can set status to
ENABLED
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 set status toIN_PROGRESS
by callingUpdateTopicRuleDestination
. CallingUpdateTopicRuleDestination
causes a new confirmation challenge to be sent to your confirmation endpoint.
- Returns:
this
-
vpcProperties
@Stability(Stable) public CfnTopicRuleDestinationProps.Builder vpcProperties(IResolvable vpcProperties) Sets the value ofCfnTopicRuleDestinationProps.getVpcProperties()
- Parameters:
vpcProperties
- Properties of the virtual private cloud (VPC) connection.- Returns:
this
-
vpcProperties
@Stability(Stable) public CfnTopicRuleDestinationProps.Builder vpcProperties(CfnTopicRuleDestination.VpcDestinationPropertiesProperty vpcProperties) Sets the value ofCfnTopicRuleDestinationProps.getVpcProperties()
- Parameters:
vpcProperties
- Properties of the virtual private cloud (VPC) connection.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTopicRuleDestinationProps>
- Returns:
- a new instance of
CfnTopicRuleDestinationProps
- Throws:
NullPointerException
- if any required attribute was not provided
-