Interface DescribeServicesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeServicesResponse.Builder,,DescribeServicesResponse> PricingResponse.Builder,SdkBuilder<DescribeServicesResponse.Builder,,DescribeServicesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeServicesResponse
public static interface DescribeServicesResponse.Builder
extends PricingResponse.Builder, SdkPojo, CopyableBuilder<DescribeServicesResponse.Builder,DescribeServicesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionformatVersion(String formatVersion) The format version of the response.The pagination token for the next set of retrievable results.services(Collection<Service> services) The service metadata for the service or services in the response.services(Consumer<Service.Builder>... services) The service metadata for the service or services in the response.The service metadata for the service or services in the response.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.pricing.model.PricingResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkHttpResponse
-
Method Details
-
services
The service metadata for the service or services in the response.
- Parameters:
services- The service metadata for the service or services in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
services
The service metadata for the service or services in the response.
- Parameters:
services- The service metadata for the service or services in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
services
The service metadata for the service or services in the response.
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:
-
formatVersion
The format version of the response. For example,
aws_v1.- Parameters:
formatVersion- The format version of the response. For example,aws_v1.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The pagination token for the next set of retrievable results.
- Parameters:
nextToken- The pagination token for the next set of retrievable results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-