Interface DescribeServicesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeServicesResponse.Builder,,DescribeServicesResponse> EcsResponse.Builder,SdkBuilder<DescribeServicesResponse.Builder,,DescribeServicesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeServicesResponse
@Mutable
@NotThreadSafe
public static interface DescribeServicesResponse.Builder
extends EcsResponse.Builder, SdkPojo, CopyableBuilder<DescribeServicesResponse.Builder,DescribeServicesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionfailures(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.services(Collection<Service> services) The list of services described.services(Consumer<Service.Builder>... services) The list of services described.The list of services described.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
-
services
The list of services described.
- Parameters:
services- The list of services described.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
services
The list of services described.
- Parameters:
services- The list of services described.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
services
The list of services described.
This is a convenience method that creates an instance of theService.Builderavoiding the need to create one manually viaService.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toservices(List<Service>).- Parameters:
services- a consumer that will call methods onService.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:
-