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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateContainerInstancesStateResponse.Builder
containerInstances(Collection<ContainerInstance> containerInstances)
The list of container instances.UpdateContainerInstancesStateResponse.Builder
containerInstances(Consumer<ContainerInstance.Builder>... containerInstances)
The list of container instances.UpdateContainerInstancesStateResponse.Builder
containerInstances(ContainerInstance... containerInstances)
The list of container instances.UpdateContainerInstancesStateResponse.Builder
failures(Collection<Failure> failures)
Any failures associated with the call.UpdateContainerInstancesStateResponse.Builder
failures(Consumer<Failure.Builder>... failures)
Any failures associated with the call.UpdateContainerInstancesStateResponse.Builder
failures(Failure... failures)
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 Detail
-
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 to#containerInstances(List
.) - 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:
#containerInstances(java.util.Collection
)
-
failures
UpdateContainerInstancesStateResponse.Builder failures(Collection<Failure> 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
UpdateContainerInstancesStateResponse.Builder failures(Failure... 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
UpdateContainerInstancesStateResponse.Builder failures(Consumer<Failure.Builder>... 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 to#failures(List
.) - 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:
#failures(java.util.Collection
)
-
-