@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetReservationPurchaseRecommendationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetReservationPurchaseRecommendationRequest() |
Modifier and Type | Method and Description |
---|---|
GetReservationPurchaseRecommendationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAccountId()
The account ID that's associated with the recommendation.
|
String |
getAccountScope()
The account scope that you want your recommendations for.
|
Expression |
getFilter() |
String |
getLookbackPeriodInDays()
The number of previous days that you want Amazon Web Services to consider when it calculates your
recommendations.
|
String |
getNextPageToken()
The pagination token that indicates the next set of results that you want to retrieve.
|
Integer |
getPageSize()
The number of recommendations that you want returned in a single response object.
|
String |
getPaymentOption()
The reservation purchase option that you want recommendations for.
|
String |
getService()
The specific service that you want recommendations for.
|
ServiceSpecification |
getServiceSpecification()
The hardware specifications for the service instances that you want recommendations for, such as standard or
convertible Amazon EC2 instances.
|
String |
getTermInYears()
The reservation term that you want recommendations for.
|
int |
hashCode() |
void |
setAccountId(String accountId)
The account ID that's associated with the recommendation.
|
void |
setAccountScope(String accountScope)
The account scope that you want your recommendations for.
|
void |
setFilter(Expression filter) |
void |
setLookbackPeriodInDays(String lookbackPeriodInDays)
The number of previous days that you want Amazon Web Services to consider when it calculates your
recommendations.
|
void |
setNextPageToken(String nextPageToken)
The pagination token that indicates the next set of results that you want to retrieve.
|
void |
setPageSize(Integer pageSize)
The number of recommendations that you want returned in a single response object.
|
void |
setPaymentOption(String paymentOption)
The reservation purchase option that you want recommendations for.
|
void |
setService(String service)
The specific service that you want recommendations for.
|
void |
setServiceSpecification(ServiceSpecification serviceSpecification)
The hardware specifications for the service instances that you want recommendations for, such as standard or
convertible Amazon EC2 instances.
|
void |
setTermInYears(String termInYears)
The reservation term that you want recommendations for.
|
String |
toString()
Returns a string representation of this object.
|
GetReservationPurchaseRecommendationRequest |
withAccountId(String accountId)
The account ID that's associated with the recommendation.
|
GetReservationPurchaseRecommendationRequest |
withAccountScope(AccountScope accountScope)
The account scope that you want your recommendations for.
|
GetReservationPurchaseRecommendationRequest |
withAccountScope(String accountScope)
The account scope that you want your recommendations for.
|
GetReservationPurchaseRecommendationRequest |
withFilter(Expression filter) |
GetReservationPurchaseRecommendationRequest |
withLookbackPeriodInDays(LookbackPeriodInDays lookbackPeriodInDays)
The number of previous days that you want Amazon Web Services to consider when it calculates your
recommendations.
|
GetReservationPurchaseRecommendationRequest |
withLookbackPeriodInDays(String lookbackPeriodInDays)
The number of previous days that you want Amazon Web Services to consider when it calculates your
recommendations.
|
GetReservationPurchaseRecommendationRequest |
withNextPageToken(String nextPageToken)
The pagination token that indicates the next set of results that you want to retrieve.
|
GetReservationPurchaseRecommendationRequest |
withPageSize(Integer pageSize)
The number of recommendations that you want returned in a single response object.
|
GetReservationPurchaseRecommendationRequest |
withPaymentOption(PaymentOption paymentOption)
The reservation purchase option that you want recommendations for.
|
GetReservationPurchaseRecommendationRequest |
withPaymentOption(String paymentOption)
The reservation purchase option that you want recommendations for.
|
GetReservationPurchaseRecommendationRequest |
withService(String service)
The specific service that you want recommendations for.
|
GetReservationPurchaseRecommendationRequest |
withServiceSpecification(ServiceSpecification serviceSpecification)
The hardware specifications for the service instances that you want recommendations for, such as standard or
convertible Amazon EC2 instances.
|
GetReservationPurchaseRecommendationRequest |
withTermInYears(String termInYears)
The reservation term that you want recommendations for.
|
GetReservationPurchaseRecommendationRequest |
withTermInYears(TermInYears termInYears)
The reservation term that you want recommendations for.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public GetReservationPurchaseRecommendationRequest()
public void setAccountId(String accountId)
The account ID that's associated with the recommendation.
accountId
- The account ID that's associated with the recommendation.public String getAccountId()
The account ID that's associated with the recommendation.
public GetReservationPurchaseRecommendationRequest withAccountId(String accountId)
The account ID that's associated with the recommendation.
accountId
- The account ID that's associated with the recommendation.public void setService(String service)
The specific service that you want recommendations for.
service
- The specific service that you want recommendations for.public String getService()
The specific service that you want recommendations for.
public GetReservationPurchaseRecommendationRequest withService(String service)
The specific service that you want recommendations for.
service
- The specific service that you want recommendations for.public void setFilter(Expression filter)
filter
- public Expression getFilter()
public GetReservationPurchaseRecommendationRequest withFilter(Expression filter)
filter
- public void setAccountScope(String accountScope)
The account scope that you want your recommendations for. Amazon Web Services calculates recommendations
including the management account and member accounts if the value is set to PAYER
. If the value is
LINKED
, recommendations are calculated for individual member accounts only.
accountScope
- The account scope that you want your recommendations for. Amazon Web Services calculates recommendations
including the management account and member accounts if the value is set to PAYER
. If the
value is LINKED
, recommendations are calculated for individual member accounts only.AccountScope
public String getAccountScope()
The account scope that you want your recommendations for. Amazon Web Services calculates recommendations
including the management account and member accounts if the value is set to PAYER
. If the value is
LINKED
, recommendations are calculated for individual member accounts only.
PAYER
. If the
value is LINKED
, recommendations are calculated for individual member accounts only.AccountScope
public GetReservationPurchaseRecommendationRequest withAccountScope(String accountScope)
The account scope that you want your recommendations for. Amazon Web Services calculates recommendations
including the management account and member accounts if the value is set to PAYER
. If the value is
LINKED
, recommendations are calculated for individual member accounts only.
accountScope
- The account scope that you want your recommendations for. Amazon Web Services calculates recommendations
including the management account and member accounts if the value is set to PAYER
. If the
value is LINKED
, recommendations are calculated for individual member accounts only.AccountScope
public GetReservationPurchaseRecommendationRequest withAccountScope(AccountScope accountScope)
The account scope that you want your recommendations for. Amazon Web Services calculates recommendations
including the management account and member accounts if the value is set to PAYER
. If the value is
LINKED
, recommendations are calculated for individual member accounts only.
accountScope
- The account scope that you want your recommendations for. Amazon Web Services calculates recommendations
including the management account and member accounts if the value is set to PAYER
. If the
value is LINKED
, recommendations are calculated for individual member accounts only.AccountScope
public void setLookbackPeriodInDays(String lookbackPeriodInDays)
The number of previous days that you want Amazon Web Services to consider when it calculates your recommendations.
lookbackPeriodInDays
- The number of previous days that you want Amazon Web Services to consider when it calculates your
recommendations.LookbackPeriodInDays
public String getLookbackPeriodInDays()
The number of previous days that you want Amazon Web Services to consider when it calculates your recommendations.
LookbackPeriodInDays
public GetReservationPurchaseRecommendationRequest withLookbackPeriodInDays(String lookbackPeriodInDays)
The number of previous days that you want Amazon Web Services to consider when it calculates your recommendations.
lookbackPeriodInDays
- The number of previous days that you want Amazon Web Services to consider when it calculates your
recommendations.LookbackPeriodInDays
public GetReservationPurchaseRecommendationRequest withLookbackPeriodInDays(LookbackPeriodInDays lookbackPeriodInDays)
The number of previous days that you want Amazon Web Services to consider when it calculates your recommendations.
lookbackPeriodInDays
- The number of previous days that you want Amazon Web Services to consider when it calculates your
recommendations.LookbackPeriodInDays
public void setTermInYears(String termInYears)
The reservation term that you want recommendations for.
termInYears
- The reservation term that you want recommendations for.TermInYears
public String getTermInYears()
The reservation term that you want recommendations for.
TermInYears
public GetReservationPurchaseRecommendationRequest withTermInYears(String termInYears)
The reservation term that you want recommendations for.
termInYears
- The reservation term that you want recommendations for.TermInYears
public GetReservationPurchaseRecommendationRequest withTermInYears(TermInYears termInYears)
The reservation term that you want recommendations for.
termInYears
- The reservation term that you want recommendations for.TermInYears
public void setPaymentOption(String paymentOption)
The reservation purchase option that you want recommendations for.
paymentOption
- The reservation purchase option that you want recommendations for.PaymentOption
public String getPaymentOption()
The reservation purchase option that you want recommendations for.
PaymentOption
public GetReservationPurchaseRecommendationRequest withPaymentOption(String paymentOption)
The reservation purchase option that you want recommendations for.
paymentOption
- The reservation purchase option that you want recommendations for.PaymentOption
public GetReservationPurchaseRecommendationRequest withPaymentOption(PaymentOption paymentOption)
The reservation purchase option that you want recommendations for.
paymentOption
- The reservation purchase option that you want recommendations for.PaymentOption
public void setServiceSpecification(ServiceSpecification serviceSpecification)
The hardware specifications for the service instances that you want recommendations for, such as standard or convertible Amazon EC2 instances.
serviceSpecification
- The hardware specifications for the service instances that you want recommendations for, such as standard
or convertible Amazon EC2 instances.public ServiceSpecification getServiceSpecification()
The hardware specifications for the service instances that you want recommendations for, such as standard or convertible Amazon EC2 instances.
public GetReservationPurchaseRecommendationRequest withServiceSpecification(ServiceSpecification serviceSpecification)
The hardware specifications for the service instances that you want recommendations for, such as standard or convertible Amazon EC2 instances.
serviceSpecification
- The hardware specifications for the service instances that you want recommendations for, such as standard
or convertible Amazon EC2 instances.public void setPageSize(Integer pageSize)
The number of recommendations that you want returned in a single response object.
pageSize
- The number of recommendations that you want returned in a single response object.public Integer getPageSize()
The number of recommendations that you want returned in a single response object.
public GetReservationPurchaseRecommendationRequest withPageSize(Integer pageSize)
The number of recommendations that you want returned in a single response object.
pageSize
- The number of recommendations that you want returned in a single response object.public void setNextPageToken(String nextPageToken)
The pagination token that indicates the next set of results that you want to retrieve.
nextPageToken
- The pagination token that indicates the next set of results that you want to retrieve.public String getNextPageToken()
The pagination token that indicates the next set of results that you want to retrieve.
public GetReservationPurchaseRecommendationRequest withNextPageToken(String nextPageToken)
The pagination token that indicates the next set of results that you want to retrieve.
nextPageToken
- The pagination token that indicates the next set of results that you want to retrieve.public String toString()
toString
in class Object
Object.toString()
public GetReservationPurchaseRecommendationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()