Interface ListDeployActionExecutionTargetsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodePipelineResponse.Builder,CopyableBuilder<ListDeployActionExecutionTargetsResponse.Builder,,ListDeployActionExecutionTargetsResponse> SdkBuilder<ListDeployActionExecutionTargetsResponse.Builder,,ListDeployActionExecutionTargetsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListDeployActionExecutionTargetsResponse
@Mutable
@NotThreadSafe
public static interface ListDeployActionExecutionTargetsResponse.Builder
extends CodePipelineResponse.Builder, SdkPojo, CopyableBuilder<ListDeployActionExecutionTargetsResponse.Builder,ListDeployActionExecutionTargetsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionAn identifier that was returned from the previous list action types call, which can be used to return the next set of action types in the list.targets(Collection<DeployActionExecutionTarget> targets) The targets for the deploy action.targets(Consumer<DeployActionExecutionTarget.Builder>... targets) The targets for the deploy action.targets(DeployActionExecutionTarget... targets) The targets for the deploy action.Methods inherited from interface software.amazon.awssdk.services.codepipeline.model.CodePipelineResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
targets
ListDeployActionExecutionTargetsResponse.Builder targets(Collection<DeployActionExecutionTarget> targets) The targets for the deploy action.
- Parameters:
targets- The targets for the deploy action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
The targets for the deploy action.
- Parameters:
targets- The targets for the deploy action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
ListDeployActionExecutionTargetsResponse.Builder targets(Consumer<DeployActionExecutionTarget.Builder>... targets) The targets for the deploy action.
This is a convenience method that creates an instance of theDeployActionExecutionTarget.Builderavoiding the need to create one manually viaDeployActionExecutionTarget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totargets(List<DeployActionExecutionTarget>).- Parameters:
targets- a consumer that will call methods onDeployActionExecutionTarget.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
An identifier that was returned from the previous list action types call, which can be used to return the next set of action types in the list.
- Parameters:
nextToken- An identifier that was returned from the previous list action types call, which can be used to return the next set of action types in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-