@Generated(value="software.amazon.awssdk:codegen") public final class Recommender extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Recommender.Builder,Recommender>
Describes a recommendation generator for a Domain dataset group. You create a recommender in a Domain dataset group for a specific domain use case (domain recipe), and specify the recommender in a GetRecommendations request.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Recommender.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Recommender.Builder |
builder() |
Instant |
creationDateTime()
The date and time (in Unix format) that the recommender was created.
|
String |
datasetGroupArn()
The Amazon Resource Name (ARN) of the Domain dataset group that contains the recommender.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
failureReason()
If a recommender fails, the reason behind the failure.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasModelMetrics()
For responses, this returns true if the service returned a value for the ModelMetrics property.
|
Instant |
lastUpdatedDateTime()
The date and time (in Unix format) that the recommender was last updated.
|
RecommenderUpdateSummary |
latestRecommenderUpdate()
Provides a summary of the latest updates to the recommender.
|
Map<String,Double> |
modelMetrics()
Provides evaluation metrics that help you determine the performance of a recommender.
|
String |
name()
The name of the recommender.
|
String |
recipeArn()
The Amazon Resource Name (ARN) of the recipe (Domain dataset group use case) that the recommender was created
for.
|
String |
recommenderArn()
The Amazon Resource Name (ARN) of the recommender.
|
RecommenderConfig |
recommenderConfig()
The configuration details of the recommender.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Recommender.Builder> |
serializableBuilderClass() |
String |
status()
The status of the recommender.
|
Recommender.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String recommenderArn()
The Amazon Resource Name (ARN) of the recommender.
public final String datasetGroupArn()
The Amazon Resource Name (ARN) of the Domain dataset group that contains the recommender.
public final String name()
The name of the recommender.
public final String recipeArn()
The Amazon Resource Name (ARN) of the recipe (Domain dataset group use case) that the recommender was created for.
public final RecommenderConfig recommenderConfig()
The configuration details of the recommender.
public final Instant creationDateTime()
The date and time (in Unix format) that the recommender was created.
public final Instant lastUpdatedDateTime()
The date and time (in Unix format) that the recommender was last updated.
public final String status()
The status of the recommender.
A recommender can be in one of the following states:
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
STOP PENDING > STOP IN_PROGRESS > INACTIVE > START PENDING > START IN_PROGRESS > ACTIVE
DELETE PENDING > DELETE IN_PROGRESS
A recommender can be in one of the following states:
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
STOP PENDING > STOP IN_PROGRESS > INACTIVE > START PENDING > START IN_PROGRESS > ACTIVE
DELETE PENDING > DELETE IN_PROGRESS
public final String failureReason()
If a recommender fails, the reason behind the failure.
public final RecommenderUpdateSummary latestRecommenderUpdate()
Provides a summary of the latest updates to the recommender.
public final boolean hasModelMetrics()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final Map<String,Double> modelMetrics()
Provides evaluation metrics that help you determine the performance of a recommender. For more information, see Evaluating a recommender.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasModelMetrics() method.
public Recommender.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Recommender.Builder,Recommender>public static Recommender.Builder builder()
public static Class<? extends Recommender.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.