Interface DescribeServicesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<DescribeServicesRequest.Builder,
,DescribeServicesRequest> PricingRequest.Builder
,SdkBuilder<DescribeServicesRequest.Builder,
,DescribeServicesRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
DescribeServicesRequest
public static interface DescribeServicesRequest.Builder
extends PricingRequest.Builder, SdkPojo, CopyableBuilder<DescribeServicesRequest.Builder,DescribeServicesRequest>
-
Method Summary
Modifier and TypeMethodDescriptionformatVersion
(String formatVersion) The format version that you want the response to be in.maxResults
(Integer maxResults) The maximum number of results that you want returned in the response.The pagination token that indicates the next set of results that you want to retrieve.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.serviceCode
(String serviceCode) The code for the service whose information you want to retrieve, such asAmazonEC2
.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.pricing.model.PricingRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
serviceCode
The code for the service whose information you want to retrieve, such as
AmazonEC2
. You can use theServiceCode
to filter the results in aGetProducts
call. To retrieve a list of all services, leave this blank.- Parameters:
serviceCode
- The code for the service whose information you want to retrieve, such asAmazonEC2
. You can use theServiceCode
to filter the results in aGetProducts
call. To retrieve a list of all services, leave this blank.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
formatVersion
The format version that you want the response to be in.
Valid values are:
aws_v1
- Parameters:
formatVersion
- The format version that you want the response to be in.Valid values are:
aws_v1
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The pagination token that indicates the next set of results that you want to retrieve.
- Parameters:
nextToken
- The pagination token that indicates the next set of results that you want to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of results that you want returned in the response.
- Parameters:
maxResults
- The maximum number of results that you want returned in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DescribeServicesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DescribeServicesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-