public static interface ReservationPurchaseRecommendation.Builder extends SdkPojo, CopyableBuilder<ReservationPurchaseRecommendation.Builder,ReservationPurchaseRecommendation>
| Modifier and Type | Method and Description |
|---|---|
ReservationPurchaseRecommendation.Builder |
accountScope(AccountScope accountScope)
The account scope that AWS recommends that you purchase this instance for.
|
ReservationPurchaseRecommendation.Builder |
accountScope(String accountScope)
The account scope that AWS recommends that you purchase this instance for.
|
ReservationPurchaseRecommendation.Builder |
lookbackPeriodInDays(LookbackPeriodInDays lookbackPeriodInDays)
How many days of previous usage that AWS considers when making this recommendation.
|
ReservationPurchaseRecommendation.Builder |
lookbackPeriodInDays(String lookbackPeriodInDays)
How many days of previous usage that AWS considers when making this recommendation.
|
ReservationPurchaseRecommendation.Builder |
paymentOption(PaymentOption paymentOption)
The payment option for the reservation.
|
ReservationPurchaseRecommendation.Builder |
paymentOption(String paymentOption)
The payment option for the reservation.
|
ReservationPurchaseRecommendation.Builder |
recommendationDetails(Collection<ReservationPurchaseRecommendationDetail> recommendationDetails)
Details about the recommended purchases.
|
ReservationPurchaseRecommendation.Builder |
recommendationDetails(Consumer<ReservationPurchaseRecommendationDetail.Builder>... recommendationDetails)
Details about the recommended purchases.
|
ReservationPurchaseRecommendation.Builder |
recommendationDetails(ReservationPurchaseRecommendationDetail... recommendationDetails)
Details about the recommended purchases.
|
default ReservationPurchaseRecommendation.Builder |
recommendationSummary(Consumer<ReservationPurchaseRecommendationSummary.Builder> recommendationSummary)
A summary about the recommended purchase.
|
ReservationPurchaseRecommendation.Builder |
recommendationSummary(ReservationPurchaseRecommendationSummary recommendationSummary)
A summary about the recommended purchase.
|
default ReservationPurchaseRecommendation.Builder |
serviceSpecification(Consumer<ServiceSpecification.Builder> serviceSpecification)
Hardware specifications for the service that you want recommendations for.
|
ReservationPurchaseRecommendation.Builder |
serviceSpecification(ServiceSpecification serviceSpecification)
Hardware specifications for the service that you want recommendations for.
|
ReservationPurchaseRecommendation.Builder |
termInYears(String termInYears)
The term of the reservation that you want recommendations for, in years.
|
ReservationPurchaseRecommendation.Builder |
termInYears(TermInYears termInYears)
The term of the reservation that you want recommendations for, in years.
|
copyapplyMutation, buildReservationPurchaseRecommendation.Builder accountScope(String accountScope)
The account scope that AWS recommends that you purchase this instance for. For example, you can purchase this reservation for an entire organization in AWS Organizations.
accountScope - The account scope that AWS recommends that you purchase this instance for. For example, you can
purchase this reservation for an entire organization in AWS Organizations.AccountScope,
AccountScopeReservationPurchaseRecommendation.Builder accountScope(AccountScope accountScope)
The account scope that AWS recommends that you purchase this instance for. For example, you can purchase this reservation for an entire organization in AWS Organizations.
accountScope - The account scope that AWS recommends that you purchase this instance for. For example, you can
purchase this reservation for an entire organization in AWS Organizations.AccountScope,
AccountScopeReservationPurchaseRecommendation.Builder lookbackPeriodInDays(String lookbackPeriodInDays)
How many days of previous usage that AWS considers when making this recommendation.
lookbackPeriodInDays - How many days of previous usage that AWS considers when making this recommendation.LookbackPeriodInDays,
LookbackPeriodInDaysReservationPurchaseRecommendation.Builder lookbackPeriodInDays(LookbackPeriodInDays lookbackPeriodInDays)
How many days of previous usage that AWS considers when making this recommendation.
lookbackPeriodInDays - How many days of previous usage that AWS considers when making this recommendation.LookbackPeriodInDays,
LookbackPeriodInDaysReservationPurchaseRecommendation.Builder termInYears(String termInYears)
The term of the reservation that you want recommendations for, in years.
termInYears - The term of the reservation that you want recommendations for, in years.TermInYears,
TermInYearsReservationPurchaseRecommendation.Builder termInYears(TermInYears termInYears)
The term of the reservation that you want recommendations for, in years.
termInYears - The term of the reservation that you want recommendations for, in years.TermInYears,
TermInYearsReservationPurchaseRecommendation.Builder paymentOption(String paymentOption)
The payment option for the reservation. For example, AllUpfront or NoUpfront.
paymentOption - The payment option for the reservation. For example, AllUpfront or NoUpfront
.PaymentOption,
PaymentOptionReservationPurchaseRecommendation.Builder paymentOption(PaymentOption paymentOption)
The payment option for the reservation. For example, AllUpfront or NoUpfront.
paymentOption - The payment option for the reservation. For example, AllUpfront or NoUpfront
.PaymentOption,
PaymentOptionReservationPurchaseRecommendation.Builder serviceSpecification(ServiceSpecification serviceSpecification)
Hardware specifications for the service that you want recommendations for.
serviceSpecification - Hardware specifications for the service that you want recommendations for.default ReservationPurchaseRecommendation.Builder serviceSpecification(Consumer<ServiceSpecification.Builder> serviceSpecification)
Hardware specifications for the service that you want recommendations for.
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)ReservationPurchaseRecommendation.Builder recommendationDetails(Collection<ReservationPurchaseRecommendationDetail> recommendationDetails)
Details about the recommended purchases.
recommendationDetails - Details about the recommended purchases.ReservationPurchaseRecommendation.Builder recommendationDetails(ReservationPurchaseRecommendationDetail... recommendationDetails)
Details about the recommended purchases.
recommendationDetails - Details about the recommended purchases.ReservationPurchaseRecommendation.Builder recommendationDetails(Consumer<ReservationPurchaseRecommendationDetail.Builder>... recommendationDetails)
Details about the recommended purchases.
This is a convenience that creates an instance of the.Builder avoiding the need to create one manually via #builder() .
When the Consumer completes, List.Builder#build() is
called immediately and its result is passed to #recommendationDetails(List) .recommendationDetails - a consumer that will call methods on List.Builder #recommendationDetails(List) ReservationPurchaseRecommendation.Builder recommendationSummary(ReservationPurchaseRecommendationSummary recommendationSummary)
A summary about the recommended purchase.
recommendationSummary - A summary about the recommended purchase.default ReservationPurchaseRecommendation.Builder recommendationSummary(Consumer<ReservationPurchaseRecommendationSummary.Builder> recommendationSummary)
A summary about the recommended purchase.
This is a convenience that creates an instance of theReservationPurchaseRecommendationSummary.Builder avoiding the need to create one manually via
ReservationPurchaseRecommendationSummary.builder().
When the Consumer completes, SdkBuilder.build() is
called immediately and its result is passed to
recommendationSummary(ReservationPurchaseRecommendationSummary).recommendationSummary - a consumer that will call methods on ReservationPurchaseRecommendationSummary.BuilderrecommendationSummary(ReservationPurchaseRecommendationSummary)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.