public static interface UpdateContainerAgentResponse.Builder extends EcsResponse.Builder, CopyableBuilder<UpdateContainerAgentResponse.Builder,UpdateContainerAgentResponse>
Modifier and Type | Method and Description |
---|---|
default UpdateContainerAgentResponse.Builder |
containerInstance(Consumer<ContainerInstance.Builder> containerInstance)
The container instance for which the container agent was updated.
|
UpdateContainerAgentResponse.Builder |
containerInstance(ContainerInstance containerInstance)
The container instance for which the container agent was updated.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
UpdateContainerAgentResponse.Builder containerInstance(ContainerInstance containerInstance)
The container instance for which the container agent was updated.
containerInstance
- The container instance for which the container agent was updated.default UpdateContainerAgentResponse.Builder containerInstance(Consumer<ContainerInstance.Builder> containerInstance)
The container instance for which the container agent was updated.
This is a convenience that creates an instance of theContainerInstance.Builder
avoiding the need to
create one manually via ContainerInstance.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to containerInstance(ContainerInstance)
.containerInstance
- a consumer that will call methods on ContainerInstance.Builder
containerInstance(ContainerInstance)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.