@Generated(value="software.amazon.awssdk:codegen") public final class ReservationPurchaseRecommendation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ReservationPurchaseRecommendation.Builder,ReservationPurchaseRecommendation>
A specific reservation that AWS recommends for purchase.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ReservationPurchaseRecommendation.Builder |
| Modifier and Type | Method and Description |
|---|---|
AccountScope |
accountScope()
The account scope that AWS recommends that you purchase this instance for.
|
String |
accountScopeAsString()
The account scope that AWS recommends that you purchase this instance for.
|
static ReservationPurchaseRecommendation.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
LookbackPeriodInDays |
lookbackPeriodInDays()
How many days of previous usage that AWS considers when making this recommendation.
|
String |
lookbackPeriodInDaysAsString()
How many days of previous usage that AWS considers when making this recommendation.
|
PaymentOption |
paymentOption()
The payment option for the reservation.
|
String |
paymentOptionAsString()
The payment option for the reservation.
|
List<ReservationPurchaseRecommendationDetail> |
recommendationDetails()
Details about the recommended purchases.
|
ReservationPurchaseRecommendationSummary |
recommendationSummary()
A summary about the recommended purchase.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ReservationPurchaseRecommendation.Builder> |
serializableBuilderClass() |
ServiceSpecification |
serviceSpecification()
Hardware specifications for the service that you want recommendations for.
|
TermInYears |
termInYears()
The term of the reservation that you want recommendations for, in years.
|
String |
termInYearsAsString()
The term of the reservation that you want recommendations for, in years.
|
ReservationPurchaseRecommendation.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic 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.
If the service returns an enum value that is not available in the current SDK version, accountScope will
return AccountScope.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
accountScopeAsString().
AccountScopepublic String accountScopeAsString()
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.
If the service returns an enum value that is not available in the current SDK version, accountScope will
return AccountScope.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
accountScopeAsString().
AccountScopepublic LookbackPeriodInDays lookbackPeriodInDays()
How many days of previous usage that AWS considers when making this recommendation.
If the service returns an enum value that is not available in the current SDK version,
lookbackPeriodInDays will return LookbackPeriodInDays.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from lookbackPeriodInDaysAsString().
LookbackPeriodInDayspublic String lookbackPeriodInDaysAsString()
How many days of previous usage that AWS considers when making this recommendation.
If the service returns an enum value that is not available in the current SDK version,
lookbackPeriodInDays will return LookbackPeriodInDays.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from lookbackPeriodInDaysAsString().
LookbackPeriodInDayspublic TermInYears termInYears()
The term of the reservation that you want recommendations for, in years.
If the service returns an enum value that is not available in the current SDK version, termInYears will
return TermInYears.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
termInYearsAsString().
TermInYearspublic String termInYearsAsString()
The term of the reservation that you want recommendations for, in years.
If the service returns an enum value that is not available in the current SDK version, termInYears will
return TermInYears.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
termInYearsAsString().
TermInYearspublic PaymentOption paymentOption()
The payment option for the reservation. For example, AllUpfront or NoUpfront.
If the service returns an enum value that is not available in the current SDK version, paymentOption
will return PaymentOption.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
paymentOptionAsString().
AllUpfront or NoUpfront.PaymentOptionpublic String paymentOptionAsString()
The payment option for the reservation. For example, AllUpfront or NoUpfront.
If the service returns an enum value that is not available in the current SDK version, paymentOption
will return PaymentOption.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
paymentOptionAsString().
AllUpfront or NoUpfront.PaymentOptionpublic ServiceSpecification serviceSpecification()
Hardware specifications for the service that you want recommendations for.
public List<ReservationPurchaseRecommendationDetail> recommendationDetails()
Details about the recommended purchases.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public ReservationPurchaseRecommendationSummary recommendationSummary()
A summary about the recommended purchase.
public ReservationPurchaseRecommendation.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<ReservationPurchaseRecommendation.Builder,ReservationPurchaseRecommendation>public static ReservationPurchaseRecommendation.Builder builder()
public static Class<? extends ReservationPurchaseRecommendation.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.