Interface UpdateContainerAgentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateContainerAgentResponse.Builder,,UpdateContainerAgentResponse> EcsResponse.Builder,SdkBuilder<UpdateContainerAgentResponse.Builder,,UpdateContainerAgentResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateContainerAgentResponse
public static interface UpdateContainerAgentResponse.Builder
extends EcsResponse.Builder, SdkPojo, CopyableBuilder<UpdateContainerAgentResponse.Builder,UpdateContainerAgentResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncontainerInstance(Consumer<ContainerInstance.Builder> containerInstance) The container instance that the container agent was updated for.containerInstance(ContainerInstance containerInstance) The container instance that the container agent was updated for.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ecs.model.EcsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
containerInstance
The container instance that the container agent was updated for.
- Parameters:
containerInstance- The container instance that the container agent was updated for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerInstance
default UpdateContainerAgentResponse.Builder containerInstance(Consumer<ContainerInstance.Builder> containerInstance) The container instance that the container agent was updated for.
This is a convenience method that creates an instance of theContainerInstance.Builderavoiding the need to create one manually viaContainerInstance.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontainerInstance(ContainerInstance).- Parameters:
containerInstance- a consumer that will call methods onContainerInstance.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-