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 ofActionTarget
objects.actionTargets
(Consumer<ActionTarget.Builder>... actionTargets) A list ofActionTarget
objects.actionTargets
(ActionTarget... actionTargets) A list ofActionTarget
objects.The pagination token to use to request the next page of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.securityhub.model.SecurityHubResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
actionTargets
A list of
ActionTarget
objects. Each object includes theActionTargetArn
,Description
, andName
of a custom action target available in Security Hub.- Parameters:
actionTargets
- A list ofActionTarget
objects. Each object includes theActionTargetArn
,Description
, andName
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 theActionTargetArn
,Description
, andName
of a custom action target available in Security Hub.- Parameters:
actionTargets
- A list ofActionTarget
objects. Each object includes theActionTargetArn
,Description
, andName
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(Consumer<ActionTarget.Builder>... actionTargets) A list of
This is a convenience method that creates an instance of theActionTarget
objects. Each object includes theActionTargetArn
,Description
, andName
of a custom action target available in Security Hub.ActionTarget.Builder
avoiding the need to create one manually viaActionTarget.builder()
.When the
Consumer
completes,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.
-