Interface InspectionData.Builder

  • Method Details

    • input

      The raw state input.

      Parameters:
      input - The raw state input.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • afterArguments

      InspectionData.Builder afterArguments(String afterArguments)

      The input after Step Functions applies an Arguments filter. This event will only be present when QueryLanguage for the state machine or individual states is set to JSONata. For more info, see Transforming data with Step Functions.

      Parameters:
      afterArguments - The input after Step Functions applies an Arguments filter. This event will only be present when QueryLanguage for the state machine or individual states is set to JSONata. For more info, see Transforming data with Step Functions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • afterInputPath

      InspectionData.Builder afterInputPath(String afterInputPath)

      The input after Step Functions applies the InputPath filter. Not populated when QueryLanguage is JSONata.

      Parameters:
      afterInputPath - The input after Step Functions applies the InputPath filter. Not populated when QueryLanguage is JSONata.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • afterParameters

      InspectionData.Builder afterParameters(String afterParameters)

      The effective input after Step Functions applies the Parameters filter. Not populated when QueryLanguage is JSONata.

      Parameters:
      afterParameters - The effective input after Step Functions applies the Parameters filter. Not populated when QueryLanguage is JSONata.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • result

      The state's raw result.

      Parameters:
      result - The state's raw result.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • afterResultSelector

      InspectionData.Builder afterResultSelector(String afterResultSelector)

      The effective result after Step Functions applies the ResultSelector filter. Not populated when QueryLanguage is JSONata.

      Parameters:
      afterResultSelector - The effective result after Step Functions applies the ResultSelector filter. Not populated when QueryLanguage is JSONata.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • afterResultPath

      InspectionData.Builder afterResultPath(String afterResultPath)

      The effective result combined with the raw state input after Step Functions applies the ResultPath filter. Not populated when QueryLanguage is JSONata.

      Parameters:
      afterResultPath - The effective result combined with the raw state input after Step Functions applies the ResultPath filter. Not populated when QueryLanguage is JSONata.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • request

      The raw HTTP request that is sent when you test an HTTP Task.

      Parameters:
      request - The raw HTTP request that is sent when you test an HTTP Task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • request

      The raw HTTP request that is sent when you test an HTTP Task.

      This is a convenience method that creates an instance of the InspectionDataRequest.Builder avoiding the need to create one manually via InspectionDataRequest.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to request(InspectionDataRequest).

      Parameters:
      request - a consumer that will call methods on InspectionDataRequest.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • response

      The raw HTTP response that is returned when you test an HTTP Task.

      Parameters:
      response - The raw HTTP response that is returned when you test an HTTP Task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • response

      The raw HTTP response that is returned when you test an HTTP Task.

      This is a convenience method that creates an instance of the InspectionDataResponse.Builder avoiding the need to create one manually via InspectionDataResponse.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to response(InspectionDataResponse).

      Parameters:
      response - a consumer that will call methods on InspectionDataResponse.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • variables

      InspectionData.Builder variables(String variables)

      JSON string that contains the set of workflow variables after execution of the state. The set will include variables assigned in the state and variables set up as test state input.

      Parameters:
      variables - JSON string that contains the set of workflow variables after execution of the state. The set will include variables assigned in the state and variables set up as test state input.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorDetails

      InspectionData.Builder errorDetails(InspectionErrorDetails errorDetails)

      An object containing data about a handled exception in the tested state.

      Parameters:
      errorDetails - An object containing data about a handled exception in the tested state.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorDetails

      default InspectionData.Builder errorDetails(Consumer<InspectionErrorDetails.Builder> errorDetails)

      An object containing data about a handled exception in the tested state.

      This is a convenience method that creates an instance of the InspectionErrorDetails.Builder avoiding the need to create one manually via InspectionErrorDetails.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to errorDetails(InspectionErrorDetails).

      Parameters:
      errorDetails - a consumer that will call methods on InspectionErrorDetails.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • afterItemsPath

      InspectionData.Builder afterItemsPath(String afterItemsPath)

      The effective input after the ItemsPath filter is applied. Not populated when the QueryLanguage is JSONata.

      Parameters:
      afterItemsPath - The effective input after the ItemsPath filter is applied. Not populated when the QueryLanguage is JSONata.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • afterItemSelector

      InspectionData.Builder afterItemSelector(String afterItemSelector)

      An array containing the inputs for each Map iteration, transformed by the ItemSelector specified in a Map state.

      Parameters:
      afterItemSelector - An array containing the inputs for each Map iteration, transformed by the ItemSelector specified in a Map state.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • afterItemBatcher

      InspectionData.Builder afterItemBatcher(String afterItemBatcher)

      The effective input after the ItemBatcher filter is applied in a Map state.

      Parameters:
      afterItemBatcher - The effective input after the ItemBatcher filter is applied in a Map state.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • afterItemsPointer

      InspectionData.Builder afterItemsPointer(String afterItemsPointer)

      The effective input after the ItemsPointer filter is applied in a Map state.

      Parameters:
      afterItemsPointer - The effective input after the ItemsPointer filter is applied in a Map state.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • toleratedFailureCount

      InspectionData.Builder toleratedFailureCount(Integer toleratedFailureCount)

      The tolerated failure threshold for a Map state as defined in number of Map state iterations.

      Parameters:
      toleratedFailureCount - The tolerated failure threshold for a Map state as defined in number of Map state iterations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • toleratedFailurePercentage

      InspectionData.Builder toleratedFailurePercentage(Float toleratedFailurePercentage)

      The tolerated failure threshold for a Map state as defined in percentage of Map state iterations.

      Parameters:
      toleratedFailurePercentage - The tolerated failure threshold for a Map state as defined in percentage of Map state iterations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxConcurrency

      InspectionData.Builder maxConcurrency(Integer maxConcurrency)

      The max concurrency of the Map state.

      Parameters:
      maxConcurrency - The max concurrency of the Map state.
      Returns:
      Returns a reference to this object so that method calls can be chained together.