public static interface DescribeServicesRequest.Builder extends PricingRequest.Builder, CopyableBuilder<DescribeServicesRequest.Builder,DescribeServicesRequest>
Modifier and Type | Method and Description |
---|---|
DescribeServicesRequest.Builder |
formatVersion(String formatVersion)
The format version that you want the response to be in.
|
DescribeServicesRequest.Builder |
maxResults(Integer maxResults)
The maximum number of results that you want returned in the response.
|
DescribeServicesRequest.Builder |
nextToken(String nextToken)
The pagination token that indicates the next set of results that you want to retrieve.
|
DescribeServicesRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
DescribeServicesRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
DescribeServicesRequest.Builder |
serviceCode(String serviceCode)
The code for the service whose information you want to retrieve, such as
AmazonEC2 . |
build
overrideConfiguration
copy
applyMutation, build
DescribeServicesRequest.Builder serviceCode(String serviceCode)
The code for the service whose information you want to retrieve, such as AmazonEC2
. You can use
the ServiceCode
to filter the results in a GetProducts
call. To retrieve a list of
all services, leave this blank.
serviceCode
- The code for the service whose information you want to retrieve, such as AmazonEC2
. You
can use the ServiceCode
to filter the results in a GetProducts
call. To
retrieve a list of all services, leave this blank.DescribeServicesRequest.Builder formatVersion(String formatVersion)
The format version that you want the response to be in.
Valid values are: aws_v1
formatVersion
- The format version that you want the response to be in.
Valid values are: aws_v1
DescribeServicesRequest.Builder nextToken(String nextToken)
The pagination token that indicates the next set of results that you want to retrieve.
nextToken
- The pagination token that indicates the next set of results that you want to retrieve.DescribeServicesRequest.Builder maxResults(Integer maxResults)
The maximum number of results that you want returned in the response.
maxResults
- The maximum number of results that you want returned in the response.DescribeServicesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.DescribeServicesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.