Interface DescribeServicesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeServicesResponse.Builder,,DescribeServicesResponse> SdkBuilder<DescribeServicesResponse.Builder,,DescribeServicesResponse> SdkPojo,SdkResponse.Builder,SupportResponse.Builder
- Enclosing class:
DescribeServicesResponse
public static interface DescribeServicesResponse.Builder
extends SupportResponse.Builder, SdkPojo, CopyableBuilder<DescribeServicesResponse.Builder,DescribeServicesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionservices(Collection<Service> services) A JSON-formatted list of Amazon Web Services services.services(Consumer<Service.Builder>... services) A JSON-formatted list of Amazon Web Services services.A JSON-formatted list of Amazon Web Services services.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.support.model.SupportResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
services
A JSON-formatted list of Amazon Web Services services.
- Parameters:
services- A JSON-formatted list of Amazon Web Services services.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
services
A JSON-formatted list of Amazon Web Services services.
- Parameters:
services- A JSON-formatted list of Amazon Web Services services.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
services
A JSON-formatted list of Amazon Web Services services.
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:
-