@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Recommender extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
Recommender() |
Modifier and Type | Method and Description |
---|---|
Recommender |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationDateTime()
The date and time (in Unix format) that the recommender was created.
|
String |
getDatasetGroupArn()
The Amazon Resource Name (ARN) of the Domain dataset group that contains the recommender.
|
String |
getFailureReason()
If a recommender fails, the reason behind the failure.
|
Date |
getLastUpdatedDateTime()
The date and time (in Unix format) that the recommender was last updated.
|
RecommenderUpdateSummary |
getLatestRecommenderUpdate()
Provides a summary of the latest updates to the recommender.
|
String |
getName()
The name of the recommender.
|
String |
getRecipeArn()
The Amazon Resource Name (ARN) of the recipe (Domain dataset group use case) that the recommender was created
for.
|
String |
getRecommenderArn()
The Amazon Resource Name (ARN) of the recommender.
|
RecommenderConfig |
getRecommenderConfig()
The configuration details of the recommender.
|
String |
getStatus()
The status of the recommender.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreationDateTime(Date creationDateTime)
The date and time (in Unix format) that the recommender was created.
|
void |
setDatasetGroupArn(String datasetGroupArn)
The Amazon Resource Name (ARN) of the Domain dataset group that contains the recommender.
|
void |
setFailureReason(String failureReason)
If a recommender fails, the reason behind the failure.
|
void |
setLastUpdatedDateTime(Date lastUpdatedDateTime)
The date and time (in Unix format) that the recommender was last updated.
|
void |
setLatestRecommenderUpdate(RecommenderUpdateSummary latestRecommenderUpdate)
Provides a summary of the latest updates to the recommender.
|
void |
setName(String name)
The name of the recommender.
|
void |
setRecipeArn(String recipeArn)
The Amazon Resource Name (ARN) of the recipe (Domain dataset group use case) that the recommender was created
for.
|
void |
setRecommenderArn(String recommenderArn)
The Amazon Resource Name (ARN) of the recommender.
|
void |
setRecommenderConfig(RecommenderConfig recommenderConfig)
The configuration details of the recommender.
|
void |
setStatus(String status)
The status of the recommender.
|
String |
toString()
Returns a string representation of this object.
|
Recommender |
withCreationDateTime(Date creationDateTime)
The date and time (in Unix format) that the recommender was created.
|
Recommender |
withDatasetGroupArn(String datasetGroupArn)
The Amazon Resource Name (ARN) of the Domain dataset group that contains the recommender.
|
Recommender |
withFailureReason(String failureReason)
If a recommender fails, the reason behind the failure.
|
Recommender |
withLastUpdatedDateTime(Date lastUpdatedDateTime)
The date and time (in Unix format) that the recommender was last updated.
|
Recommender |
withLatestRecommenderUpdate(RecommenderUpdateSummary latestRecommenderUpdate)
Provides a summary of the latest updates to the recommender.
|
Recommender |
withName(String name)
The name of the recommender.
|
Recommender |
withRecipeArn(String recipeArn)
The Amazon Resource Name (ARN) of the recipe (Domain dataset group use case) that the recommender was created
for.
|
Recommender |
withRecommenderArn(String recommenderArn)
The Amazon Resource Name (ARN) of the recommender.
|
Recommender |
withRecommenderConfig(RecommenderConfig recommenderConfig)
The configuration details of the recommender.
|
Recommender |
withStatus(String status)
The status of the recommender.
|
public void setRecommenderArn(String recommenderArn)
The Amazon Resource Name (ARN) of the recommender.
recommenderArn
- The Amazon Resource Name (ARN) of the recommender.public String getRecommenderArn()
The Amazon Resource Name (ARN) of the recommender.
public Recommender withRecommenderArn(String recommenderArn)
The Amazon Resource Name (ARN) of the recommender.
recommenderArn
- The Amazon Resource Name (ARN) of the recommender.public void setDatasetGroupArn(String datasetGroupArn)
The Amazon Resource Name (ARN) of the Domain dataset group that contains the recommender.
datasetGroupArn
- The Amazon Resource Name (ARN) of the Domain dataset group that contains the recommender.public String getDatasetGroupArn()
The Amazon Resource Name (ARN) of the Domain dataset group that contains the recommender.
public Recommender withDatasetGroupArn(String datasetGroupArn)
The Amazon Resource Name (ARN) of the Domain dataset group that contains the recommender.
datasetGroupArn
- The Amazon Resource Name (ARN) of the Domain dataset group that contains the recommender.public void setName(String name)
The name of the recommender.
name
- The name of the recommender.public String getName()
The name of the recommender.
public Recommender withName(String name)
The name of the recommender.
name
- The name of the recommender.public void setRecipeArn(String recipeArn)
The Amazon Resource Name (ARN) of the recipe (Domain dataset group use case) that the recommender was created for.
recipeArn
- The Amazon Resource Name (ARN) of the recipe (Domain dataset group use case) that the recommender was
created for.public String getRecipeArn()
The Amazon Resource Name (ARN) of the recipe (Domain dataset group use case) that the recommender was created for.
public Recommender withRecipeArn(String recipeArn)
The Amazon Resource Name (ARN) of the recipe (Domain dataset group use case) that the recommender was created for.
recipeArn
- The Amazon Resource Name (ARN) of the recipe (Domain dataset group use case) that the recommender was
created for.public void setRecommenderConfig(RecommenderConfig recommenderConfig)
The configuration details of the recommender.
recommenderConfig
- The configuration details of the recommender.public RecommenderConfig getRecommenderConfig()
The configuration details of the recommender.
public Recommender withRecommenderConfig(RecommenderConfig recommenderConfig)
The configuration details of the recommender.
recommenderConfig
- The configuration details of the recommender.public void setCreationDateTime(Date creationDateTime)
The date and time (in Unix format) that the recommender was created.
creationDateTime
- The date and time (in Unix format) that the recommender was created.public Date getCreationDateTime()
The date and time (in Unix format) that the recommender was created.
public Recommender withCreationDateTime(Date creationDateTime)
The date and time (in Unix format) that the recommender was created.
creationDateTime
- The date and time (in Unix format) that the recommender was created.public void setLastUpdatedDateTime(Date lastUpdatedDateTime)
The date and time (in Unix format) that the recommender was last updated.
lastUpdatedDateTime
- The date and time (in Unix format) that the recommender was last updated.public Date getLastUpdatedDateTime()
The date and time (in Unix format) that the recommender was last updated.
public Recommender withLastUpdatedDateTime(Date lastUpdatedDateTime)
The date and time (in Unix format) that the recommender was last updated.
lastUpdatedDateTime
- The date and time (in Unix format) that the recommender was last updated.public void setStatus(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
DELETE PENDING > DELETE IN_PROGRESS
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
DELETE PENDING > DELETE IN_PROGRESS
public String getStatus()
The status of the recommender.
A recommender can be in one of the following states:
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
DELETE PENDING > DELETE IN_PROGRESS
A recommender can be in one of the following states:
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
DELETE PENDING > DELETE IN_PROGRESS
public Recommender withStatus(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
DELETE PENDING > DELETE IN_PROGRESS
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
DELETE PENDING > DELETE IN_PROGRESS
public void setFailureReason(String failureReason)
If a recommender fails, the reason behind the failure.
failureReason
- If a recommender fails, the reason behind the failure.public String getFailureReason()
If a recommender fails, the reason behind the failure.
public Recommender withFailureReason(String failureReason)
If a recommender fails, the reason behind the failure.
failureReason
- If a recommender fails, the reason behind the failure.public void setLatestRecommenderUpdate(RecommenderUpdateSummary latestRecommenderUpdate)
Provides a summary of the latest updates to the recommender.
latestRecommenderUpdate
- Provides a summary of the latest updates to the recommender.public RecommenderUpdateSummary getLatestRecommenderUpdate()
Provides a summary of the latest updates to the recommender.
public Recommender withLatestRecommenderUpdate(RecommenderUpdateSummary latestRecommenderUpdate)
Provides a summary of the latest updates to the recommender.
latestRecommenderUpdate
- Provides a summary of the latest updates to the recommender.public String toString()
toString
in class Object
Object.toString()
public Recommender clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.