@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateCampaignRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateCampaignRequest() |
Modifier and Type | Method and Description |
---|---|
CreateCampaignRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
CampaignConfig |
getCampaignConfig()
The configuration details of a campaign.
|
Integer |
getMinProvisionedTPS()
Specifies the requested minimum provisioned transactions (recommendations) per second that Amazon Personalize
will support.
|
String |
getName()
A name for the new campaign.
|
String |
getSolutionVersionArn()
The Amazon Resource Name (ARN) of the solution version to deploy.
|
List<Tag> |
getTags()
A list of tags to apply
to the campaign.
|
int |
hashCode() |
void |
setCampaignConfig(CampaignConfig campaignConfig)
The configuration details of a campaign.
|
void |
setMinProvisionedTPS(Integer minProvisionedTPS)
Specifies the requested minimum provisioned transactions (recommendations) per second that Amazon Personalize
will support.
|
void |
setName(String name)
A name for the new campaign.
|
void |
setSolutionVersionArn(String solutionVersionArn)
The Amazon Resource Name (ARN) of the solution version to deploy.
|
void |
setTags(Collection<Tag> tags)
A list of tags to apply
to the campaign.
|
String |
toString()
Returns a string representation of this object.
|
CreateCampaignRequest |
withCampaignConfig(CampaignConfig campaignConfig)
The configuration details of a campaign.
|
CreateCampaignRequest |
withMinProvisionedTPS(Integer minProvisionedTPS)
Specifies the requested minimum provisioned transactions (recommendations) per second that Amazon Personalize
will support.
|
CreateCampaignRequest |
withName(String name)
A name for the new campaign.
|
CreateCampaignRequest |
withSolutionVersionArn(String solutionVersionArn)
The Amazon Resource Name (ARN) of the solution version to deploy.
|
CreateCampaignRequest |
withTags(Collection<Tag> tags)
A list of tags to apply
to the campaign.
|
CreateCampaignRequest |
withTags(Tag... tags)
A list of tags to apply
to the campaign.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setName(String name)
A name for the new campaign. The campaign name must be unique within your account.
name
- A name for the new campaign. The campaign name must be unique within your account.public String getName()
A name for the new campaign. The campaign name must be unique within your account.
public CreateCampaignRequest withName(String name)
A name for the new campaign. The campaign name must be unique within your account.
name
- A name for the new campaign. The campaign name must be unique within your account.public void setSolutionVersionArn(String solutionVersionArn)
The Amazon Resource Name (ARN) of the solution version to deploy.
solutionVersionArn
- The Amazon Resource Name (ARN) of the solution version to deploy.public String getSolutionVersionArn()
The Amazon Resource Name (ARN) of the solution version to deploy.
public CreateCampaignRequest withSolutionVersionArn(String solutionVersionArn)
The Amazon Resource Name (ARN) of the solution version to deploy.
solutionVersionArn
- The Amazon Resource Name (ARN) of the solution version to deploy.public void setMinProvisionedTPS(Integer minProvisionedTPS)
Specifies the requested minimum provisioned transactions (recommendations) per second that Amazon Personalize will support.
minProvisionedTPS
- Specifies the requested minimum provisioned transactions (recommendations) per second that Amazon
Personalize will support.public Integer getMinProvisionedTPS()
Specifies the requested minimum provisioned transactions (recommendations) per second that Amazon Personalize will support.
public CreateCampaignRequest withMinProvisionedTPS(Integer minProvisionedTPS)
Specifies the requested minimum provisioned transactions (recommendations) per second that Amazon Personalize will support.
minProvisionedTPS
- Specifies the requested minimum provisioned transactions (recommendations) per second that Amazon
Personalize will support.public void setCampaignConfig(CampaignConfig campaignConfig)
The configuration details of a campaign.
campaignConfig
- The configuration details of a campaign.public CampaignConfig getCampaignConfig()
The configuration details of a campaign.
public CreateCampaignRequest withCampaignConfig(CampaignConfig campaignConfig)
The configuration details of a campaign.
campaignConfig
- The configuration details of a campaign.public List<Tag> getTags()
A list of tags to apply to the campaign.
public void setTags(Collection<Tag> tags)
A list of tags to apply to the campaign.
tags
- A list of tags to
apply to the campaign.public CreateCampaignRequest withTags(Tag... tags)
A list of tags to apply to the campaign.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- A list of tags to
apply to the campaign.public CreateCampaignRequest withTags(Collection<Tag> tags)
A list of tags to apply to the campaign.
tags
- A list of tags to
apply to the campaign.public String toString()
toString
in class Object
Object.toString()
public CreateCampaignRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()