@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CampaignConfig extends Object implements Serializable, Cloneable, StructuredPojo
The configuration details of a campaign.
Constructor and Description |
---|
CampaignConfig() |
Modifier and Type | Method and Description |
---|---|
CampaignConfig |
addItemExplorationConfigEntry(String key,
String value)
Add a single ItemExplorationConfig entry
|
CampaignConfig |
clearItemExplorationConfigEntries()
Removes all the entries added into ItemExplorationConfig.
|
CampaignConfig |
clone() |
boolean |
equals(Object obj) |
Boolean |
getEnableMetadataWithRecommendations()
Whether metadata with recommendations is enabled for the campaign.
|
Map<String,String> |
getItemExplorationConfig()
Specifies the exploration configuration hyperparameters, including
explorationWeight and
explorationItemAgeCutOff , you want to use to configure the amount of item exploration Amazon
Personalize uses when recommending items. |
Boolean |
getSyncWithLatestSolutionVersion()
Whether the campaign automatically updates to use the latest solution version (trained model) of a solution.
|
int |
hashCode() |
Boolean |
isEnableMetadataWithRecommendations()
Whether metadata with recommendations is enabled for the campaign.
|
Boolean |
isSyncWithLatestSolutionVersion()
Whether the campaign automatically updates to use the latest solution version (trained model) of a solution.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEnableMetadataWithRecommendations(Boolean enableMetadataWithRecommendations)
Whether metadata with recommendations is enabled for the campaign.
|
void |
setItemExplorationConfig(Map<String,String> itemExplorationConfig)
Specifies the exploration configuration hyperparameters, including
explorationWeight and
explorationItemAgeCutOff , you want to use to configure the amount of item exploration Amazon
Personalize uses when recommending items. |
void |
setSyncWithLatestSolutionVersion(Boolean syncWithLatestSolutionVersion)
Whether the campaign automatically updates to use the latest solution version (trained model) of a solution.
|
String |
toString()
Returns a string representation of this object.
|
CampaignConfig |
withEnableMetadataWithRecommendations(Boolean enableMetadataWithRecommendations)
Whether metadata with recommendations is enabled for the campaign.
|
CampaignConfig |
withItemExplorationConfig(Map<String,String> itemExplorationConfig)
Specifies the exploration configuration hyperparameters, including
explorationWeight and
explorationItemAgeCutOff , you want to use to configure the amount of item exploration Amazon
Personalize uses when recommending items. |
CampaignConfig |
withSyncWithLatestSolutionVersion(Boolean syncWithLatestSolutionVersion)
Whether the campaign automatically updates to use the latest solution version (trained model) of a solution.
|
public Map<String,String> getItemExplorationConfig()
Specifies the exploration configuration hyperparameters, including explorationWeight
and
explorationItemAgeCutOff
, you want to use to configure the amount of item exploration Amazon
Personalize uses when recommending items. Provide itemExplorationConfig
data only if your solution
uses the User-Personalization recipe.
explorationWeight
and
explorationItemAgeCutOff
, you want to use to configure the amount of item exploration Amazon
Personalize uses when recommending items. Provide itemExplorationConfig
data only if your
solution uses the User-Personalization recipe.public void setItemExplorationConfig(Map<String,String> itemExplorationConfig)
Specifies the exploration configuration hyperparameters, including explorationWeight
and
explorationItemAgeCutOff
, you want to use to configure the amount of item exploration Amazon
Personalize uses when recommending items. Provide itemExplorationConfig
data only if your solution
uses the User-Personalization recipe.
itemExplorationConfig
- Specifies the exploration configuration hyperparameters, including explorationWeight
and
explorationItemAgeCutOff
, you want to use to configure the amount of item exploration Amazon
Personalize uses when recommending items. Provide itemExplorationConfig
data only if your
solution uses the User-Personalization recipe.public CampaignConfig withItemExplorationConfig(Map<String,String> itemExplorationConfig)
Specifies the exploration configuration hyperparameters, including explorationWeight
and
explorationItemAgeCutOff
, you want to use to configure the amount of item exploration Amazon
Personalize uses when recommending items. Provide itemExplorationConfig
data only if your solution
uses the User-Personalization recipe.
itemExplorationConfig
- Specifies the exploration configuration hyperparameters, including explorationWeight
and
explorationItemAgeCutOff
, you want to use to configure the amount of item exploration Amazon
Personalize uses when recommending items. Provide itemExplorationConfig
data only if your
solution uses the User-Personalization recipe.public CampaignConfig addItemExplorationConfigEntry(String key, String value)
public CampaignConfig clearItemExplorationConfigEntries()
public void setEnableMetadataWithRecommendations(Boolean enableMetadataWithRecommendations)
Whether metadata with recommendations is enabled for the campaign. If enabled, you can specify the columns from your Items dataset in your request for recommendations. Amazon Personalize returns this data for each item in the recommendation response. For information about enabling metadata for a campaign, see Enabling metadata in recommendations for a campaign.
If you enable metadata in recommendations, you will incur additional costs. For more information, see Amazon Personalize pricing.
enableMetadataWithRecommendations
- Whether metadata with recommendations is enabled for the campaign. If enabled, you can specify the columns
from your Items dataset in your request for recommendations. Amazon Personalize returns this data for each
item in the recommendation response. For information about enabling metadata for a campaign, see Enabling metadata in recommendations for a campaign.
If you enable metadata in recommendations, you will incur additional costs. For more information, see Amazon Personalize pricing.
public Boolean getEnableMetadataWithRecommendations()
Whether metadata with recommendations is enabled for the campaign. If enabled, you can specify the columns from your Items dataset in your request for recommendations. Amazon Personalize returns this data for each item in the recommendation response. For information about enabling metadata for a campaign, see Enabling metadata in recommendations for a campaign.
If you enable metadata in recommendations, you will incur additional costs. For more information, see Amazon Personalize pricing.
If you enable metadata in recommendations, you will incur additional costs. For more information, see Amazon Personalize pricing.
public CampaignConfig withEnableMetadataWithRecommendations(Boolean enableMetadataWithRecommendations)
Whether metadata with recommendations is enabled for the campaign. If enabled, you can specify the columns from your Items dataset in your request for recommendations. Amazon Personalize returns this data for each item in the recommendation response. For information about enabling metadata for a campaign, see Enabling metadata in recommendations for a campaign.
If you enable metadata in recommendations, you will incur additional costs. For more information, see Amazon Personalize pricing.
enableMetadataWithRecommendations
- Whether metadata with recommendations is enabled for the campaign. If enabled, you can specify the columns
from your Items dataset in your request for recommendations. Amazon Personalize returns this data for each
item in the recommendation response. For information about enabling metadata for a campaign, see Enabling metadata in recommendations for a campaign.
If you enable metadata in recommendations, you will incur additional costs. For more information, see Amazon Personalize pricing.
public Boolean isEnableMetadataWithRecommendations()
Whether metadata with recommendations is enabled for the campaign. If enabled, you can specify the columns from your Items dataset in your request for recommendations. Amazon Personalize returns this data for each item in the recommendation response. For information about enabling metadata for a campaign, see Enabling metadata in recommendations for a campaign.
If you enable metadata in recommendations, you will incur additional costs. For more information, see Amazon Personalize pricing.
If you enable metadata in recommendations, you will incur additional costs. For more information, see Amazon Personalize pricing.
public void setSyncWithLatestSolutionVersion(Boolean syncWithLatestSolutionVersion)
Whether the campaign automatically updates to use the latest solution version (trained model) of a solution. If
you specify True
, you must specify the ARN of your solution for the
SolutionVersionArn
parameter. It must be in SolutionArn/$LATEST
format. The default is
False
and you must manually update the campaign to deploy the latest solution version.
For more information about automatic campaign updates, see Enabling automatic campaign updates.
syncWithLatestSolutionVersion
- Whether the campaign automatically updates to use the latest solution version (trained model) of a
solution. If you specify True
, you must specify the ARN of your solution for the
SolutionVersionArn
parameter. It must be in SolutionArn/$LATEST
format. The
default is False
and you must manually update the campaign to deploy the latest solution
version.
For more information about automatic campaign updates, see Enabling automatic campaign updates.
public Boolean getSyncWithLatestSolutionVersion()
Whether the campaign automatically updates to use the latest solution version (trained model) of a solution. If
you specify True
, you must specify the ARN of your solution for the
SolutionVersionArn
parameter. It must be in SolutionArn/$LATEST
format. The default is
False
and you must manually update the campaign to deploy the latest solution version.
For more information about automatic campaign updates, see Enabling automatic campaign updates.
True
, you must specify the ARN of your solution for the
SolutionVersionArn
parameter. It must be in SolutionArn/$LATEST
format. The
default is False
and you must manually update the campaign to deploy the latest solution
version.
For more information about automatic campaign updates, see Enabling automatic campaign updates.
public CampaignConfig withSyncWithLatestSolutionVersion(Boolean syncWithLatestSolutionVersion)
Whether the campaign automatically updates to use the latest solution version (trained model) of a solution. If
you specify True
, you must specify the ARN of your solution for the
SolutionVersionArn
parameter. It must be in SolutionArn/$LATEST
format. The default is
False
and you must manually update the campaign to deploy the latest solution version.
For more information about automatic campaign updates, see Enabling automatic campaign updates.
syncWithLatestSolutionVersion
- Whether the campaign automatically updates to use the latest solution version (trained model) of a
solution. If you specify True
, you must specify the ARN of your solution for the
SolutionVersionArn
parameter. It must be in SolutionArn/$LATEST
format. The
default is False
and you must manually update the campaign to deploy the latest solution
version.
For more information about automatic campaign updates, see Enabling automatic campaign updates.
public Boolean isSyncWithLatestSolutionVersion()
Whether the campaign automatically updates to use the latest solution version (trained model) of a solution. If
you specify True
, you must specify the ARN of your solution for the
SolutionVersionArn
parameter. It must be in SolutionArn/$LATEST
format. The default is
False
and you must manually update the campaign to deploy the latest solution version.
For more information about automatic campaign updates, see Enabling automatic campaign updates.
True
, you must specify the ARN of your solution for the
SolutionVersionArn
parameter. It must be in SolutionArn/$LATEST
format. The
default is False
and you must manually update the campaign to deploy the latest solution
version.
For more information about automatic campaign updates, see Enabling automatic campaign updates.
public String toString()
toString
in class Object
Object.toString()
public CampaignConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.