Class CfnTopicRulePropsMixin.HttpActionProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.iot.mixins.CfnTopicRulePropsMixin.HttpActionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTopicRulePropsMixin.HttpActionProperty>
- Enclosing interface:
CfnTopicRulePropsMixin.HttpActionProperty
@Stability(Stable)
public static final class CfnTopicRulePropsMixin.HttpActionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTopicRulePropsMixin.HttpActionProperty>
A builder for
CfnTopicRulePropsMixin.HttpActionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauth(IResolvable auth) Sets the value ofCfnTopicRulePropsMixin.HttpActionProperty.getAuth()Sets the value ofCfnTopicRulePropsMixin.HttpActionProperty.getAuth()build()Builds the configured instance.confirmationUrl(String confirmationUrl) Sets the value ofCfnTopicRulePropsMixin.HttpActionProperty.getConfirmationUrl()Sets the value ofCfnTopicRulePropsMixin.HttpActionProperty.getHeaders()headers(IResolvable headers) Sets the value ofCfnTopicRulePropsMixin.HttpActionProperty.getHeaders()Sets the value ofCfnTopicRulePropsMixin.HttpActionProperty.getUrl()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
auth
Sets the value ofCfnTopicRulePropsMixin.HttpActionProperty.getAuth()- Parameters:
auth- The authentication method to use when sending data to an HTTPS endpoint.- Returns:
this
-
auth
@Stability(Stable) public CfnTopicRulePropsMixin.HttpActionProperty.Builder auth(CfnTopicRulePropsMixin.HttpAuthorizationProperty auth) Sets the value ofCfnTopicRulePropsMixin.HttpActionProperty.getAuth()- Parameters:
auth- The authentication method to use when sending data to an HTTPS endpoint.- Returns:
this
-
confirmationUrl
@Stability(Stable) public CfnTopicRulePropsMixin.HttpActionProperty.Builder confirmationUrl(String confirmationUrl) Sets the value ofCfnTopicRulePropsMixin.HttpActionProperty.getConfirmationUrl()- Parameters:
confirmationUrl- The URL to which AWS IoT sends a confirmation message. The value of the confirmation URL must be a prefix of the endpoint URL. If you do not specify a confirmation URL AWS IoT uses the endpoint URL as the confirmation URL. If you use substitution templates in the confirmationUrl, you must create and enable topic rule destinations that match each possible value of the substitution template before traffic is allowed to your endpoint URL.- Returns:
this
-
headers
@Stability(Stable) public CfnTopicRulePropsMixin.HttpActionProperty.Builder headers(IResolvable headers) Sets the value ofCfnTopicRulePropsMixin.HttpActionProperty.getHeaders()- Parameters:
headers- The HTTP headers to send with the message data.- Returns:
this
-
headers
@Stability(Stable) public CfnTopicRulePropsMixin.HttpActionProperty.Builder headers(List<? extends Object> headers) Sets the value ofCfnTopicRulePropsMixin.HttpActionProperty.getHeaders()- Parameters:
headers- The HTTP headers to send with the message data.- Returns:
this
-
url
Sets the value ofCfnTopicRulePropsMixin.HttpActionProperty.getUrl()- Parameters:
url- The endpoint URL. If substitution templates are used in the URL, you must also specify aconfirmationUrl. If this is a new destination, a newTopicRuleDestinationis created if possible.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTopicRulePropsMixin.HttpActionProperty>- Returns:
- a new instance of
CfnTopicRulePropsMixin.HttpActionProperty - Throws:
NullPointerException- if any required attribute was not provided
-