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 Amazon Web Services recommends that you purchase this instance for.
|
ReservationPurchaseRecommendation.Builder |
accountScope(String accountScope)
The account scope that Amazon Web Services recommends that you purchase this instance for.
|
ReservationPurchaseRecommendation.Builder |
lookbackPeriodInDays(LookbackPeriodInDays lookbackPeriodInDays)
How many days of previous usage that Amazon Web Services considers when making this recommendation.
|
ReservationPurchaseRecommendation.Builder |
lookbackPeriodInDays(String lookbackPeriodInDays)
How many days of previous usage that Amazon Web Services considers when making this recommendation.
|
ReservationPurchaseRecommendation.Builder |
paymentOption(PaymentOption paymentOption)
The payment option for the reservation (for example,
AllUpfront or NoUpfront). |
ReservationPurchaseRecommendation.Builder |
paymentOption(String paymentOption)
The payment option for the reservation (for example,
AllUpfront or NoUpfront). |
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.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildReservationPurchaseRecommendation.Builder accountScope(String accountScope)
The account scope that Amazon Web Services recommends that you purchase this instance for. For example, you can purchase this reservation for an entire organization in Amazon Web Services Organizations.
accountScope - The account scope that Amazon Web Services recommends that you purchase this instance for. For
example, you can purchase this reservation for an entire organization in Amazon Web Services
Organizations.AccountScope,
AccountScopeReservationPurchaseRecommendation.Builder accountScope(AccountScope accountScope)
The account scope that Amazon Web Services recommends that you purchase this instance for. For example, you can purchase this reservation for an entire organization in Amazon Web Services Organizations.
accountScope - The account scope that Amazon Web Services recommends that you purchase this instance for. For
example, you can purchase this reservation for an entire organization in Amazon Web Services
Organizations.AccountScope,
AccountScopeReservationPurchaseRecommendation.Builder lookbackPeriodInDays(String lookbackPeriodInDays)
How many days of previous usage that Amazon Web Services considers when making this recommendation.
lookbackPeriodInDays - How many days of previous usage that Amazon Web Services considers when making this recommendation.LookbackPeriodInDays,
LookbackPeriodInDaysReservationPurchaseRecommendation.Builder lookbackPeriodInDays(LookbackPeriodInDays lookbackPeriodInDays)
How many days of previous usage that Amazon Web Services considers when making this recommendation.
lookbackPeriodInDays - How many days of previous usage that Amazon Web Services 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 method 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 method that creates an instance of theReservationPurchaseRecommendationDetail.Builder
avoiding the need to create one manually via
ReservationPurchaseRecommendationDetail.builder().
When the Consumer completes,
SdkBuilder.build()
is called immediately and its result is passed to #recommendationDetails(List.
recommendationDetails - a consumer that will call methods on
ReservationPurchaseRecommendationDetail.Builder#recommendationDetails(java.util.Collection) 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 method 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 © 2022. All rights reserved.