public static interface RegisterTaskDefinitionResponse.Builder extends ECSResponse.Builder, CopyableBuilder<RegisterTaskDefinitionResponse.Builder,RegisterTaskDefinitionResponse>
| Modifier and Type | Method and Description |
|---|---|
default RegisterTaskDefinitionResponse.Builder |
taskDefinition(Consumer<TaskDefinition.Builder> taskDefinition)
The full description of the registered task definition.
|
RegisterTaskDefinitionResponse.Builder |
taskDefinition(TaskDefinition taskDefinition)
The full description of the registered task definition.
|
buildsdkHttpResponse, sdkHttpResponsecopyapply, buildRegisterTaskDefinitionResponse.Builder taskDefinition(TaskDefinition taskDefinition)
The full description of the registered task definition.
taskDefinition - The full description of the registered task definition.default RegisterTaskDefinitionResponse.Builder taskDefinition(Consumer<TaskDefinition.Builder> taskDefinition)
The full description of the registered task definition.
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.BuildertaskDefinition(TaskDefinition)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.