public static interface GetReservationPurchaseRecommendationRequest.Builder extends CostExplorerRequest.Builder, SdkPojo, CopyableBuilder<GetReservationPurchaseRecommendationRequest.Builder,GetReservationPurchaseRecommendationRequest>
| Modifier and Type | Method and Description |
|---|---|
GetReservationPurchaseRecommendationRequest.Builder |
accountId(String accountId)
The account ID that is associated with the recommendation.
|
GetReservationPurchaseRecommendationRequest.Builder |
accountScope(AccountScope accountScope)
The account scope that you want recommendations for.
|
GetReservationPurchaseRecommendationRequest.Builder |
accountScope(String accountScope)
The account scope that you want recommendations for.
|
GetReservationPurchaseRecommendationRequest.Builder |
lookbackPeriodInDays(LookbackPeriodInDays lookbackPeriodInDays)
The number of previous days that you want AWS to consider when it calculates your recommendations.
|
GetReservationPurchaseRecommendationRequest.Builder |
lookbackPeriodInDays(String lookbackPeriodInDays)
The number of previous days that you want AWS to consider when it calculates your recommendations.
|
GetReservationPurchaseRecommendationRequest.Builder |
nextPageToken(String nextPageToken)
The pagination token that indicates the next set of results that you want to retrieve.
|
GetReservationPurchaseRecommendationRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
GetReservationPurchaseRecommendationRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
GetReservationPurchaseRecommendationRequest.Builder |
pageSize(Integer pageSize)
The number of recommendations that you want returned in a single response object.
|
GetReservationPurchaseRecommendationRequest.Builder |
paymentOption(PaymentOption paymentOption)
The reservation purchase option that you want recommendations for.
|
GetReservationPurchaseRecommendationRequest.Builder |
paymentOption(String paymentOption)
The reservation purchase option that you want recommendations for.
|
GetReservationPurchaseRecommendationRequest.Builder |
service(String service)
The specific service that you want recommendations for.
|
default GetReservationPurchaseRecommendationRequest.Builder |
serviceSpecification(Consumer<ServiceSpecification.Builder> serviceSpecification)
The hardware specifications for the service instances that you want recommendations for, such as standard or
convertible Amazon EC2 instances.
|
GetReservationPurchaseRecommendationRequest.Builder |
serviceSpecification(ServiceSpecification serviceSpecification)
The hardware specifications for the service instances that you want recommendations for, such as standard or
convertible Amazon EC2 instances.
|
GetReservationPurchaseRecommendationRequest.Builder |
termInYears(String termInYears)
The reservation term that you want recommendations for.
|
GetReservationPurchaseRecommendationRequest.Builder |
termInYears(TermInYears termInYears)
The reservation term that you want recommendations for.
|
buildoverrideConfigurationcopyapplyMutation, buildGetReservationPurchaseRecommendationRequest.Builder accountId(String accountId)
The account ID that is associated with the recommendation.
accountId - The account ID that is associated with the recommendation.GetReservationPurchaseRecommendationRequest.Builder service(String service)
The specific service that you want recommendations for.
service - The specific service that you want recommendations for.GetReservationPurchaseRecommendationRequest.Builder accountScope(String accountScope)
The account scope that you want recommendations for. PAYER means that AWS includes the master
account and any member accounts when it calculates its recommendations. LINKED means that AWS
includes only member accounts when it calculates its recommendations.
Valid values are PAYER and LINKED.
accountScope - The account scope that you want recommendations for. PAYER means that AWS includes the
master account and any member accounts when it calculates its recommendations. LINKED
means that AWS includes only member accounts when it calculates its recommendations.
Valid values are PAYER and LINKED.
AccountScope,
AccountScopeGetReservationPurchaseRecommendationRequest.Builder accountScope(AccountScope accountScope)
The account scope that you want recommendations for. PAYER means that AWS includes the master
account and any member accounts when it calculates its recommendations. LINKED means that AWS
includes only member accounts when it calculates its recommendations.
Valid values are PAYER and LINKED.
accountScope - The account scope that you want recommendations for. PAYER means that AWS includes the
master account and any member accounts when it calculates its recommendations. LINKED
means that AWS includes only member accounts when it calculates its recommendations.
Valid values are PAYER and LINKED.
AccountScope,
AccountScopeGetReservationPurchaseRecommendationRequest.Builder lookbackPeriodInDays(String lookbackPeriodInDays)
The number of previous days that you want AWS to consider when it calculates your recommendations.
lookbackPeriodInDays - The number of previous days that you want AWS to consider when it calculates your recommendations.LookbackPeriodInDays,
LookbackPeriodInDaysGetReservationPurchaseRecommendationRequest.Builder lookbackPeriodInDays(LookbackPeriodInDays lookbackPeriodInDays)
The number of previous days that you want AWS to consider when it calculates your recommendations.
lookbackPeriodInDays - The number of previous days that you want AWS to consider when it calculates your recommendations.LookbackPeriodInDays,
LookbackPeriodInDaysGetReservationPurchaseRecommendationRequest.Builder termInYears(String termInYears)
The reservation term that you want recommendations for.
termInYears - The reservation term that you want recommendations for.TermInYears,
TermInYearsGetReservationPurchaseRecommendationRequest.Builder termInYears(TermInYears termInYears)
The reservation term that you want recommendations for.
termInYears - The reservation term that you want recommendations for.TermInYears,
TermInYearsGetReservationPurchaseRecommendationRequest.Builder paymentOption(String paymentOption)
The reservation purchase option that you want recommendations for.
paymentOption - The reservation purchase option that you want recommendations for.PaymentOption,
PaymentOptionGetReservationPurchaseRecommendationRequest.Builder paymentOption(PaymentOption paymentOption)
The reservation purchase option that you want recommendations for.
paymentOption - The reservation purchase option that you want recommendations for.PaymentOption,
PaymentOptionGetReservationPurchaseRecommendationRequest.Builder serviceSpecification(ServiceSpecification serviceSpecification)
The hardware specifications for the service instances that you want recommendations for, such as standard or convertible Amazon EC2 instances.
serviceSpecification - The hardware specifications for the service instances that you want recommendations for, such as
standard or convertible Amazon EC2 instances.default GetReservationPurchaseRecommendationRequest.Builder serviceSpecification(Consumer<ServiceSpecification.Builder> serviceSpecification)
The hardware specifications for the service instances that you want recommendations for, such as standard or convertible Amazon EC2 instances.
This is a convenience that creates an instance of theServiceSpecification.Builder avoiding the need
to create one manually via ServiceSpecification.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to serviceSpecification(ServiceSpecification).serviceSpecification - a consumer that will call methods on ServiceSpecification.BuilderserviceSpecification(ServiceSpecification)GetReservationPurchaseRecommendationRequest.Builder pageSize(Integer pageSize)
The number of recommendations that you want returned in a single response object.
pageSize - The number of recommendations that you want returned in a single response object.GetReservationPurchaseRecommendationRequest.Builder nextPageToken(String nextPageToken)
The pagination token that indicates the next set of results that you want to retrieve.
nextPageToken - The pagination token that indicates the next set of results that you want to retrieve.GetReservationPurchaseRecommendationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderoverrideConfiguration - The override configuration.GetReservationPurchaseRecommendationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.