@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateRecommenderConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Specifies Amazon Pinpoint configuration settings for retrieving and processing recommendation data from a recommender model.
Constructor and Description |
---|
CreateRecommenderConfiguration() |
Modifier and Type | Method and Description |
---|---|
CreateRecommenderConfiguration |
addAttributesEntry(String key,
String value)
Add a single Attributes entry
|
CreateRecommenderConfiguration |
clearAttributesEntries()
Removes all the entries added into Attributes.
|
CreateRecommenderConfiguration |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getAttributes()
A map of key-value pairs that defines 1-10 custom endpoint or user attributes, depending on the value for the
RecommendationProviderIdType property.
|
String |
getDescription()
A custom description of the configuration for the recommender model.
|
String |
getName()
A custom name of the configuration for the recommender model.
|
String |
getRecommendationProviderIdType()
The type of Amazon Pinpoint ID to associate with unique user IDs in the recommender model.
|
String |
getRecommendationProviderRoleArn()
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorizes Amazon
Pinpoint to retrieve recommendation data from the recommender model.
|
String |
getRecommendationProviderUri()
The Amazon Resource Name (ARN) of the recommender model to retrieve recommendation data from.
|
String |
getRecommendationsDisplayName()
A custom display name for the standard endpoint or user attribute (RecommendationItems) that temporarily stores
recommended items for each endpoint or user, depending on the value for the RecommendationProviderIdType
property.
|
Integer |
getRecommendationsPerMessage()
The number of recommended items to retrieve from the model for each endpoint or user, depending on the value for
the RecommendationProviderIdType property.
|
String |
getRecommendationTransformerUri()
The name or Amazon Resource Name (ARN) of the AWS Lambda function to invoke for additional processing of
recommendation data that's retrieved from the recommender model.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttributes(Map<String,String> attributes)
A map of key-value pairs that defines 1-10 custom endpoint or user attributes, depending on the value for the
RecommendationProviderIdType property.
|
void |
setDescription(String description)
A custom description of the configuration for the recommender model.
|
void |
setName(String name)
A custom name of the configuration for the recommender model.
|
void |
setRecommendationProviderIdType(String recommendationProviderIdType)
The type of Amazon Pinpoint ID to associate with unique user IDs in the recommender model.
|
void |
setRecommendationProviderRoleArn(String recommendationProviderRoleArn)
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorizes Amazon
Pinpoint to retrieve recommendation data from the recommender model.
|
void |
setRecommendationProviderUri(String recommendationProviderUri)
The Amazon Resource Name (ARN) of the recommender model to retrieve recommendation data from.
|
void |
setRecommendationsDisplayName(String recommendationsDisplayName)
A custom display name for the standard endpoint or user attribute (RecommendationItems) that temporarily stores
recommended items for each endpoint or user, depending on the value for the RecommendationProviderIdType
property.
|
void |
setRecommendationsPerMessage(Integer recommendationsPerMessage)
The number of recommended items to retrieve from the model for each endpoint or user, depending on the value for
the RecommendationProviderIdType property.
|
void |
setRecommendationTransformerUri(String recommendationTransformerUri)
The name or Amazon Resource Name (ARN) of the AWS Lambda function to invoke for additional processing of
recommendation data that's retrieved from the recommender model.
|
String |
toString()
Returns a string representation of this object.
|
CreateRecommenderConfiguration |
withAttributes(Map<String,String> attributes)
A map of key-value pairs that defines 1-10 custom endpoint or user attributes, depending on the value for the
RecommendationProviderIdType property.
|
CreateRecommenderConfiguration |
withDescription(String description)
A custom description of the configuration for the recommender model.
|
CreateRecommenderConfiguration |
withName(String name)
A custom name of the configuration for the recommender model.
|
CreateRecommenderConfiguration |
withRecommendationProviderIdType(String recommendationProviderIdType)
The type of Amazon Pinpoint ID to associate with unique user IDs in the recommender model.
|
CreateRecommenderConfiguration |
withRecommendationProviderRoleArn(String recommendationProviderRoleArn)
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorizes Amazon
Pinpoint to retrieve recommendation data from the recommender model.
|
CreateRecommenderConfiguration |
withRecommendationProviderUri(String recommendationProviderUri)
The Amazon Resource Name (ARN) of the recommender model to retrieve recommendation data from.
|
CreateRecommenderConfiguration |
withRecommendationsDisplayName(String recommendationsDisplayName)
A custom display name for the standard endpoint or user attribute (RecommendationItems) that temporarily stores
recommended items for each endpoint or user, depending on the value for the RecommendationProviderIdType
property.
|
CreateRecommenderConfiguration |
withRecommendationsPerMessage(Integer recommendationsPerMessage)
The number of recommended items to retrieve from the model for each endpoint or user, depending on the value for
the RecommendationProviderIdType property.
|
CreateRecommenderConfiguration |
withRecommendationTransformerUri(String recommendationTransformerUri)
The name or Amazon Resource Name (ARN) of the AWS Lambda function to invoke for additional processing of
recommendation data that's retrieved from the recommender model.
|
public Map<String,String> getAttributes()
A map of key-value pairs that defines 1-10 custom endpoint or user attributes, depending on the value for the RecommendationProviderIdType property. Each of these attributes temporarily stores a recommended item that's retrieved from the recommender model and sent to an AWS Lambda function for additional processing. Each attribute can be used as a message variable in a message template.
In the map, the key is the name of a custom attribute and the value is a custom display name for that attribute. The display name appears in the Attribute finder of the template editor on the Amazon Pinpoint console. The following restrictions apply to these names:
An attribute name must start with a letter or number and it can contain up to 50 characters. The characters can be letters, numbers, underscores (_), or hyphens (-). Attribute names are case sensitive and must be unique.
An attribute display name must start with a letter or number and it can contain up to 25 characters. The characters can be letters, numbers, spaces, underscores (_), or hyphens (-).
This object is required if the configuration invokes an AWS Lambda function (RecommendationTransformerUri) to process recommendation data. Otherwise, don't include this object in your request.
In the map, the key is the name of a custom attribute and the value is a custom display name for that attribute. The display name appears in the Attribute finder of the template editor on the Amazon Pinpoint console. The following restrictions apply to these names:
An attribute name must start with a letter or number and it can contain up to 50 characters. The characters can be letters, numbers, underscores (_), or hyphens (-). Attribute names are case sensitive and must be unique.
An attribute display name must start with a letter or number and it can contain up to 25 characters. The characters can be letters, numbers, spaces, underscores (_), or hyphens (-).
This object is required if the configuration invokes an AWS Lambda function (RecommendationTransformerUri) to process recommendation data. Otherwise, don't include this object in your request.
public void setAttributes(Map<String,String> attributes)
A map of key-value pairs that defines 1-10 custom endpoint or user attributes, depending on the value for the RecommendationProviderIdType property. Each of these attributes temporarily stores a recommended item that's retrieved from the recommender model and sent to an AWS Lambda function for additional processing. Each attribute can be used as a message variable in a message template.
In the map, the key is the name of a custom attribute and the value is a custom display name for that attribute. The display name appears in the Attribute finder of the template editor on the Amazon Pinpoint console. The following restrictions apply to these names:
An attribute name must start with a letter or number and it can contain up to 50 characters. The characters can be letters, numbers, underscores (_), or hyphens (-). Attribute names are case sensitive and must be unique.
An attribute display name must start with a letter or number and it can contain up to 25 characters. The characters can be letters, numbers, spaces, underscores (_), or hyphens (-).
This object is required if the configuration invokes an AWS Lambda function (RecommendationTransformerUri) to process recommendation data. Otherwise, don't include this object in your request.
attributes
- A map of key-value pairs that defines 1-10 custom endpoint or user attributes, depending on the value for
the RecommendationProviderIdType property. Each of these attributes temporarily stores a recommended item
that's retrieved from the recommender model and sent to an AWS Lambda function for additional processing.
Each attribute can be used as a message variable in a message template.
In the map, the key is the name of a custom attribute and the value is a custom display name for that attribute. The display name appears in the Attribute finder of the template editor on the Amazon Pinpoint console. The following restrictions apply to these names:
An attribute name must start with a letter or number and it can contain up to 50 characters. The characters can be letters, numbers, underscores (_), or hyphens (-). Attribute names are case sensitive and must be unique.
An attribute display name must start with a letter or number and it can contain up to 25 characters. The characters can be letters, numbers, spaces, underscores (_), or hyphens (-).
This object is required if the configuration invokes an AWS Lambda function (RecommendationTransformerUri) to process recommendation data. Otherwise, don't include this object in your request.
public CreateRecommenderConfiguration withAttributes(Map<String,String> attributes)
A map of key-value pairs that defines 1-10 custom endpoint or user attributes, depending on the value for the RecommendationProviderIdType property. Each of these attributes temporarily stores a recommended item that's retrieved from the recommender model and sent to an AWS Lambda function for additional processing. Each attribute can be used as a message variable in a message template.
In the map, the key is the name of a custom attribute and the value is a custom display name for that attribute. The display name appears in the Attribute finder of the template editor on the Amazon Pinpoint console. The following restrictions apply to these names:
An attribute name must start with a letter or number and it can contain up to 50 characters. The characters can be letters, numbers, underscores (_), or hyphens (-). Attribute names are case sensitive and must be unique.
An attribute display name must start with a letter or number and it can contain up to 25 characters. The characters can be letters, numbers, spaces, underscores (_), or hyphens (-).
This object is required if the configuration invokes an AWS Lambda function (RecommendationTransformerUri) to process recommendation data. Otherwise, don't include this object in your request.
attributes
- A map of key-value pairs that defines 1-10 custom endpoint or user attributes, depending on the value for
the RecommendationProviderIdType property. Each of these attributes temporarily stores a recommended item
that's retrieved from the recommender model and sent to an AWS Lambda function for additional processing.
Each attribute can be used as a message variable in a message template.
In the map, the key is the name of a custom attribute and the value is a custom display name for that attribute. The display name appears in the Attribute finder of the template editor on the Amazon Pinpoint console. The following restrictions apply to these names:
An attribute name must start with a letter or number and it can contain up to 50 characters. The characters can be letters, numbers, underscores (_), or hyphens (-). Attribute names are case sensitive and must be unique.
An attribute display name must start with a letter or number and it can contain up to 25 characters. The characters can be letters, numbers, spaces, underscores (_), or hyphens (-).
This object is required if the configuration invokes an AWS Lambda function (RecommendationTransformerUri) to process recommendation data. Otherwise, don't include this object in your request.
public CreateRecommenderConfiguration addAttributesEntry(String key, String value)
public CreateRecommenderConfiguration clearAttributesEntries()
public void setDescription(String description)
A custom description of the configuration for the recommender model. The description can contain up to 128 characters. The characters can be letters, numbers, spaces, or the following symbols: _ ; () , ‐.
description
- A custom description of the configuration for the recommender model. The description can contain up to 128
characters. The characters can be letters, numbers, spaces, or the following symbols: _ ; () , ‐.public String getDescription()
A custom description of the configuration for the recommender model. The description can contain up to 128 characters. The characters can be letters, numbers, spaces, or the following symbols: _ ; () , ‐.
public CreateRecommenderConfiguration withDescription(String description)
A custom description of the configuration for the recommender model. The description can contain up to 128 characters. The characters can be letters, numbers, spaces, or the following symbols: _ ; () , ‐.
description
- A custom description of the configuration for the recommender model. The description can contain up to 128
characters. The characters can be letters, numbers, spaces, or the following symbols: _ ; () , ‐.public void setName(String name)
A custom name of the configuration for the recommender model. The name must start with a letter or number and it can contain up to 128 characters. The characters can be letters, numbers, spaces, underscores (_), or hyphens (-).
name
- A custom name of the configuration for the recommender model. The name must start with a letter or number
and it can contain up to 128 characters. The characters can be letters, numbers, spaces, underscores (_),
or hyphens (-).public String getName()
A custom name of the configuration for the recommender model. The name must start with a letter or number and it can contain up to 128 characters. The characters can be letters, numbers, spaces, underscores (_), or hyphens (-).
public CreateRecommenderConfiguration withName(String name)
A custom name of the configuration for the recommender model. The name must start with a letter or number and it can contain up to 128 characters. The characters can be letters, numbers, spaces, underscores (_), or hyphens (-).
name
- A custom name of the configuration for the recommender model. The name must start with a letter or number
and it can contain up to 128 characters. The characters can be letters, numbers, spaces, underscores (_),
or hyphens (-).public void setRecommendationProviderIdType(String recommendationProviderIdType)
The type of Amazon Pinpoint ID to associate with unique user IDs in the recommender model. This value enables the model to use attribute and event data that’s specific to a particular endpoint or user in an Amazon Pinpoint application. Valid values are:
PINPOINT_ENDPOINT_ID - Associate each user in the model with a particular endpoint in Amazon Pinpoint. The data is correlated based on endpoint IDs in Amazon Pinpoint. This is the default value.
PINPOINT_USER_ID - Associate each user in the model with a particular user and endpoint in Amazon Pinpoint. The data is correlated based on user IDs in Amazon Pinpoint. If you specify this value, an endpoint definition in Amazon Pinpoint has to specify both a user ID (UserId) and an endpoint ID. Otherwise, messages won’t be sent to the user's endpoint.
recommendationProviderIdType
- The type of Amazon Pinpoint ID to associate with unique user IDs in the recommender model. This value
enables the model to use attribute and event data that’s specific to a particular endpoint or user in an
Amazon Pinpoint application. Valid values are:
PINPOINT_ENDPOINT_ID - Associate each user in the model with a particular endpoint in Amazon Pinpoint. The data is correlated based on endpoint IDs in Amazon Pinpoint. This is the default value.
PINPOINT_USER_ID - Associate each user in the model with a particular user and endpoint in Amazon Pinpoint. The data is correlated based on user IDs in Amazon Pinpoint. If you specify this value, an endpoint definition in Amazon Pinpoint has to specify both a user ID (UserId) and an endpoint ID. Otherwise, messages won’t be sent to the user's endpoint.
public String getRecommendationProviderIdType()
The type of Amazon Pinpoint ID to associate with unique user IDs in the recommender model. This value enables the model to use attribute and event data that’s specific to a particular endpoint or user in an Amazon Pinpoint application. Valid values are:
PINPOINT_ENDPOINT_ID - Associate each user in the model with a particular endpoint in Amazon Pinpoint. The data is correlated based on endpoint IDs in Amazon Pinpoint. This is the default value.
PINPOINT_USER_ID - Associate each user in the model with a particular user and endpoint in Amazon Pinpoint. The data is correlated based on user IDs in Amazon Pinpoint. If you specify this value, an endpoint definition in Amazon Pinpoint has to specify both a user ID (UserId) and an endpoint ID. Otherwise, messages won’t be sent to the user's endpoint.
PINPOINT_ENDPOINT_ID - Associate each user in the model with a particular endpoint in Amazon Pinpoint. The data is correlated based on endpoint IDs in Amazon Pinpoint. This is the default value.
PINPOINT_USER_ID - Associate each user in the model with a particular user and endpoint in Amazon Pinpoint. The data is correlated based on user IDs in Amazon Pinpoint. If you specify this value, an endpoint definition in Amazon Pinpoint has to specify both a user ID (UserId) and an endpoint ID. Otherwise, messages won’t be sent to the user's endpoint.
public CreateRecommenderConfiguration withRecommendationProviderIdType(String recommendationProviderIdType)
The type of Amazon Pinpoint ID to associate with unique user IDs in the recommender model. This value enables the model to use attribute and event data that’s specific to a particular endpoint or user in an Amazon Pinpoint application. Valid values are:
PINPOINT_ENDPOINT_ID - Associate each user in the model with a particular endpoint in Amazon Pinpoint. The data is correlated based on endpoint IDs in Amazon Pinpoint. This is the default value.
PINPOINT_USER_ID - Associate each user in the model with a particular user and endpoint in Amazon Pinpoint. The data is correlated based on user IDs in Amazon Pinpoint. If you specify this value, an endpoint definition in Amazon Pinpoint has to specify both a user ID (UserId) and an endpoint ID. Otherwise, messages won’t be sent to the user's endpoint.
recommendationProviderIdType
- The type of Amazon Pinpoint ID to associate with unique user IDs in the recommender model. This value
enables the model to use attribute and event data that’s specific to a particular endpoint or user in an
Amazon Pinpoint application. Valid values are:
PINPOINT_ENDPOINT_ID - Associate each user in the model with a particular endpoint in Amazon Pinpoint. The data is correlated based on endpoint IDs in Amazon Pinpoint. This is the default value.
PINPOINT_USER_ID - Associate each user in the model with a particular user and endpoint in Amazon Pinpoint. The data is correlated based on user IDs in Amazon Pinpoint. If you specify this value, an endpoint definition in Amazon Pinpoint has to specify both a user ID (UserId) and an endpoint ID. Otherwise, messages won’t be sent to the user's endpoint.
public void setRecommendationProviderRoleArn(String recommendationProviderRoleArn)
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to retrieve recommendation data from the recommender model.
recommendationProviderRoleArn
- The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorizes Amazon
Pinpoint to retrieve recommendation data from the recommender model.public String getRecommendationProviderRoleArn()
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to retrieve recommendation data from the recommender model.
public CreateRecommenderConfiguration withRecommendationProviderRoleArn(String recommendationProviderRoleArn)
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to retrieve recommendation data from the recommender model.
recommendationProviderRoleArn
- The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorizes Amazon
Pinpoint to retrieve recommendation data from the recommender model.public void setRecommendationProviderUri(String recommendationProviderUri)
The Amazon Resource Name (ARN) of the recommender model to retrieve recommendation data from. This value must match the ARN of an Amazon Personalize campaign.
recommendationProviderUri
- The Amazon Resource Name (ARN) of the recommender model to retrieve recommendation data from. This value
must match the ARN of an Amazon Personalize campaign.public String getRecommendationProviderUri()
The Amazon Resource Name (ARN) of the recommender model to retrieve recommendation data from. This value must match the ARN of an Amazon Personalize campaign.
public CreateRecommenderConfiguration withRecommendationProviderUri(String recommendationProviderUri)
The Amazon Resource Name (ARN) of the recommender model to retrieve recommendation data from. This value must match the ARN of an Amazon Personalize campaign.
recommendationProviderUri
- The Amazon Resource Name (ARN) of the recommender model to retrieve recommendation data from. This value
must match the ARN of an Amazon Personalize campaign.public void setRecommendationTransformerUri(String recommendationTransformerUri)
The name or Amazon Resource Name (ARN) of the AWS Lambda function to invoke for additional processing of recommendation data that's retrieved from the recommender model.
recommendationTransformerUri
- The name or Amazon Resource Name (ARN) of the AWS Lambda function to invoke for additional processing of
recommendation data that's retrieved from the recommender model.public String getRecommendationTransformerUri()
The name or Amazon Resource Name (ARN) of the AWS Lambda function to invoke for additional processing of recommendation data that's retrieved from the recommender model.
public CreateRecommenderConfiguration withRecommendationTransformerUri(String recommendationTransformerUri)
The name or Amazon Resource Name (ARN) of the AWS Lambda function to invoke for additional processing of recommendation data that's retrieved from the recommender model.
recommendationTransformerUri
- The name or Amazon Resource Name (ARN) of the AWS Lambda function to invoke for additional processing of
recommendation data that's retrieved from the recommender model.public void setRecommendationsDisplayName(String recommendationsDisplayName)
A custom display name for the standard endpoint or user attribute (RecommendationItems) that temporarily stores recommended items for each endpoint or user, depending on the value for the RecommendationProviderIdType property. This value is required if the configuration doesn't invoke an AWS Lambda function (RecommendationTransformerUri) to perform additional processing of recommendation data.
This name appears in the Attribute finder of the template editor on the Amazon Pinpoint console. The name can contain up to 25 characters. The characters can be letters, numbers, spaces, underscores (_), or hyphens (-). These restrictions don't apply to attribute values.
recommendationsDisplayName
- A custom display name for the standard endpoint or user attribute (RecommendationItems) that temporarily
stores recommended items for each endpoint or user, depending on the value for the
RecommendationProviderIdType property. This value is required if the configuration doesn't invoke an AWS
Lambda function (RecommendationTransformerUri) to perform additional processing of recommendation
data.
This name appears in the Attribute finder of the template editor on the Amazon Pinpoint console. The name can contain up to 25 characters. The characters can be letters, numbers, spaces, underscores (_), or hyphens (-). These restrictions don't apply to attribute values.
public String getRecommendationsDisplayName()
A custom display name for the standard endpoint or user attribute (RecommendationItems) that temporarily stores recommended items for each endpoint or user, depending on the value for the RecommendationProviderIdType property. This value is required if the configuration doesn't invoke an AWS Lambda function (RecommendationTransformerUri) to perform additional processing of recommendation data.
This name appears in the Attribute finder of the template editor on the Amazon Pinpoint console. The name can contain up to 25 characters. The characters can be letters, numbers, spaces, underscores (_), or hyphens (-). These restrictions don't apply to attribute values.
This name appears in the Attribute finder of the template editor on the Amazon Pinpoint console. The name can contain up to 25 characters. The characters can be letters, numbers, spaces, underscores (_), or hyphens (-). These restrictions don't apply to attribute values.
public CreateRecommenderConfiguration withRecommendationsDisplayName(String recommendationsDisplayName)
A custom display name for the standard endpoint or user attribute (RecommendationItems) that temporarily stores recommended items for each endpoint or user, depending on the value for the RecommendationProviderIdType property. This value is required if the configuration doesn't invoke an AWS Lambda function (RecommendationTransformerUri) to perform additional processing of recommendation data.
This name appears in the Attribute finder of the template editor on the Amazon Pinpoint console. The name can contain up to 25 characters. The characters can be letters, numbers, spaces, underscores (_), or hyphens (-). These restrictions don't apply to attribute values.
recommendationsDisplayName
- A custom display name for the standard endpoint or user attribute (RecommendationItems) that temporarily
stores recommended items for each endpoint or user, depending on the value for the
RecommendationProviderIdType property. This value is required if the configuration doesn't invoke an AWS
Lambda function (RecommendationTransformerUri) to perform additional processing of recommendation
data.
This name appears in the Attribute finder of the template editor on the Amazon Pinpoint console. The name can contain up to 25 characters. The characters can be letters, numbers, spaces, underscores (_), or hyphens (-). These restrictions don't apply to attribute values.
public void setRecommendationsPerMessage(Integer recommendationsPerMessage)
The number of recommended items to retrieve from the model for each endpoint or user, depending on the value for the RecommendationProviderIdType property. This number determines how many recommended items are available for use in message variables. The minimum value is 1. The maximum value is 5. The default value is 5.
To use multiple recommended items and custom attributes with message variables, you have to use an AWS Lambda function (RecommendationTransformerUri) to perform additional processing of recommendation data.
recommendationsPerMessage
- The number of recommended items to retrieve from the model for each endpoint or user, depending on the
value for the RecommendationProviderIdType property. This number determines how many recommended items are
available for use in message variables. The minimum value is 1. The maximum value is 5. The default value
is 5.
To use multiple recommended items and custom attributes with message variables, you have to use an AWS Lambda function (RecommendationTransformerUri) to perform additional processing of recommendation data.
public Integer getRecommendationsPerMessage()
The number of recommended items to retrieve from the model for each endpoint or user, depending on the value for the RecommendationProviderIdType property. This number determines how many recommended items are available for use in message variables. The minimum value is 1. The maximum value is 5. The default value is 5.
To use multiple recommended items and custom attributes with message variables, you have to use an AWS Lambda function (RecommendationTransformerUri) to perform additional processing of recommendation data.
To use multiple recommended items and custom attributes with message variables, you have to use an AWS Lambda function (RecommendationTransformerUri) to perform additional processing of recommendation data.
public CreateRecommenderConfiguration withRecommendationsPerMessage(Integer recommendationsPerMessage)
The number of recommended items to retrieve from the model for each endpoint or user, depending on the value for the RecommendationProviderIdType property. This number determines how many recommended items are available for use in message variables. The minimum value is 1. The maximum value is 5. The default value is 5.
To use multiple recommended items and custom attributes with message variables, you have to use an AWS Lambda function (RecommendationTransformerUri) to perform additional processing of recommendation data.
recommendationsPerMessage
- The number of recommended items to retrieve from the model for each endpoint or user, depending on the
value for the RecommendationProviderIdType property. This number determines how many recommended items are
available for use in message variables. The minimum value is 1. The maximum value is 5. The default value
is 5.
To use multiple recommended items and custom attributes with message variables, you have to use an AWS Lambda function (RecommendationTransformerUri) to perform additional processing of recommendation data.
public String toString()
toString
in class Object
Object.toString()
public CreateRecommenderConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.