@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReservationPurchaseRecommendation extends Object implements Serializable, Cloneable, StructuredPojo
A specific reservation that Amazon Web Services 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 Amazon Web Services recommends that you purchase this instance for.
|
String |
getLookbackPeriodInDays()
How many days of previous usage that Amazon Web Services considers when making this recommendation.
|
String |
getPaymentOption()
The payment option for the reservation (for example,
AllUpfront or NoUpfront ). |
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)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccountScope(String accountScope)
The account scope that Amazon Web Services recommends that you purchase this instance for.
|
void |
setLookbackPeriodInDays(String lookbackPeriodInDays)
How many days of previous usage that Amazon Web Services considers when making this recommendation.
|
void |
setPaymentOption(String paymentOption)
The payment option for the reservation (for example,
AllUpfront or NoUpfront ). |
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 Amazon Web Services recommends that you purchase this instance for.
|
ReservationPurchaseRecommendation |
withAccountScope(String accountScope)
The account scope that Amazon Web Services recommends that you purchase this instance for.
|
ReservationPurchaseRecommendation |
withLookbackPeriodInDays(LookbackPeriodInDays lookbackPeriodInDays)
How many days of previous usage that Amazon Web Services considers when making this recommendation.
|
ReservationPurchaseRecommendation |
withLookbackPeriodInDays(String lookbackPeriodInDays)
How many days of previous usage that Amazon Web Services considers when making this recommendation.
|
ReservationPurchaseRecommendation |
withPaymentOption(PaymentOption paymentOption)
The payment option for the reservation (for example,
AllUpfront or NoUpfront ). |
ReservationPurchaseRecommendation |
withPaymentOption(String paymentOption)
The payment option for the reservation (for example,
AllUpfront or NoUpfront ). |
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 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
public String getAccountScope()
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
public ReservationPurchaseRecommendation withAccountScope(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
public ReservationPurchaseRecommendation withAccountScope(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
public void setLookbackPeriodInDays(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
public String getLookbackPeriodInDays()
How many days of previous usage that Amazon Web Services considers when making this recommendation.
LookbackPeriodInDays
public ReservationPurchaseRecommendation withLookbackPeriodInDays(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
public ReservationPurchaseRecommendation withLookbackPeriodInDays(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
public 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.TermInYears
public String getTermInYears()
The term of the reservation that you want recommendations for, in years.
TermInYears
public 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.TermInYears
public 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.TermInYears
public 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
).PaymentOption
public String getPaymentOption()
The payment option for the reservation (for example, AllUpfront
or NoUpfront
).
AllUpfront
or NoUpfront
).PaymentOption
public 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
).PaymentOption
public 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
).PaymentOption
public 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 Object
Object.toString()
public ReservationPurchaseRecommendation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.