Class CfnConnection.ConnectionHttpParametersProperty.Builder
java.lang.Object
software.amazon.awscdk.services.events.CfnConnection.ConnectionHttpParametersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnection.ConnectionHttpParametersProperty>
- Enclosing interface:
CfnConnection.ConnectionHttpParametersProperty
@Stability(Stable)
public static final class CfnConnection.ConnectionHttpParametersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnection.ConnectionHttpParametersProperty>
A builder for
CfnConnection.ConnectionHttpParametersProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbodyParameters(List<? extends Object> bodyParameters) Sets the value ofCfnConnection.ConnectionHttpParametersProperty.getBodyParameters()bodyParameters(IResolvable bodyParameters) Sets the value ofCfnConnection.ConnectionHttpParametersProperty.getBodyParameters()build()Builds the configured instance.headerParameters(List<? extends Object> headerParameters) Sets the value ofCfnConnection.ConnectionHttpParametersProperty.getHeaderParameters()headerParameters(IResolvable headerParameters) Sets the value ofCfnConnection.ConnectionHttpParametersProperty.getHeaderParameters()queryStringParameters(List<? extends Object> queryStringParameters) queryStringParameters(IResolvable queryStringParameters)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bodyParameters
@Stability(Stable) public CfnConnection.ConnectionHttpParametersProperty.Builder bodyParameters(IResolvable bodyParameters) Sets the value ofCfnConnection.ConnectionHttpParametersProperty.getBodyParameters()- Parameters:
bodyParameters- Any additional body string parameters for the connection.- Returns:
this
-
bodyParameters
@Stability(Stable) public CfnConnection.ConnectionHttpParametersProperty.Builder bodyParameters(List<? extends Object> bodyParameters) Sets the value ofCfnConnection.ConnectionHttpParametersProperty.getBodyParameters()- Parameters:
bodyParameters- Any additional body string parameters for the connection.- Returns:
this
-
headerParameters
@Stability(Stable) public CfnConnection.ConnectionHttpParametersProperty.Builder headerParameters(IResolvable headerParameters) Sets the value ofCfnConnection.ConnectionHttpParametersProperty.getHeaderParameters()- Parameters:
headerParameters- Any additional header parameters for the connection.- Returns:
this
-
headerParameters
@Stability(Stable) public CfnConnection.ConnectionHttpParametersProperty.Builder headerParameters(List<? extends Object> headerParameters) Sets the value ofCfnConnection.ConnectionHttpParametersProperty.getHeaderParameters()- Parameters:
headerParameters- Any additional header parameters for the connection.- Returns:
this
-
queryStringParameters
@Stability(Stable) public CfnConnection.ConnectionHttpParametersProperty.Builder queryStringParameters(IResolvable queryStringParameters) - Parameters:
queryStringParameters- Any additional query string parameters for the connection.- Returns:
this
-
queryStringParameters
@Stability(Stable) public CfnConnection.ConnectionHttpParametersProperty.Builder queryStringParameters(List<? extends Object> queryStringParameters) - Parameters:
queryStringParameters- Any additional query string parameters for the connection.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnection.ConnectionHttpParametersProperty>- Returns:
- a new instance of
CfnConnection.ConnectionHttpParametersProperty - Throws:
NullPointerException- if any required attribute was not provided
-