@Generated(value="software.amazon.awssdk:codegen") public final class GetReservationPurchaseRecommendationRequest extends CostExplorerRequest implements ToCopyableBuilder<GetReservationPurchaseRecommendationRequest.Builder,GetReservationPurchaseRecommendationRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetReservationPurchaseRecommendationRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accountId()
The account ID that is associated with the recommendation.
|
AccountScope |
accountScope()
The account scope that you want your recommendations for.
|
String |
accountScopeAsString()
The account scope that you want your recommendations for.
|
static GetReservationPurchaseRecommendationRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Expression |
filter()
Returns the value of the Filter property for this object.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
LookbackPeriodInDays |
lookbackPeriodInDays()
The number of previous days that you want AWS to consider when it calculates your recommendations.
|
String |
lookbackPeriodInDaysAsString()
The number of previous days that you want AWS to consider when it calculates your recommendations.
|
String |
nextPageToken()
The pagination token that indicates the next set of results that you want to retrieve.
|
Integer |
pageSize()
The number of recommendations that you want returned in a single response object.
|
PaymentOption |
paymentOption()
The reservation purchase option that you want recommendations for.
|
String |
paymentOptionAsString()
The reservation purchase option that you want recommendations for.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetReservationPurchaseRecommendationRequest.Builder> |
serializableBuilderClass() |
String |
service()
The specific service that you want recommendations for.
|
ServiceSpecification |
serviceSpecification()
The hardware specifications for the service instances that you want recommendations for, such as standard or
convertible Amazon EC2 instances.
|
TermInYears |
termInYears()
The reservation term that you want recommendations for.
|
String |
termInYearsAsString()
The reservation term that you want recommendations for.
|
GetReservationPurchaseRecommendationRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String accountId()
The account ID that is associated with the recommendation.
public final String service()
The specific service that you want recommendations for.
public final Expression filter()
public final 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.
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().
PAYER. If the
value is LINKED, recommendations are calculated for individual member accounts only.AccountScopepublic final String accountScopeAsString()
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.
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().
PAYER. If the
value is LINKED, recommendations are calculated for individual member accounts only.AccountScopepublic final LookbackPeriodInDays lookbackPeriodInDays()
The number of previous days that you want AWS to consider when it calculates your recommendations.
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 final String lookbackPeriodInDaysAsString()
The number of previous days that you want AWS to consider when it calculates your recommendations.
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 final TermInYears termInYears()
The reservation term that you want recommendations for.
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 final String termInYearsAsString()
The reservation term that you want recommendations for.
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 final PaymentOption paymentOption()
The reservation purchase option that you want recommendations for.
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().
PaymentOptionpublic final String paymentOptionAsString()
The reservation purchase option that you want recommendations for.
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().
PaymentOptionpublic final ServiceSpecification serviceSpecification()
The hardware specifications for the service instances that you want recommendations for, such as standard or convertible Amazon EC2 instances.
public final Integer pageSize()
The number of recommendations that you want returned in a single response object.
public final String nextPageToken()
The pagination token that indicates the next set of results that you want to retrieve.
public GetReservationPurchaseRecommendationRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetReservationPurchaseRecommendationRequest.Builder,GetReservationPurchaseRecommendationRequest>toBuilder in class CostExplorerRequestpublic static GetReservationPurchaseRecommendationRequest.Builder builder()
public static Class<? extends GetReservationPurchaseRecommendationRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.