Interface UpdateContainerInstancesStateResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdateContainerInstancesStateResponse.Builder,
,UpdateContainerInstancesStateResponse> EcsResponse.Builder
,SdkBuilder<UpdateContainerInstancesStateResponse.Builder,
,UpdateContainerInstancesStateResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateContainerInstancesStateResponse
public static interface UpdateContainerInstancesStateResponse.Builder
extends EcsResponse.Builder, SdkPojo, CopyableBuilder<UpdateContainerInstancesStateResponse.Builder,UpdateContainerInstancesStateResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncontainerInstances
(Collection<ContainerInstance> containerInstances) The list of container instances.containerInstances
(Consumer<ContainerInstance.Builder>... containerInstances) The list of container instances.containerInstances
(ContainerInstance... containerInstances) The list of container instances.failures
(Collection<Failure> failures) Any failures associated with the call.failures
(Consumer<Failure.Builder>... failures) Any failures associated with the call.Any failures associated with the call.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 Details
-
containerInstances
UpdateContainerInstancesStateResponse.Builder containerInstances(Collection<ContainerInstance> containerInstances) The list of container instances.
- Parameters:
containerInstances
- The list of container instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerInstances
UpdateContainerInstancesStateResponse.Builder containerInstances(ContainerInstance... containerInstances) The list of container instances.
- Parameters:
containerInstances
- The list of container instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerInstances
UpdateContainerInstancesStateResponse.Builder containerInstances(Consumer<ContainerInstance.Builder>... containerInstances) The list of container instances.
This is a convenience method that creates an instance of theContainerInstance.Builder
avoiding the need to create one manually viaContainerInstance.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontainerInstances(List<ContainerInstance>)
.- Parameters:
containerInstances
- 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:
-
failures
Any failures associated with the call.
- Parameters:
failures
- Any failures associated with the call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failures
Any failures associated with the call.
- Parameters:
failures
- Any failures associated with the call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failures
Any failures associated with the call.
This is a convenience method that creates an instance of theFailure.Builder
avoiding the need to create one manually viaFailure.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofailures(List<Failure>)
.- Parameters:
failures
- a consumer that will call methods onFailure.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-