Interface DescribeActionTargetsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<DescribeActionTargetsResponse.Builder,DescribeActionTargetsResponse>, SdkBuilder<DescribeActionTargetsResponse.Builder,DescribeActionTargetsResponse>, SdkPojo, SdkResponse.Builder, SecurityHubResponse.Builder
Enclosing class:
DescribeActionTargetsResponse

public static interface DescribeActionTargetsResponse.Builder extends SecurityHubResponse.Builder, SdkPojo, CopyableBuilder<DescribeActionTargetsResponse.Builder,DescribeActionTargetsResponse>
  • Method Details

    • actionTargets

      A list of ActionTarget objects. Each object includes the ActionTargetArn, Description, and Name of a custom action target available in Security Hub.

      Parameters:
      actionTargets - A list of ActionTarget objects. Each object includes the ActionTargetArn, Description, and Name of a custom action target available in Security Hub.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • actionTargets

      DescribeActionTargetsResponse.Builder actionTargets(ActionTarget... actionTargets)

      A list of ActionTarget objects. Each object includes the ActionTargetArn, Description, and Name of a custom action target available in Security Hub.

      Parameters:
      actionTargets - A list of ActionTarget objects. Each object includes the ActionTargetArn, Description, and Name of a custom action target available in Security Hub.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • actionTargets

      A list of ActionTarget objects. Each object includes the ActionTargetArn, Description, and Name of a custom action target available in Security Hub.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to actionTargets(List<ActionTarget>).

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

      The pagination token to use to request the next page of results.

      Parameters:
      nextToken - The pagination token to use to request the next page of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.