Interface UpdateContainerInstancesStateResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateContainerInstancesStateResponse.Builder,,UpdateContainerInstancesStateResponse> EcsResponse.Builder,SdkBuilder<UpdateContainerInstancesStateResponse.Builder,,UpdateContainerInstancesStateResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateContainerInstancesStateResponse
@Mutable
@NotThreadSafe
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
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, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaContainerInstance.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaFailure.builder().When the
Consumercompletes,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:
-