Class CfnFunctionPropsMixin.HttpRequestConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.mediatailor.CfnFunctionPropsMixin.HttpRequestConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFunctionPropsMixin.HttpRequestConfigurationProperty>
- Enclosing interface:
CfnFunctionPropsMixin.HttpRequestConfigurationProperty
@Stability(Stable)
public static final class CfnFunctionPropsMixin.HttpRequestConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFunctionPropsMixin.HttpRequestConfigurationProperty>
A builder for
CfnFunctionPropsMixin.HttpRequestConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnFunctionPropsMixin.HttpRequestConfigurationProperty.getBody()build()Builds the configured instance.Sets the value ofCfnFunctionPropsMixin.HttpRequestConfigurationProperty.getHeaders()headers(IResolvable headers) Sets the value ofCfnFunctionPropsMixin.HttpRequestConfigurationProperty.getHeaders()methodType(String methodType) Sets the value ofCfnFunctionPropsMixin.HttpRequestConfigurationProperty.getMethodType()Sets the value ofCfnFunctionPropsMixin.HttpRequestConfigurationProperty.getOutput()output(IResolvable output) Sets the value ofCfnFunctionPropsMixin.HttpRequestConfigurationProperty.getOutput()requestTimeoutMilliseconds(Number requestTimeoutMilliseconds) Sets the value ofCfnFunctionPropsMixin.HttpRequestConfigurationProperty.getRuntime()Sets the value ofCfnFunctionPropsMixin.HttpRequestConfigurationProperty.getUrl()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
body
@Stability(Stable) public CfnFunctionPropsMixin.HttpRequestConfigurationProperty.Builder body(String body) Sets the value ofCfnFunctionPropsMixin.HttpRequestConfigurationProperty.getBody()- Parameters:
body- The body of the HTTP request.- Returns:
this
-
headers
@Stability(Stable) public CfnFunctionPropsMixin.HttpRequestConfigurationProperty.Builder headers(IResolvable headers) Sets the value ofCfnFunctionPropsMixin.HttpRequestConfigurationProperty.getHeaders()- Parameters:
headers- the value to be set.- Returns:
this
-
headers
@Stability(Stable) public CfnFunctionPropsMixin.HttpRequestConfigurationProperty.Builder headers(Map<String, String> headers) Sets the value ofCfnFunctionPropsMixin.HttpRequestConfigurationProperty.getHeaders()- Parameters:
headers- the value to be set.- Returns:
this
-
methodType
@Stability(Stable) public CfnFunctionPropsMixin.HttpRequestConfigurationProperty.Builder methodType(String methodType) Sets the value ofCfnFunctionPropsMixin.HttpRequestConfigurationProperty.getMethodType()- Parameters:
methodType- the value to be set.- Returns:
this
-
output
@Stability(Stable) public CfnFunctionPropsMixin.HttpRequestConfigurationProperty.Builder output(IResolvable output) Sets the value ofCfnFunctionPropsMixin.HttpRequestConfigurationProperty.getOutput()- Parameters:
output- the value to be set.- Returns:
this
-
output
@Stability(Stable) public CfnFunctionPropsMixin.HttpRequestConfigurationProperty.Builder output(Map<String, String> output) Sets the value ofCfnFunctionPropsMixin.HttpRequestConfigurationProperty.getOutput()- Parameters:
output- the value to be set.- Returns:
this
-
requestTimeoutMilliseconds
@Stability(Stable) public CfnFunctionPropsMixin.HttpRequestConfigurationProperty.Builder requestTimeoutMilliseconds(Number requestTimeoutMilliseconds) Sets the value ofCfnFunctionPropsMixin.HttpRequestConfigurationProperty.getRequestTimeoutMilliseconds()- Parameters:
requestTimeoutMilliseconds- The timeout in milliseconds for the HTTP request. Maximum value is 2000.- Returns:
this
-
runtime
@Stability(Stable) public CfnFunctionPropsMixin.HttpRequestConfigurationProperty.Builder runtime(String runtime) Sets the value ofCfnFunctionPropsMixin.HttpRequestConfigurationProperty.getRuntime()- Parameters:
runtime- the value to be set.- Returns:
this
-
url
@Stability(Stable) public CfnFunctionPropsMixin.HttpRequestConfigurationProperty.Builder url(String url) Sets the value ofCfnFunctionPropsMixin.HttpRequestConfigurationProperty.getUrl()- Parameters:
url- The URL endpoint for the HTTP request.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFunctionPropsMixin.HttpRequestConfigurationProperty>- Returns:
- a new instance of
CfnFunctionPropsMixin.HttpRequestConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-