Class HttpActionHeader.Builder
java.lang.Object
software.amazon.awscdk.services.iot.actions.alpha.HttpActionHeader.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<HttpActionHeader>
- Enclosing interface:
HttpActionHeader
@Stability(Experimental)
public static final class HttpActionHeader.Builder
extends Object
implements software.amazon.jsii.Builder<HttpActionHeader>
A builder for
HttpActionHeader-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofHttpActionHeader.getKey()Sets the value ofHttpActionHeader.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
key
Sets the value ofHttpActionHeader.getKey()- Parameters:
key- The HTTP header key. This parameter is required.- Returns:
this
-
value
Sets the value ofHttpActionHeader.getValue()- Parameters:
value- The HTTP header value. This parameter is required. Substitution templates are supported.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<HttpActionHeader>- Returns:
- a new instance of
HttpActionHeader - Throws:
NullPointerException- if any required attribute was not provided
-