@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReservationPurchaseRecommendation extends Object implements Serializable, Cloneable, StructuredPojo
A specific reservation that AWS recommends for purchase.
| Constructor and Description |
|---|
ReservationPurchaseRecommendation() |
| Modifier and Type | Method and Description |
|---|---|
ReservationPurchaseRecommendation |
clone() |
boolean |
equals(Object obj) |
String |
getAccountScope()
The account scope that AWS recommends that you purchase this instance for.
|
String |
getLookbackPeriodInDays()
How many days of previous usage that AWS considers when making this recommendation.
|
String |
getPaymentOption()
The payment option for the reservation.
|
List<ReservationPurchaseRecommendationDetail> |
getRecommendationDetails()
Details about the recommended purchases.
|
ReservationPurchaseRecommendationSummary |
getRecommendationSummary()
A summary about the recommended purchase.
|
ServiceSpecification |
getServiceSpecification()
Hardware specifications for the service that you want recommendations for.
|
String |
getTermInYears()
The term of the reservation that you want recommendations for, in years.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAccountScope(String accountScope)
The account scope that AWS recommends that you purchase this instance for.
|
void |
setLookbackPeriodInDays(String lookbackPeriodInDays)
How many days of previous usage that AWS considers when making this recommendation.
|
void |
setPaymentOption(String paymentOption)
The payment option for the reservation.
|
void |
setRecommendationDetails(Collection<ReservationPurchaseRecommendationDetail> recommendationDetails)
Details about the recommended purchases.
|
void |
setRecommendationSummary(ReservationPurchaseRecommendationSummary recommendationSummary)
A summary about the recommended purchase.
|
void |
setServiceSpecification(ServiceSpecification serviceSpecification)
Hardware specifications for the service that you want recommendations for.
|
void |
setTermInYears(String termInYears)
The term of the reservation that you want recommendations for, in years.
|
String |
toString()
Returns a string representation of this object.
|
ReservationPurchaseRecommendation |
withAccountScope(AccountScope accountScope)
The account scope that AWS recommends that you purchase this instance for.
|
ReservationPurchaseRecommendation |
withAccountScope(String accountScope)
The account scope that AWS recommends that you purchase this instance for.
|
ReservationPurchaseRecommendation |
withLookbackPeriodInDays(LookbackPeriodInDays lookbackPeriodInDays)
How many days of previous usage that AWS considers when making this recommendation.
|
ReservationPurchaseRecommendation |
withLookbackPeriodInDays(String lookbackPeriodInDays)
How many days of previous usage that AWS considers when making this recommendation.
|
ReservationPurchaseRecommendation |
withPaymentOption(PaymentOption paymentOption)
The payment option for the reservation.
|
ReservationPurchaseRecommendation |
withPaymentOption(String paymentOption)
The payment option for the reservation.
|
ReservationPurchaseRecommendation |
withRecommendationDetails(Collection<ReservationPurchaseRecommendationDetail> recommendationDetails)
Details about the recommended purchases.
|
ReservationPurchaseRecommendation |
withRecommendationDetails(ReservationPurchaseRecommendationDetail... recommendationDetails)
Details about the recommended purchases.
|
ReservationPurchaseRecommendation |
withRecommendationSummary(ReservationPurchaseRecommendationSummary recommendationSummary)
A summary about the recommended purchase.
|
ReservationPurchaseRecommendation |
withServiceSpecification(ServiceSpecification serviceSpecification)
Hardware specifications for the service that you want recommendations for.
|
ReservationPurchaseRecommendation |
withTermInYears(String termInYears)
The term of the reservation that you want recommendations for, in years.
|
ReservationPurchaseRecommendation |
withTermInYears(TermInYears termInYears)
The term of the reservation that you want recommendations for, in years.
|
public void setAccountScope(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.AccountScopepublic String getAccountScope()
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.
AccountScopepublic ReservationPurchaseRecommendation withAccountScope(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.AccountScopepublic ReservationPurchaseRecommendation withAccountScope(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.AccountScopepublic void setLookbackPeriodInDays(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.LookbackPeriodInDayspublic String getLookbackPeriodInDays()
How many days of previous usage that AWS considers when making this recommendation.
LookbackPeriodInDayspublic ReservationPurchaseRecommendation withLookbackPeriodInDays(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.LookbackPeriodInDayspublic ReservationPurchaseRecommendation withLookbackPeriodInDays(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.LookbackPeriodInDayspublic void setTermInYears(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.TermInYearspublic String getTermInYears()
The term of the reservation that you want recommendations for, in years.
TermInYearspublic ReservationPurchaseRecommendation withTermInYears(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.TermInYearspublic ReservationPurchaseRecommendation withTermInYears(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.TermInYearspublic void setPaymentOption(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.PaymentOptionpublic String getPaymentOption()
The payment option for the reservation. For example, AllUpfront or NoUpfront.
AllUpfront or NoUpfront.PaymentOptionpublic ReservationPurchaseRecommendation withPaymentOption(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.PaymentOptionpublic ReservationPurchaseRecommendation withPaymentOption(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.PaymentOptionpublic void setServiceSpecification(ServiceSpecification serviceSpecification)
Hardware specifications for the service that you want recommendations for.
serviceSpecification - Hardware specifications for the service that you want recommendations for.public ServiceSpecification getServiceSpecification()
Hardware specifications for the service that you want recommendations for.
public ReservationPurchaseRecommendation withServiceSpecification(ServiceSpecification serviceSpecification)
Hardware specifications for the service that you want recommendations for.
serviceSpecification - Hardware specifications for the service that you want recommendations for.public List<ReservationPurchaseRecommendationDetail> getRecommendationDetails()
Details about the recommended purchases.
public void setRecommendationDetails(Collection<ReservationPurchaseRecommendationDetail> recommendationDetails)
Details about the recommended purchases.
recommendationDetails - Details about the recommended purchases.public ReservationPurchaseRecommendation withRecommendationDetails(ReservationPurchaseRecommendationDetail... recommendationDetails)
Details about the recommended purchases.
NOTE: This method appends the values to the existing list (if any). Use
setRecommendationDetails(java.util.Collection) or
withRecommendationDetails(java.util.Collection) if you want to override the existing values.
recommendationDetails - Details about the recommended purchases.public ReservationPurchaseRecommendation withRecommendationDetails(Collection<ReservationPurchaseRecommendationDetail> recommendationDetails)
Details about the recommended purchases.
recommendationDetails - Details about the recommended purchases.public void setRecommendationSummary(ReservationPurchaseRecommendationSummary recommendationSummary)
A summary about the recommended purchase.
recommendationSummary - A summary about the recommended purchase.public ReservationPurchaseRecommendationSummary getRecommendationSummary()
A summary about the recommended purchase.
public ReservationPurchaseRecommendation withRecommendationSummary(ReservationPurchaseRecommendationSummary recommendationSummary)
A summary about the recommended purchase.
recommendationSummary - A summary about the recommended purchase.public String toString()
toString in class ObjectObject.toString()public ReservationPurchaseRecommendation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.