public static final class CallApiGatewayRestApiEndpointProps.Builder
extends java.lang.Object
CallApiGatewayRestApiEndpointProps
Constructor and Description |
---|
Builder() |
public CallApiGatewayRestApiEndpointProps.Builder api(IRestApi api)
CallApiGatewayRestApiEndpointProps.getApi()
api
- API to call. This parameter is required.this
public CallApiGatewayRestApiEndpointProps.Builder stageName(java.lang.String stageName)
CallApiGatewayRestApiEndpointProps.getStageName()
stageName
- Name of the stage where the API is deployed to in API Gateway. This parameter is required.this
public CallApiGatewayRestApiEndpointProps.Builder method(HttpMethod method)
CallApiGatewayEndpointBaseProps.getMethod()
method
- Http method for the API. This parameter is required.this
public CallApiGatewayRestApiEndpointProps.Builder apiPath(java.lang.String apiPath)
CallApiGatewayEndpointBaseProps.getApiPath()
apiPath
- Path parameters appended after API endpoint.this
public CallApiGatewayRestApiEndpointProps.Builder authType(AuthType authType)
CallApiGatewayEndpointBaseProps.getAuthType()
authType
- Authentication methods.this
public CallApiGatewayRestApiEndpointProps.Builder headers(TaskInput headers)
CallApiGatewayEndpointBaseProps.getHeaders()
headers
- HTTP request information that does not relate to contents of the request.this
public CallApiGatewayRestApiEndpointProps.Builder queryParameters(TaskInput queryParameters)
CallApiGatewayEndpointBaseProps.getQueryParameters()
queryParameters
- Query strings attatched to end of request.this
public CallApiGatewayRestApiEndpointProps.Builder requestBody(TaskInput requestBody)
CallApiGatewayEndpointBaseProps.getRequestBody()
requestBody
- HTTP Request body.this
public CallApiGatewayRestApiEndpointProps.Builder comment(java.lang.String comment)
TaskStateBaseProps.getComment()
comment
- An optional description for this state.this
public CallApiGatewayRestApiEndpointProps.Builder heartbeat(Duration heartbeat)
TaskStateBaseProps.getHeartbeat()
heartbeat
- Timeout for the heartbeat.this
public CallApiGatewayRestApiEndpointProps.Builder inputPath(java.lang.String inputPath)
TaskStateBaseProps.getInputPath()
inputPath
- JSONPath expression to select part of the state to be the input to this state.
May also be the special value JsonPath.DISCARD, which will cause the effective
input to be the empty object {}.this
public CallApiGatewayRestApiEndpointProps.Builder integrationPattern(IntegrationPattern integrationPattern)
TaskStateBaseProps.getIntegrationPattern()
integrationPattern
- AWS Step Functions integrates with services directly in the Amazon States Language.
You can control these AWS services using service integration patternsthis
public CallApiGatewayRestApiEndpointProps.Builder outputPath(java.lang.String outputPath)
TaskStateBaseProps.getOutputPath()
outputPath
- JSONPath expression to select select a portion of the state output to pass to the next state.
May also be the special value JsonPath.DISCARD, which will cause the effective
output to be the empty object {}.this
public CallApiGatewayRestApiEndpointProps.Builder resultPath(java.lang.String resultPath)
TaskStateBaseProps.getResultPath()
resultPath
- JSONPath expression to indicate where to inject the state's output.
May also be the special value JsonPath.DISCARD, which will cause the state's
input to become its output.this
public CallApiGatewayRestApiEndpointProps.Builder resultSelector(java.util.Map<java.lang.String,? extends java.lang.Object> resultSelector)
TaskStateBaseProps.getResultSelector()
resultSelector
- The JSON that will replace the state's raw result and become the effective result before ResultPath is applied.
You can use ResultSelector to create a payload with values that are static
or selected from the state's raw result.this
public CallApiGatewayRestApiEndpointProps.Builder timeout(Duration timeout)
TaskStateBaseProps.getTimeout()
timeout
- Timeout for the state machine.this
public CallApiGatewayRestApiEndpointProps build()
CallApiGatewayRestApiEndpointProps
java.lang.NullPointerException
- if any required attribute was not provided