Class ListRecommendationsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.costoptimizationhub.model.CostOptimizationHubRequest
-
- software.amazon.awssdk.services.costoptimizationhub.model.ListRecommendationsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListRecommendationsRequest.Builder,ListRecommendationsRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListRecommendationsRequest extends CostOptimizationHubRequest implements ToCopyableBuilder<ListRecommendationsRequest.Builder,ListRecommendationsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListRecommendationsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListRecommendationsRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Filterfilter()The constraints that you want all returned recommendations to match.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanincludeAllRecommendations()List of all recommendations for a resource, or a single recommendation if de-duped byresourceId.IntegermaxResults()The maximum number of recommendations that are returned for the request.StringnextToken()The token to retrieve the next set of results.OrderByorderBy()The ordering of recommendations by a dimension.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ListRecommendationsRequest.Builder>serializableBuilderClass()ListRecommendationsRequest.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 Filter filter()
The constraints that you want all returned recommendations to match.
- Returns:
- The constraints that you want all returned recommendations to match.
-
orderBy
public final OrderBy orderBy()
The ordering of recommendations by a dimension.
- Returns:
- The ordering of recommendations by a dimension.
-
includeAllRecommendations
public final Boolean includeAllRecommendations()
List of all recommendations for a resource, or a single recommendation if de-duped by
resourceId.- Returns:
- List of all recommendations for a resource, or a single recommendation if de-duped by
resourceId.
-
maxResults
public final Integer maxResults()
The maximum number of recommendations that are returned for the request.
- Returns:
- The maximum number of recommendations that are returned for the request.
-
nextToken
public final String nextToken()
The token to retrieve the next set of results.
- Returns:
- The token to retrieve the next set of results.
-
toBuilder
public ListRecommendationsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListRecommendationsRequest.Builder,ListRecommendationsRequest>- Specified by:
toBuilderin classCostOptimizationHubRequest
-
builder
public static ListRecommendationsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListRecommendationsRequest.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
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-