public static interface DeregisterTaskDefinitionResponse.Builder extends EcsResponse.Builder, CopyableBuilder<DeregisterTaskDefinitionResponse.Builder,DeregisterTaskDefinitionResponse>
Modifier and Type | Method and Description |
---|---|
default DeregisterTaskDefinitionResponse.Builder |
taskDefinition(Consumer<TaskDefinition.Builder> taskDefinition)
The full description of the deregistered task.
|
DeregisterTaskDefinitionResponse.Builder |
taskDefinition(TaskDefinition taskDefinition)
The full description of the deregistered task.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
DeregisterTaskDefinitionResponse.Builder taskDefinition(TaskDefinition taskDefinition)
The full description of the deregistered task.
taskDefinition
- The full description of the deregistered task.default DeregisterTaskDefinitionResponse.Builder taskDefinition(Consumer<TaskDefinition.Builder> taskDefinition)
The full description of the deregistered task.
This is a convenience that creates an instance of theTaskDefinition.Builder
avoiding the need to
create one manually via TaskDefinition.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to taskDefinition(TaskDefinition)
.taskDefinition
- a consumer that will call methods on TaskDefinition.Builder
taskDefinition(TaskDefinition)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.