@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetSavingsPlansPurchaseRecommendationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetSavingsPlansPurchaseRecommendationRequest() |
Modifier and Type | Method and Description |
---|---|
GetSavingsPlansPurchaseRecommendationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAccountScope()
The account scope that you want your recommendations for.
|
Expression |
getFilter()
You can filter your recommendations by Account ID with the
LINKED_ACCOUNT dimension. |
String |
getLookbackPeriodInDays()
The lookback period that's used to generate the recommendation.
|
String |
getNextPageToken()
The token to retrieve the next set of results.
|
Integer |
getPageSize()
The number of recommendations that you want returned in a single response object.
|
String |
getPaymentOption()
The payment option that's used to generate these recommendations.
|
String |
getSavingsPlansType()
The Savings Plans recommendation type that's requested.
|
String |
getTermInYears()
The savings plan recommendation term that's used to generate these recommendations.
|
int |
hashCode() |
void |
setAccountScope(String accountScope)
The account scope that you want your recommendations for.
|
void |
setFilter(Expression filter)
You can filter your recommendations by Account ID with the
LINKED_ACCOUNT dimension. |
void |
setLookbackPeriodInDays(String lookbackPeriodInDays)
The lookback period that's used to generate the recommendation.
|
void |
setNextPageToken(String nextPageToken)
The token to retrieve the next set of results.
|
void |
setPageSize(Integer pageSize)
The number of recommendations that you want returned in a single response object.
|
void |
setPaymentOption(String paymentOption)
The payment option that's used to generate these recommendations.
|
void |
setSavingsPlansType(String savingsPlansType)
The Savings Plans recommendation type that's requested.
|
void |
setTermInYears(String termInYears)
The savings plan recommendation term that's used to generate these recommendations.
|
String |
toString()
Returns a string representation of this object.
|
GetSavingsPlansPurchaseRecommendationRequest |
withAccountScope(AccountScope accountScope)
The account scope that you want your recommendations for.
|
GetSavingsPlansPurchaseRecommendationRequest |
withAccountScope(String accountScope)
The account scope that you want your recommendations for.
|
GetSavingsPlansPurchaseRecommendationRequest |
withFilter(Expression filter)
You can filter your recommendations by Account ID with the
LINKED_ACCOUNT dimension. |
GetSavingsPlansPurchaseRecommendationRequest |
withLookbackPeriodInDays(LookbackPeriodInDays lookbackPeriodInDays)
The lookback period that's used to generate the recommendation.
|
GetSavingsPlansPurchaseRecommendationRequest |
withLookbackPeriodInDays(String lookbackPeriodInDays)
The lookback period that's used to generate the recommendation.
|
GetSavingsPlansPurchaseRecommendationRequest |
withNextPageToken(String nextPageToken)
The token to retrieve the next set of results.
|
GetSavingsPlansPurchaseRecommendationRequest |
withPageSize(Integer pageSize)
The number of recommendations that you want returned in a single response object.
|
GetSavingsPlansPurchaseRecommendationRequest |
withPaymentOption(PaymentOption paymentOption)
The payment option that's used to generate these recommendations.
|
GetSavingsPlansPurchaseRecommendationRequest |
withPaymentOption(String paymentOption)
The payment option that's used to generate these recommendations.
|
GetSavingsPlansPurchaseRecommendationRequest |
withSavingsPlansType(String savingsPlansType)
The Savings Plans recommendation type that's requested.
|
GetSavingsPlansPurchaseRecommendationRequest |
withSavingsPlansType(SupportedSavingsPlansType savingsPlansType)
The Savings Plans recommendation type that's requested.
|
GetSavingsPlansPurchaseRecommendationRequest |
withTermInYears(String termInYears)
The savings plan recommendation term that's used to generate these recommendations.
|
GetSavingsPlansPurchaseRecommendationRequest |
withTermInYears(TermInYears termInYears)
The savings plan recommendation term that's used to generate these recommendations.
|
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 GetSavingsPlansPurchaseRecommendationRequest()
public void setSavingsPlansType(String savingsPlansType)
The Savings Plans recommendation type that's requested.
savingsPlansType
- The Savings Plans recommendation type that's requested.SupportedSavingsPlansType
public String getSavingsPlansType()
The Savings Plans recommendation type that's requested.
SupportedSavingsPlansType
public GetSavingsPlansPurchaseRecommendationRequest withSavingsPlansType(String savingsPlansType)
The Savings Plans recommendation type that's requested.
savingsPlansType
- The Savings Plans recommendation type that's requested.SupportedSavingsPlansType
public GetSavingsPlansPurchaseRecommendationRequest withSavingsPlansType(SupportedSavingsPlansType savingsPlansType)
The Savings Plans recommendation type that's requested.
savingsPlansType
- The Savings Plans recommendation type that's requested.SupportedSavingsPlansType
public void setTermInYears(String termInYears)
The savings plan recommendation term that's used to generate these recommendations.
termInYears
- The savings plan recommendation term that's used to generate these recommendations.TermInYears
public String getTermInYears()
The savings plan recommendation term that's used to generate these recommendations.
TermInYears
public GetSavingsPlansPurchaseRecommendationRequest withTermInYears(String termInYears)
The savings plan recommendation term that's used to generate these recommendations.
termInYears
- The savings plan recommendation term that's used to generate these recommendations.TermInYears
public GetSavingsPlansPurchaseRecommendationRequest withTermInYears(TermInYears termInYears)
The savings plan recommendation term that's used to generate these recommendations.
termInYears
- The savings plan recommendation term that's used to generate these recommendations.TermInYears
public void setPaymentOption(String paymentOption)
The payment option that's used to generate these recommendations.
paymentOption
- The payment option that's used to generate these recommendations.PaymentOption
public String getPaymentOption()
The payment option that's used to generate these recommendations.
PaymentOption
public GetSavingsPlansPurchaseRecommendationRequest withPaymentOption(String paymentOption)
The payment option that's used to generate these recommendations.
paymentOption
- The payment option that's used to generate these recommendations.PaymentOption
public GetSavingsPlansPurchaseRecommendationRequest withPaymentOption(PaymentOption paymentOption)
The payment option that's used to generate these recommendations.
paymentOption
- The payment option that's used to generate these recommendations.PaymentOption
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 GetSavingsPlansPurchaseRecommendationRequest 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 GetSavingsPlansPurchaseRecommendationRequest 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 setNextPageToken(String nextPageToken)
The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.
nextPageToken
- The token to retrieve the next set of results. Amazon Web Services provides the token when the response
from a previous call has more results than the maximum page size.public String getNextPageToken()
The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.
public GetSavingsPlansPurchaseRecommendationRequest withNextPageToken(String nextPageToken)
The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.
nextPageToken
- The token to retrieve the next set of results. Amazon Web Services provides the token when the response
from a previous call has more results than the maximum page size.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 GetSavingsPlansPurchaseRecommendationRequest 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 setLookbackPeriodInDays(String lookbackPeriodInDays)
The lookback period that's used to generate the recommendation.
lookbackPeriodInDays
- The lookback period that's used to generate the recommendation.LookbackPeriodInDays
public String getLookbackPeriodInDays()
The lookback period that's used to generate the recommendation.
LookbackPeriodInDays
public GetSavingsPlansPurchaseRecommendationRequest withLookbackPeriodInDays(String lookbackPeriodInDays)
The lookback period that's used to generate the recommendation.
lookbackPeriodInDays
- The lookback period that's used to generate the recommendation.LookbackPeriodInDays
public GetSavingsPlansPurchaseRecommendationRequest withLookbackPeriodInDays(LookbackPeriodInDays lookbackPeriodInDays)
The lookback period that's used to generate the recommendation.
lookbackPeriodInDays
- The lookback period that's used to generate the recommendation.LookbackPeriodInDays
public void setFilter(Expression filter)
You can filter your recommendations by Account ID with the LINKED_ACCOUNT
dimension. To filter your
recommendations by Account ID, specify Key
as LINKED_ACCOUNT
and Value
as
the comma-separated Acount ID(s) that you want to see Savings Plans purchase recommendations for.
For GetSavingsPlansPurchaseRecommendation, the Filter
doesn't include CostCategories
or
Tags
. It only includes Dimensions
. With Dimensions
, Key
must
be LINKED_ACCOUNT
and Value
can be a single Account ID or multiple comma-separated
Account IDs that you want to see Savings Plans Purchase Recommendations for. AND
and OR
operators are not supported.
filter
- You can filter your recommendations by Account ID with the LINKED_ACCOUNT
dimension. To
filter your recommendations by Account ID, specify Key
as LINKED_ACCOUNT
and
Value
as the comma-separated Acount ID(s) that you want to see Savings Plans purchase
recommendations for.
For GetSavingsPlansPurchaseRecommendation, the Filter
doesn't include
CostCategories
or Tags
. It only includes Dimensions
. With
Dimensions
, Key
must be LINKED_ACCOUNT
and Value
can
be a single Account ID or multiple comma-separated Account IDs that you want to see Savings Plans Purchase
Recommendations for. AND
and OR
operators are not supported.
public Expression getFilter()
You can filter your recommendations by Account ID with the LINKED_ACCOUNT
dimension. To filter your
recommendations by Account ID, specify Key
as LINKED_ACCOUNT
and Value
as
the comma-separated Acount ID(s) that you want to see Savings Plans purchase recommendations for.
For GetSavingsPlansPurchaseRecommendation, the Filter
doesn't include CostCategories
or
Tags
. It only includes Dimensions
. With Dimensions
, Key
must
be LINKED_ACCOUNT
and Value
can be a single Account ID or multiple comma-separated
Account IDs that you want to see Savings Plans Purchase Recommendations for. AND
and OR
operators are not supported.
LINKED_ACCOUNT
dimension. To
filter your recommendations by Account ID, specify Key
as LINKED_ACCOUNT
and
Value
as the comma-separated Acount ID(s) that you want to see Savings Plans purchase
recommendations for.
For GetSavingsPlansPurchaseRecommendation, the Filter
doesn't include
CostCategories
or Tags
. It only includes Dimensions
. With
Dimensions
, Key
must be LINKED_ACCOUNT
and Value
can
be a single Account ID or multiple comma-separated Account IDs that you want to see Savings Plans
Purchase Recommendations for. AND
and OR
operators are not supported.
public GetSavingsPlansPurchaseRecommendationRequest withFilter(Expression filter)
You can filter your recommendations by Account ID with the LINKED_ACCOUNT
dimension. To filter your
recommendations by Account ID, specify Key
as LINKED_ACCOUNT
and Value
as
the comma-separated Acount ID(s) that you want to see Savings Plans purchase recommendations for.
For GetSavingsPlansPurchaseRecommendation, the Filter
doesn't include CostCategories
or
Tags
. It only includes Dimensions
. With Dimensions
, Key
must
be LINKED_ACCOUNT
and Value
can be a single Account ID or multiple comma-separated
Account IDs that you want to see Savings Plans Purchase Recommendations for. AND
and OR
operators are not supported.
filter
- You can filter your recommendations by Account ID with the LINKED_ACCOUNT
dimension. To
filter your recommendations by Account ID, specify Key
as LINKED_ACCOUNT
and
Value
as the comma-separated Acount ID(s) that you want to see Savings Plans purchase
recommendations for.
For GetSavingsPlansPurchaseRecommendation, the Filter
doesn't include
CostCategories
or Tags
. It only includes Dimensions
. With
Dimensions
, Key
must be LINKED_ACCOUNT
and Value
can
be a single Account ID or multiple comma-separated Account IDs that you want to see Savings Plans Purchase
Recommendations for. AND
and OR
operators are not supported.
public String toString()
toString
in class Object
Object.toString()
public GetSavingsPlansPurchaseRecommendationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()