Interface ListHookResultsResponse.Builder

    • Method Detail

      • targetId

        ListHookResultsResponse.Builder targetId​(String targetId)

        The logical ID of the target the operation is acting on by the Hook. If the target is a change set, it's the ARN of the change set.

        If the target is a Cloud Control API operation, this will be the HooksRequestToken returned by the Cloud Control API operation request. For more information on the HooksRequestToken, see ProgressEvent.

        Parameters:
        targetId - The logical ID of the target the operation is acting on by the Hook. If the target is a change set, it's the ARN of the change set.

        If the target is a Cloud Control API operation, this will be the HooksRequestToken returned by the Cloud Control API operation request. For more information on the HooksRequestToken, see ProgressEvent.

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

        ListHookResultsResponse.Builder hookResults​(Collection<HookResultSummary> hookResults)

        A list of HookResultSummary structures that provides the status and Hook status reason for each Hook invocation for the specified target.

        Parameters:
        hookResults - A list of HookResultSummary structures that provides the status and Hook status reason for each Hook invocation for the specified target.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • hookResults

        ListHookResultsResponse.Builder hookResults​(HookResultSummary... hookResults)

        A list of HookResultSummary structures that provides the status and Hook status reason for each Hook invocation for the specified target.

        Parameters:
        hookResults - A list of HookResultSummary structures that provides the status and Hook status reason for each Hook invocation for the specified target.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        ListHookResultsResponse.Builder nextToken​(String nextToken)

        Pagination token, null or empty if no more results.

        Parameters:
        nextToken - Pagination token, null or empty if no more results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.