Class HttpsActionProps.Builder
java.lang.Object
software.amazon.awscdk.services.iot.actions.alpha.HttpsActionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<HttpsActionProps>
- Enclosing interface:
HttpsActionProps
@Stability(Experimental)
public static final class HttpsActionProps.Builder
extends Object
implements software.amazon.jsii.Builder<HttpsActionProps>
A builder for
HttpsActionProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauth(HttpActionSigV4Auth auth) Sets the value ofHttpsActionProps.getAuth()build()Builds the configured instance.confirmationUrl(String confirmationUrl) Sets the value ofHttpsActionProps.getConfirmationUrl()headers(List<? extends HttpActionHeader> headers) Sets the value ofHttpsActionProps.getHeaders()Sets the value ofCommonActionProps.getRole()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
auth
Sets the value ofHttpsActionProps.getAuth()- Parameters:
auth- Use Sigv4 authorization.- Returns:
this
-
confirmationUrl
Sets the value ofHttpsActionProps.getConfirmationUrl()- Parameters:
confirmationUrl- If specified, AWS IoT uses the confirmation URL to create a matching topic rule destination.- Returns:
this
-
headers
@Stability(Experimental) public HttpsActionProps.Builder headers(List<? extends HttpActionHeader> headers) Sets the value ofHttpsActionProps.getHeaders()- Parameters:
headers- The headers to include in the HTTPS request to the endpoint.- Returns:
this
-
role
Sets the value ofCommonActionProps.getRole()- Parameters:
role- The IAM role that allows access to AWS service.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<HttpsActionProps>- Returns:
- a new instance of
HttpsActionProps - Throws:
NullPointerException- if any required attribute was not provided
-