Interface RegisterTaskDefinitionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<RegisterTaskDefinitionResponse.Builder,RegisterTaskDefinitionResponse>,EcsResponse.Builder,SdkBuilder<RegisterTaskDefinitionResponse.Builder,RegisterTaskDefinitionResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- RegisterTaskDefinitionResponse
public static interface RegisterTaskDefinitionResponse.Builder extends EcsResponse.Builder, SdkPojo, CopyableBuilder<RegisterTaskDefinitionResponse.Builder,RegisterTaskDefinitionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description RegisterTaskDefinitionResponse.Buildertags(Collection<Tag> tags)The list of tags associated with the task definition.RegisterTaskDefinitionResponse.Buildertags(Consumer<Tag.Builder>... tags)The list of tags associated with the task definition.RegisterTaskDefinitionResponse.Buildertags(Tag... tags)The list of tags associated with the task definition.default RegisterTaskDefinitionResponse.BuildertaskDefinition(Consumer<TaskDefinition.Builder> taskDefinition)The full description of the registered task definition.RegisterTaskDefinitionResponse.BuildertaskDefinition(TaskDefinition taskDefinition)The full description of the registered task definition.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ecs.model.EcsResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
taskDefinition
RegisterTaskDefinitionResponse.Builder taskDefinition(TaskDefinition taskDefinition)
The full description of the registered task definition.
- Parameters:
taskDefinition- The full description of the registered task definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskDefinition
default RegisterTaskDefinitionResponse.Builder taskDefinition(Consumer<TaskDefinition.Builder> taskDefinition)
The full description of the registered task definition.
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 totaskDefinition(TaskDefinition).- Parameters:
taskDefinition- 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:
taskDefinition(TaskDefinition)
-
tags
RegisterTaskDefinitionResponse.Builder tags(Collection<Tag> tags)
The list of tags associated with the task definition.
- Parameters:
tags- The list of tags associated with the task definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
RegisterTaskDefinitionResponse.Builder tags(Tag... tags)
The list of tags associated with the task definition.
- Parameters:
tags- The list of tags associated with the task definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
RegisterTaskDefinitionResponse.Builder tags(Consumer<Tag.Builder>... tags)
The list of tags associated with the task definition.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
-