Class CallApiGatewayEndpointBaseOptions.Builder
java.lang.Object
software.amazon.awscdk.services.stepfunctions.tasks.CallApiGatewayEndpointBaseOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CallApiGatewayEndpointBaseOptions>
- Enclosing interface:
CallApiGatewayEndpointBaseOptions
@Stability(Stable)
public static final class CallApiGatewayEndpointBaseOptions.Builder
extends Object
implements software.amazon.jsii.Builder<CallApiGatewayEndpointBaseOptions>
A builder for
CallApiGatewayEndpointBaseOptions-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCallApiGatewayEndpointBaseOptions.getApiPath()Sets the value ofCallApiGatewayEndpointBaseOptions.getAuthType()build()Builds the configured instance.Sets the value ofCallApiGatewayEndpointBaseOptions.getHeaders()method(HttpMethod method) Sets the value ofCallApiGatewayEndpointBaseOptions.getMethod()queryParameters(TaskInput queryParameters) Sets the value ofCallApiGatewayEndpointBaseOptions.getQueryParameters()requestBody(TaskInput requestBody) Sets the value ofCallApiGatewayEndpointBaseOptions.getRequestBody()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
method
Sets the value ofCallApiGatewayEndpointBaseOptions.getMethod()- Parameters:
method- Http method for the API. This parameter is required.- Returns:
this
-
apiPath
Sets the value ofCallApiGatewayEndpointBaseOptions.getApiPath()- Parameters:
apiPath- Path parameters appended after API endpoint.- Returns:
this
-
authType
Sets the value ofCallApiGatewayEndpointBaseOptions.getAuthType()- Parameters:
authType- Authentication methods.- Returns:
this
-
headers
Sets the value ofCallApiGatewayEndpointBaseOptions.getHeaders()- Parameters:
headers- HTTP request information that does not relate to contents of the request.- Returns:
this
-
queryParameters
@Stability(Stable) public CallApiGatewayEndpointBaseOptions.Builder queryParameters(TaskInput queryParameters) Sets the value ofCallApiGatewayEndpointBaseOptions.getQueryParameters()- Parameters:
queryParameters- Query strings attatched to end of request.- Returns:
this
-
requestBody
@Stability(Stable) public CallApiGatewayEndpointBaseOptions.Builder requestBody(TaskInput requestBody) Sets the value ofCallApiGatewayEndpointBaseOptions.getRequestBody()- Parameters:
requestBody- HTTP Request body.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CallApiGatewayEndpointBaseOptions>- Returns:
- a new instance of
CallApiGatewayEndpointBaseOptions - Throws:
NullPointerException- if any required attribute was not provided
-