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 Summary
Modifier and TypeMethodDescriptionactionTargets(Collection<ActionTarget> actionTargets) A list ofActionTargetobjects.actionTargets(Consumer<ActionTarget.Builder>... actionTargets) A list ofActionTargetobjects.actionTargets(ActionTarget... actionTargets) A list ofActionTargetobjects.The pagination token to use to request the next page of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.securityhub.model.SecurityHubResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
actionTargets
A list of
ActionTargetobjects. Each object includes theActionTargetArn,Description, andNameof a custom action target available in Security Hub.- Parameters:
actionTargets- A list ofActionTargetobjects. Each object includes theActionTargetArn,Description, andNameof 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
ActionTargetobjects. Each object includes theActionTargetArn,Description, andNameof a custom action target available in Security Hub.- Parameters:
actionTargets- A list ofActionTargetobjects. Each object includes theActionTargetArn,Description, andNameof 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(Consumer<ActionTarget.Builder>... actionTargets) A list of
This is a convenience method that creates an instance of theActionTargetobjects. Each object includes theActionTargetArn,Description, andNameof a custom action target available in Security Hub.ActionTarget.Builderavoiding the need to create one manually viaActionTarget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toactionTargets(List<ActionTarget>).- Parameters:
actionTargets- a consumer that will call methods onActionTarget.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.
-