public static interface DescribeTaskDefinitionResponse.Builder extends EcsResponse.Builder, SdkPojo, CopyableBuilder<DescribeTaskDefinitionResponse.Builder,DescribeTaskDefinitionResponse>
Modifier and Type | Method and Description |
---|---|
DescribeTaskDefinitionResponse.Builder |
tags(Collection<Tag> tags)
The metadata that is applied to the task definition to help you categorize and organize them.
|
DescribeTaskDefinitionResponse.Builder |
tags(Consumer<Tag.Builder>... tags)
The metadata that is applied to the task definition to help you categorize and organize them.
|
DescribeTaskDefinitionResponse.Builder |
tags(Tag... tags)
The metadata that is applied to the task definition to help you categorize and organize them.
|
default DescribeTaskDefinitionResponse.Builder |
taskDefinition(Consumer<TaskDefinition.Builder> taskDefinition)
The full task definition description.
|
DescribeTaskDefinitionResponse.Builder |
taskDefinition(TaskDefinition taskDefinition)
The full task definition description.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
DescribeTaskDefinitionResponse.Builder taskDefinition(TaskDefinition taskDefinition)
The full task definition description.
taskDefinition
- The full task definition description.default DescribeTaskDefinitionResponse.Builder taskDefinition(Consumer<TaskDefinition.Builder> taskDefinition)
The full task definition description.
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)
DescribeTaskDefinitionResponse.Builder tags(Collection<Tag> tags)
The metadata that is applied to the task definition to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
tags
- The metadata that is applied to the task definition to help you categorize and organize them. Each tag
consists of a key and an optional value, both of which you define. Tag keys can have a maximum
character length of 128 characters, and tag values can have a maximum length of 256 characters.DescribeTaskDefinitionResponse.Builder tags(Tag... tags)
The metadata that is applied to the task definition to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
tags
- The metadata that is applied to the task definition to help you categorize and organize them. Each tag
consists of a key and an optional value, both of which you define. Tag keys can have a maximum
character length of 128 characters, and tag values can have a maximum length of 256 characters.DescribeTaskDefinitionResponse.Builder tags(Consumer<Tag.Builder>... tags)
The metadata that is applied to the task definition to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
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.