Interface GetWorkflowExecutionHistoryRequest.Builder

    • Method Detail

      • domain

        GetWorkflowExecutionHistoryRequest.Builder domain​(String domain)

        The name of the domain containing the workflow execution.

        Parameters:
        domain - The name of the domain containing the workflow execution.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • execution

        GetWorkflowExecutionHistoryRequest.Builder execution​(WorkflowExecution execution)

        Specifies the workflow execution for which to return the history.

        Parameters:
        execution - Specifies the workflow execution for which to return the history.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextPageToken

        GetWorkflowExecutionHistoryRequest.Builder nextPageToken​(String nextPageToken)

        If NextPageToken is returned there are more results available. The value of NextPageToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return a 400 error: " Specified token has exceeded its maximum lifetime".

        The configured maximumPageSize determines how many results can be returned in a single call.

        Parameters:
        nextPageToken - If NextPageToken is returned there are more results available. The value of NextPageToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return a 400 error: " Specified token has exceeded its maximum lifetime".

        The configured maximumPageSize determines how many results can be returned in a single call.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maximumPageSize

        GetWorkflowExecutionHistoryRequest.Builder maximumPageSize​(Integer maximumPageSize)

        The maximum number of results that are returned per call. Use nextPageToken to obtain further pages of results.

        Parameters:
        maximumPageSize - The maximum number of results that are returned per call. Use nextPageToken to obtain further pages of results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • reverseOrder

        GetWorkflowExecutionHistoryRequest.Builder reverseOrder​(Boolean reverseOrder)

        When set to true, returns the events in reverse order. By default the results are returned in ascending order of the eventTimeStamp of the events.

        Parameters:
        reverseOrder - When set to true, returns the events in reverse order. By default the results are returned in ascending order of the eventTimeStamp of the events.
        Returns:
        Returns a reference to this object so that method calls can be chained together.