Interface DeleteTaskDefinitionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DeleteTaskDefinitionsResponse.Builder,,DeleteTaskDefinitionsResponse> EcsResponse.Builder,SdkBuilder<DeleteTaskDefinitionsResponse.Builder,,DeleteTaskDefinitionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DeleteTaskDefinitionsResponse
@Mutable
@NotThreadSafe
public static interface DeleteTaskDefinitionsResponse.Builder
extends EcsResponse.Builder, SdkPojo, CopyableBuilder<DeleteTaskDefinitionsResponse.Builder,DeleteTaskDefinitionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionfailures(Collection<Failure> failures) Any failures associated with the call.failures(Consumer<Failure.Builder>... failures) Any failures associated with the call.Any failures associated with the call.taskDefinitions(Collection<TaskDefinition> taskDefinitions) The list of deleted task definitions.taskDefinitions(Consumer<TaskDefinition.Builder>... taskDefinitions) The list of deleted task definitions.taskDefinitions(TaskDefinition... taskDefinitions) The list of deleted task definitions.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ecs.model.EcsResponse.Builder
build, responseMetadata, responseMetadataMethods 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
-
taskDefinitions
The list of deleted task definitions.
- Parameters:
taskDefinitions- The list of deleted task definitions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskDefinitions
The list of deleted task definitions.
- Parameters:
taskDefinitions- The list of deleted task definitions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskDefinitions
DeleteTaskDefinitionsResponse.Builder taskDefinitions(Consumer<TaskDefinition.Builder>... taskDefinitions) The list of deleted task definitions.
This is a convenience method that creates an instance of theTaskDefinition.Builderavoiding the need to create one manually viaTaskDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totaskDefinitions(List<TaskDefinition>).- Parameters:
taskDefinitions- a consumer that will call methods onTaskDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failures
Any failures associated with the call.
- Parameters:
failures- Any failures associated with the call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failures
Any failures associated with the call.
- Parameters:
failures- Any failures associated with the call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failures
Any failures associated with the call.
This is a convenience method that creates an instance of theFailure.Builderavoiding the need to create one manually viaFailure.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailures(List<Failure>).- Parameters:
failures- a consumer that will call methods onFailure.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-