Interface ListHookResultsRequest.Builder

  • Method Details

    • targetType

      ListHookResultsRequest.Builder targetType(String targetType)

      Filters results by target type. Currently, only CHANGE_SET and CLOUD_CONTROL are supported filter options.

      Required when TargetId is specified and cannot be used otherwise.

      Parameters:
      targetType - Filters results by target type. Currently, only CHANGE_SET and CLOUD_CONTROL are supported filter options.

      Required when TargetId is specified and cannot be used otherwise.

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

      Filters results by target type. Currently, only CHANGE_SET and CLOUD_CONTROL are supported filter options.

      Required when TargetId is specified and cannot be used otherwise.

      Parameters:
      targetType - Filters results by target type. Currently, only CHANGE_SET and CLOUD_CONTROL are supported filter options.

      Required when TargetId is specified and cannot be used otherwise.

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

      Filters results by the unique identifier of the target the Hook was invoked against.

      For change sets, this is the change set ARN. When the target is a Cloud Control API operation, this value must be the HookRequestToken returned by the Cloud Control API request. For more information on the HookRequestToken, see ProgressEvent.

      Required when TargetType is specified and cannot be used otherwise.

      Parameters:
      targetId - Filters results by the unique identifier of the target the Hook was invoked against.

      For change sets, this is the change set ARN. When the target is a Cloud Control API operation, this value must be the HookRequestToken returned by the Cloud Control API request. For more information on the HookRequestToken, see ProgressEvent.

      Required when TargetType is specified and cannot be used otherwise.

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

      Filters results by the ARN of the Hook. Can be used alone or in combination with Status.

      Parameters:
      typeArn - Filters results by the ARN of the Hook. Can be used alone or in combination with Status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      Filters results by the status of Hook invocations. Can only be used in combination with TypeArn. Valid values are:

      • HOOK_IN_PROGRESS: The Hook is currently running.

      • HOOK_COMPLETE_SUCCEEDED: The Hook completed successfully.

      • HOOK_COMPLETE_FAILED: The Hook completed but failed validation.

      • HOOK_FAILED: The Hook encountered an error during execution.

      Parameters:
      status - Filters results by the status of Hook invocations. Can only be used in combination with TypeArn. Valid values are:

      • HOOK_IN_PROGRESS: The Hook is currently running.

      • HOOK_COMPLETE_SUCCEEDED: The Hook completed successfully.

      • HOOK_COMPLETE_FAILED: The Hook completed but failed validation.

      • HOOK_FAILED: The Hook encountered an error during execution.

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

      Filters results by the status of Hook invocations. Can only be used in combination with TypeArn. Valid values are:

      • HOOK_IN_PROGRESS: The Hook is currently running.

      • HOOK_COMPLETE_SUCCEEDED: The Hook completed successfully.

      • HOOK_COMPLETE_FAILED: The Hook completed but failed validation.

      • HOOK_FAILED: The Hook encountered an error during execution.

      Parameters:
      status - Filters results by the status of Hook invocations. Can only be used in combination with TypeArn. Valid values are:

      • HOOK_IN_PROGRESS: The Hook is currently running.

      • HOOK_COMPLETE_SUCCEEDED: The Hook completed successfully.

      • HOOK_COMPLETE_FAILED: The Hook completed but failed validation.

      • HOOK_FAILED: The Hook encountered an error during execution.

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

      ListHookResultsRequest.Builder nextToken(String nextToken)

      A string that identifies the next page of events that you want to retrieve.

      Parameters:
      nextToken - A string that identifies the next page of events that you want to retrieve.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      ListHookResultsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.