Class Recipe
- java.lang.Object
-
- software.amazon.awssdk.services.personalize.model.Recipe
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Recipe.Builder,Recipe>
@Generated("software.amazon.awssdk:codegen") public final class Recipe extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Recipe.Builder,Recipe>
Provides information about a recipe. Each recipe provides an algorithm that Amazon Personalize uses in model training when you use the CreateSolution operation.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRecipe.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringalgorithmArn()The Amazon Resource Name (ARN) of the algorithm that Amazon Personalize uses to train the model.static Recipe.Builderbuilder()InstantcreationDateTime()The date and time (in Unix format) that the recipe was created.Stringdescription()The description of the recipe.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfeatureTransformationArn()The ARN of the FeatureTransformation object.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastUpdatedDateTime()The date and time (in Unix format) that the recipe was last updated.Stringname()The name of the recipe.StringrecipeArn()The Amazon Resource Name (ARN) of the recipe.StringrecipeType()One of the following values:Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends Recipe.Builder>serializableBuilderClass()Stringstatus()The status of the recipe.Recipe.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
name
public final String name()
The name of the recipe.
- Returns:
- The name of the recipe.
-
recipeArn
public final String recipeArn()
The Amazon Resource Name (ARN) of the recipe.
- Returns:
- The Amazon Resource Name (ARN) of the recipe.
-
algorithmArn
public final String algorithmArn()
The Amazon Resource Name (ARN) of the algorithm that Amazon Personalize uses to train the model.
- Returns:
- The Amazon Resource Name (ARN) of the algorithm that Amazon Personalize uses to train the model.
-
featureTransformationArn
public final String featureTransformationArn()
The ARN of the FeatureTransformation object.
- Returns:
- The ARN of the FeatureTransformation object.
-
status
public final String status()
The status of the recipe.
- Returns:
- The status of the recipe.
-
description
public final String description()
The description of the recipe.
- Returns:
- The description of the recipe.
-
creationDateTime
public final Instant creationDateTime()
The date and time (in Unix format) that the recipe was created.
- Returns:
- The date and time (in Unix format) that the recipe was created.
-
recipeType
public final String recipeType()
One of the following values:
-
PERSONALIZED_RANKING
-
RELATED_ITEMS
-
USER_PERSONALIZATION
- Returns:
- One of the following values:
-
PERSONALIZED_RANKING
-
RELATED_ITEMS
-
USER_PERSONALIZATION
-
-
-
lastUpdatedDateTime
public final Instant lastUpdatedDateTime()
The date and time (in Unix format) that the recipe was last updated.
- Returns:
- The date and time (in Unix format) that the recipe was last updated.
-
toBuilder
public Recipe.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Recipe.Builder,Recipe>
-
builder
public static Recipe.Builder builder()
-
serializableBuilderClass
public static Class<? extends Recipe.Builder> serializableBuilderClass()
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-