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