public static interface RegisterTaskDefinitionResponse.Builder extends EcsResponse.Builder, SdkPojo, CopyableBuilder<RegisterTaskDefinitionResponse.Builder,RegisterTaskDefinitionResponse>
Modifier and Type | Method and Description |
---|---|
RegisterTaskDefinitionResponse.Builder |
tags(Collection<Tag> tags)
The list of tags associated with the task definition.
|
RegisterTaskDefinitionResponse.Builder |
tags(Consumer<Tag.Builder>... tags)
The list of tags associated with the task definition.
|
RegisterTaskDefinitionResponse.Builder |
tags(Tag... tags)
The list of tags associated with the task definition.
|
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.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
RegisterTaskDefinitionResponse.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.Builder
taskDefinition(TaskDefinition)
RegisterTaskDefinitionResponse.Builder tags(Collection<Tag> tags)
The list of tags associated with the task definition.
tags
- The list of tags associated with the task definition.RegisterTaskDefinitionResponse.Builder tags(Tag... tags)
The list of tags associated with the task definition.
tags
- The list of tags associated with the task definition.RegisterTaskDefinitionResponse.Builder tags(Consumer<Tag.Builder>... tags)
The list of tags associated with the task definition.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create
one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.