Class ListRecipesRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.personalize.model.PersonalizeRequest
-
- software.amazon.awssdk.services.personalize.model.ListRecipesRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListRecipesRequest.Builder,ListRecipesRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListRecipesRequest extends PersonalizeRequest implements ToCopyableBuilder<ListRecipesRequest.Builder,ListRecipesRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListRecipesRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListRecipesRequest.Builderbuilder()Domaindomain()Filters returned recipes by domain for a Domain dataset group.StringdomainAsString()Filters returned recipes by domain for a Domain dataset group.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()The maximum number of recipes to return.StringnextToken()A token returned from the previous call toListRecipesfor getting the next set of recipes (if they exist).RecipeProviderrecipeProvider()The default isSERVICE.StringrecipeProviderAsString()The default isSERVICE.List<SdkField<?>>sdkFields()static Class<? extends ListRecipesRequest.Builder>serializableBuilderClass()ListRecipesRequest.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
-
recipeProvider
public final RecipeProvider recipeProvider()
The default is
SERVICE.If the service returns an enum value that is not available in the current SDK version,
recipeProviderwill returnRecipeProvider.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrecipeProviderAsString().- Returns:
- The default is
SERVICE. - See Also:
RecipeProvider
-
recipeProviderAsString
public final String recipeProviderAsString()
The default is
SERVICE.If the service returns an enum value that is not available in the current SDK version,
recipeProviderwill returnRecipeProvider.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrecipeProviderAsString().- Returns:
- The default is
SERVICE. - See Also:
RecipeProvider
-
nextToken
public final String nextToken()
A token returned from the previous call to
ListRecipesfor getting the next set of recipes (if they exist).- Returns:
- A token returned from the previous call to
ListRecipesfor getting the next set of recipes (if they exist).
-
maxResults
public final Integer maxResults()
The maximum number of recipes to return.
- Returns:
- The maximum number of recipes to return.
-
domain
public final Domain domain()
Filters returned recipes by domain for a Domain dataset group. Only recipes (Domain dataset group use cases) for this domain are included in the response. If you don't specify a domain, all recipes are returned.
If the service returns an enum value that is not available in the current SDK version,
domainwill returnDomain.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdomainAsString().- Returns:
- Filters returned recipes by domain for a Domain dataset group. Only recipes (Domain dataset group use cases) for this domain are included in the response. If you don't specify a domain, all recipes are returned.
- See Also:
Domain
-
domainAsString
public final String domainAsString()
Filters returned recipes by domain for a Domain dataset group. Only recipes (Domain dataset group use cases) for this domain are included in the response. If you don't specify a domain, all recipes are returned.
If the service returns an enum value that is not available in the current SDK version,
domainwill returnDomain.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdomainAsString().- Returns:
- Filters returned recipes by domain for a Domain dataset group. Only recipes (Domain dataset group use cases) for this domain are included in the response. If you don't specify a domain, all recipes are returned.
- See Also:
Domain
-
toBuilder
public ListRecipesRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListRecipesRequest.Builder,ListRecipesRequest>- Specified by:
toBuilderin classPersonalizeRequest
-
builder
public static ListRecipesRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListRecipesRequest.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
-
-