Class ListRecommendationsRequest

All Implemented Interfaces:
SdkPojo, ToCopyableBuilder<ListRecommendationsRequest.Builder,ListRecommendationsRequest>

@Generated("software.amazon.awssdk:codegen") public final class ListRecommendationsRequest extends BedrockAgentCoreRequest implements ToCopyableBuilder<ListRecommendationsRequest.Builder,ListRecommendationsRequest>
  • Method Details

    • maxResults

      public final Integer maxResults()

      The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken field when making another request to return the next batch of results.

      Returns:
      The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken field when making another request to return the next batch of results.
    • nextToken

      public final String nextToken()

      If the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results.

      Returns:
      If the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results.
    • statusFilter

      public final RecommendationStatus statusFilter()

      Optional filter to return only recommendations with the specified status.

      If the service returns an enum value that is not available in the current SDK version, statusFilter will return RecommendationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusFilterAsString().

      Returns:
      Optional filter to return only recommendations with the specified status.
      See Also:
    • statusFilterAsString

      public final String statusFilterAsString()

      Optional filter to return only recommendations with the specified status.

      If the service returns an enum value that is not available in the current SDK version, statusFilter will return RecommendationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusFilterAsString().

      Returns:
      Optional filter to return only recommendations with the specified status.
      See Also:
    • toBuilder

      Specified by:
      toBuilder in interface ToCopyableBuilder<ListRecommendationsRequest.Builder,ListRecommendationsRequest>
      Specified by:
      toBuilder in class BedrockAgentCoreRequest
    • builder

      public static ListRecommendationsRequest.Builder builder()
    • serializableBuilderClass

      public static Class<? extends ListRecommendationsRequest.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class AwsRequest
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class AwsRequest
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
      Overrides:
      getValueForField in class SdkRequest
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo