Interface DescribeDaemonDeploymentsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeDaemonDeploymentsResponse.Builder,,DescribeDaemonDeploymentsResponse> EcsResponse.Builder,SdkBuilder<DescribeDaemonDeploymentsResponse.Builder,,DescribeDaemonDeploymentsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeDaemonDeploymentsResponse
@Mutable
@NotThreadSafe
public static interface DescribeDaemonDeploymentsResponse.Builder
extends EcsResponse.Builder, SdkPojo, CopyableBuilder<DescribeDaemonDeploymentsResponse.Builder,DescribeDaemonDeploymentsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondaemonDeployments(Collection<DaemonDeployment> daemonDeployments) The list of daemon deployments.daemonDeployments(Consumer<DaemonDeployment.Builder>... daemonDeployments) The list of daemon deployments.daemonDeployments(DaemonDeployment... daemonDeployments) The list of daemon deployments.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
-
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:
-
daemonDeployments
DescribeDaemonDeploymentsResponse.Builder daemonDeployments(Collection<DaemonDeployment> daemonDeployments) The list of daemon deployments.
- Parameters:
daemonDeployments- The list of daemon deployments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
daemonDeployments
The list of daemon deployments.
- Parameters:
daemonDeployments- The list of daemon deployments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
daemonDeployments
DescribeDaemonDeploymentsResponse.Builder daemonDeployments(Consumer<DaemonDeployment.Builder>... daemonDeployments) The list of daemon deployments.
This is a convenience method that creates an instance of theDaemonDeployment.Builderavoiding the need to create one manually viaDaemonDeployment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todaemonDeployments(List<DaemonDeployment>).- Parameters:
daemonDeployments- a consumer that will call methods onDaemonDeployment.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-