Class GetRightsizingRecommendationRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.costexplorer.model.CostExplorerRequest
-
- software.amazon.awssdk.services.costexplorer.model.GetRightsizingRecommendationRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetRightsizingRecommendationRequest.Builder,GetRightsizingRecommendationRequest>
@Generated("software.amazon.awssdk:codegen") public final class GetRightsizingRecommendationRequest extends CostExplorerRequest implements ToCopyableBuilder<GetRightsizingRecommendationRequest.Builder,GetRightsizingRecommendationRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetRightsizingRecommendationRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetRightsizingRecommendationRequest.Builderbuilder()RightsizingRecommendationConfigurationconfiguration()You can use Configuration to customize recommendations across two attributes.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Expressionfilter()Returns the value of the Filter property for this object.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringnextPageToken()The pagination token that indicates the next set of results that you want to retrieve.IntegerpageSize()The number of recommendations that you want returned in a single response object.List<SdkField<?>>sdkFields()static Class<? extends GetRightsizingRecommendationRequest.Builder>serializableBuilderClass()Stringservice()The specific service that you want recommendations for.GetRightsizingRecommendationRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
filter
public final Expression filter()
Returns the value of the Filter property for this object.- Returns:
- The value of the Filter property for this object.
-
configuration
public final RightsizingRecommendationConfiguration configuration()
You can use Configuration to customize recommendations across two attributes. You can choose to view recommendations for instances within the same instance families or across different instance families. You can also choose to view your estimated savings that are associated with recommendations with consideration of existing Savings Plans or RI benefits, or neither.
- Returns:
- You can use Configuration to customize recommendations across two attributes. You can choose to view recommendations for instances within the same instance families or across different instance families. You can also choose to view your estimated savings that are associated with recommendations with consideration of existing Savings Plans or RI benefits, or neither.
-
service
public final String service()
The specific service that you want recommendations for. The only valid value for
GetRightsizingRecommendationis "AmazonEC2".- Returns:
- The specific service that you want recommendations for. The only valid value for
GetRightsizingRecommendationis "AmazonEC2".
-
pageSize
public final Integer pageSize()
The number of recommendations that you want returned in a single response object.
- Returns:
- The number of recommendations that you want returned in a single response object.
-
nextPageToken
public final String nextPageToken()
The pagination token that indicates the next set of results that you want to retrieve.
- Returns:
- The pagination token that indicates the next set of results that you want to retrieve.
-
toBuilder
public GetRightsizingRecommendationRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetRightsizingRecommendationRequest.Builder,GetRightsizingRecommendationRequest>- Specified by:
toBuilderin classCostExplorerRequest
-
builder
public static GetRightsizingRecommendationRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetRightsizingRecommendationRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-