@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CampaignUpdateSummary extends Object implements Serializable, Cloneable, StructuredPojo
Provides a summary of the properties of a campaign update. For a complete listing, call the DescribeCampaign API.
Constructor and Description |
---|
CampaignUpdateSummary() |
Modifier and Type | Method and Description |
---|---|
CampaignUpdateSummary |
clone() |
boolean |
equals(Object obj) |
CampaignConfig |
getCampaignConfig() |
Date |
getCreationDateTime()
The date and time (in Unix time) that the campaign update was created.
|
String |
getFailureReason()
If a campaign update fails, the reason behind the failure.
|
Date |
getLastUpdatedDateTime()
The date and time (in Unix time) that the campaign update was last updated.
|
Integer |
getMinProvisionedTPS()
Specifies the requested minimum provisioned transactions (recommendations) per second that Amazon Personalize
will support.
|
String |
getSolutionVersionArn()
The Amazon Resource Name (ARN) of the deployed solution version.
|
String |
getStatus()
The status of the campaign update.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCampaignConfig(CampaignConfig campaignConfig) |
void |
setCreationDateTime(Date creationDateTime)
The date and time (in Unix time) that the campaign update was created.
|
void |
setFailureReason(String failureReason)
If a campaign update fails, the reason behind the failure.
|
void |
setLastUpdatedDateTime(Date lastUpdatedDateTime)
The date and time (in Unix time) that the campaign update was last updated.
|
void |
setMinProvisionedTPS(Integer minProvisionedTPS)
Specifies the requested minimum provisioned transactions (recommendations) per second that Amazon Personalize
will support.
|
void |
setSolutionVersionArn(String solutionVersionArn)
The Amazon Resource Name (ARN) of the deployed solution version.
|
void |
setStatus(String status)
The status of the campaign update.
|
String |
toString()
Returns a string representation of this object.
|
CampaignUpdateSummary |
withCampaignConfig(CampaignConfig campaignConfig) |
CampaignUpdateSummary |
withCreationDateTime(Date creationDateTime)
The date and time (in Unix time) that the campaign update was created.
|
CampaignUpdateSummary |
withFailureReason(String failureReason)
If a campaign update fails, the reason behind the failure.
|
CampaignUpdateSummary |
withLastUpdatedDateTime(Date lastUpdatedDateTime)
The date and time (in Unix time) that the campaign update was last updated.
|
CampaignUpdateSummary |
withMinProvisionedTPS(Integer minProvisionedTPS)
Specifies the requested minimum provisioned transactions (recommendations) per second that Amazon Personalize
will support.
|
CampaignUpdateSummary |
withSolutionVersionArn(String solutionVersionArn)
The Amazon Resource Name (ARN) of the deployed solution version.
|
CampaignUpdateSummary |
withStatus(String status)
The status of the campaign update.
|
public void setSolutionVersionArn(String solutionVersionArn)
The Amazon Resource Name (ARN) of the deployed solution version.
solutionVersionArn
- The Amazon Resource Name (ARN) of the deployed solution version.public String getSolutionVersionArn()
The Amazon Resource Name (ARN) of the deployed solution version.
public CampaignUpdateSummary withSolutionVersionArn(String solutionVersionArn)
The Amazon Resource Name (ARN) of the deployed solution version.
solutionVersionArn
- The Amazon Resource Name (ARN) of the deployed solution version.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 CampaignUpdateSummary 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)
campaignConfig
- public CampaignConfig getCampaignConfig()
public CampaignUpdateSummary withCampaignConfig(CampaignConfig campaignConfig)
campaignConfig
- public void setStatus(String status)
The status of the campaign update.
A campaign update 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 campaign update.
A campaign update 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 campaign update.
A campaign update can be in one of the following states:
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
DELETE PENDING > DELETE IN_PROGRESS
A campaign update can be in one of the following states:
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
DELETE PENDING > DELETE IN_PROGRESS
public CampaignUpdateSummary withStatus(String status)
The status of the campaign update.
A campaign update 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 campaign update.
A campaign update 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 campaign update fails, the reason behind the failure.
failureReason
- If a campaign update fails, the reason behind the failure.public String getFailureReason()
If a campaign update fails, the reason behind the failure.
public CampaignUpdateSummary withFailureReason(String failureReason)
If a campaign update fails, the reason behind the failure.
failureReason
- If a campaign update fails, the reason behind the failure.public void setCreationDateTime(Date creationDateTime)
The date and time (in Unix time) that the campaign update was created.
creationDateTime
- The date and time (in Unix time) that the campaign update was created.public Date getCreationDateTime()
The date and time (in Unix time) that the campaign update was created.
public CampaignUpdateSummary withCreationDateTime(Date creationDateTime)
The date and time (in Unix time) that the campaign update was created.
creationDateTime
- The date and time (in Unix time) that the campaign update was created.public void setLastUpdatedDateTime(Date lastUpdatedDateTime)
The date and time (in Unix time) that the campaign update was last updated.
lastUpdatedDateTime
- The date and time (in Unix time) that the campaign update was last updated.public Date getLastUpdatedDateTime()
The date and time (in Unix time) that the campaign update was last updated.
public CampaignUpdateSummary withLastUpdatedDateTime(Date lastUpdatedDateTime)
The date and time (in Unix time) that the campaign update was last updated.
lastUpdatedDateTime
- The date and time (in Unix time) that the campaign update was last updated.public String toString()
toString
in class Object
Object.toString()
public CampaignUpdateSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.