public class ActivityResponse
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
ActivityResponse() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getApplicationId()
The ID of the application to which the campaign applies.
|
java.lang.String |
getCampaignId()
The ID of the campaign to which the activity applies.
|
java.lang.String |
getEnd()
The actual time the activity was marked CANCELLED or COMPLETED.
|
java.lang.String |
getId()
The unique activity ID.
|
java.lang.String |
getResult()
Indicates whether the activity succeeded.
|
java.lang.String |
getScheduledStart()
The scheduled start time for the activity in ISO 8601 format.
|
java.lang.String |
getStart()
The actual start time of the activity in ISO 8601 format.
|
java.lang.String |
getState()
The state of the activity.
|
java.lang.Integer |
getSuccessfulEndpointCount()
The total number of endpoints to which the campaign successfully
delivered messages.
|
java.lang.Integer |
getTimezonesCompletedCount()
The total number of timezones completed.
|
java.lang.Integer |
getTimezonesTotalCount()
The total number of unique timezones present in the segment.
|
java.lang.Integer |
getTotalEndpointCount()
The total number of endpoints to which the campaign attempts to deliver
messages.
|
java.lang.String |
getTreatmentId()
The ID of a variation of the campaign used for A/B testing.
|
int |
hashCode() |
void |
setApplicationId(java.lang.String applicationId)
The ID of the application to which the campaign applies.
|
void |
setCampaignId(java.lang.String campaignId)
The ID of the campaign to which the activity applies.
|
void |
setEnd(java.lang.String end)
The actual time the activity was marked CANCELLED or COMPLETED.
|
void |
setId(java.lang.String id)
The unique activity ID.
|
void |
setResult(java.lang.String result)
Indicates whether the activity succeeded.
|
void |
setScheduledStart(java.lang.String scheduledStart)
The scheduled start time for the activity in ISO 8601 format.
|
void |
setStart(java.lang.String start)
The actual start time of the activity in ISO 8601 format.
|
void |
setState(java.lang.String state)
The state of the activity.
|
void |
setSuccessfulEndpointCount(java.lang.Integer successfulEndpointCount)
The total number of endpoints to which the campaign successfully
delivered messages.
|
void |
setTimezonesCompletedCount(java.lang.Integer timezonesCompletedCount)
The total number of timezones completed.
|
void |
setTimezonesTotalCount(java.lang.Integer timezonesTotalCount)
The total number of unique timezones present in the segment.
|
void |
setTotalEndpointCount(java.lang.Integer totalEndpointCount)
The total number of endpoints to which the campaign attempts to deliver
messages.
|
void |
setTreatmentId(java.lang.String treatmentId)
The ID of a variation of the campaign used for A/B testing.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ActivityResponse |
withApplicationId(java.lang.String applicationId)
The ID of the application to which the campaign applies.
|
ActivityResponse |
withCampaignId(java.lang.String campaignId)
The ID of the campaign to which the activity applies.
|
ActivityResponse |
withEnd(java.lang.String end)
The actual time the activity was marked CANCELLED or COMPLETED.
|
ActivityResponse |
withId(java.lang.String id)
The unique activity ID.
|
ActivityResponse |
withResult(java.lang.String result)
Indicates whether the activity succeeded.
|
ActivityResponse |
withScheduledStart(java.lang.String scheduledStart)
The scheduled start time for the activity in ISO 8601 format.
|
ActivityResponse |
withStart(java.lang.String start)
The actual start time of the activity in ISO 8601 format.
|
ActivityResponse |
withState(java.lang.String state)
The state of the activity.
|
ActivityResponse |
withSuccessfulEndpointCount(java.lang.Integer successfulEndpointCount)
The total number of endpoints to which the campaign successfully
delivered messages.
|
ActivityResponse |
withTimezonesCompletedCount(java.lang.Integer timezonesCompletedCount)
The total number of timezones completed.
|
ActivityResponse |
withTimezonesTotalCount(java.lang.Integer timezonesTotalCount)
The total number of unique timezones present in the segment.
|
ActivityResponse |
withTotalEndpointCount(java.lang.Integer totalEndpointCount)
The total number of endpoints to which the campaign attempts to deliver
messages.
|
ActivityResponse |
withTreatmentId(java.lang.String treatmentId)
The ID of a variation of the campaign used for A/B testing.
|
public java.lang.String getApplicationId()
public void setApplicationId(java.lang.String applicationId)
applicationId - The ID of the application to which the campaign
applies.public ActivityResponse withApplicationId(java.lang.String applicationId)
Returns a reference to this object so that method calls can be chained together.
applicationId - The ID of the application to which the campaign
applies.public java.lang.String getCampaignId()
public void setCampaignId(java.lang.String campaignId)
campaignId - The ID of the campaign to which the activity applies.public ActivityResponse withCampaignId(java.lang.String campaignId)
Returns a reference to this object so that method calls can be chained together.
campaignId - The ID of the campaign to which the activity applies.public java.lang.String getEnd()
public void setEnd(java.lang.String end)
end - The actual time the activity was marked CANCELLED or
COMPLETED. Provided in ISO 8601 format.public ActivityResponse withEnd(java.lang.String end)
Returns a reference to this object so that method calls can be chained together.
end - The actual time the activity was marked CANCELLED or
COMPLETED. Provided in ISO 8601 format.public java.lang.String getId()
public void setId(java.lang.String id)
id - The unique activity ID.public ActivityResponse withId(java.lang.String id)
Returns a reference to this object so that method calls can be chained together.
id - The unique activity ID.public java.lang.String getResult()
public void setResult(java.lang.String result)
result - Indicates whether the activity succeeded. Valid values:
SUCCESS, FAILpublic ActivityResponse withResult(java.lang.String result)
Returns a reference to this object so that method calls can be chained together.
result - Indicates whether the activity succeeded. Valid values:
SUCCESS, FAILpublic java.lang.String getScheduledStart()
public void setScheduledStart(java.lang.String scheduledStart)
scheduledStart - The scheduled start time for the activity in ISO
8601 format.public ActivityResponse withScheduledStart(java.lang.String scheduledStart)
Returns a reference to this object so that method calls can be chained together.
scheduledStart - The scheduled start time for the activity in ISO
8601 format.public java.lang.String getStart()
public void setStart(java.lang.String start)
start - The actual start time of the activity in ISO 8601 format.public ActivityResponse withStart(java.lang.String start)
Returns a reference to this object so that method calls can be chained together.
start - The actual start time of the activity in ISO 8601 format.public java.lang.String getState()
public void setState(java.lang.String state)
state - The state of the activity. Valid values: PENDING,
INITIALIZING, RUNNING, PAUSED, CANCELLED, COMPLETEDpublic ActivityResponse withState(java.lang.String state)
Returns a reference to this object so that method calls can be chained together.
state - The state of the activity. Valid values: PENDING,
INITIALIZING, RUNNING, PAUSED, CANCELLED, COMPLETEDpublic java.lang.Integer getSuccessfulEndpointCount()
public void setSuccessfulEndpointCount(java.lang.Integer successfulEndpointCount)
successfulEndpointCount - The total number of endpoints to which the
campaign successfully delivered messages.public ActivityResponse withSuccessfulEndpointCount(java.lang.Integer successfulEndpointCount)
Returns a reference to this object so that method calls can be chained together.
successfulEndpointCount - The total number of endpoints to which the
campaign successfully delivered messages.public java.lang.Integer getTimezonesCompletedCount()
public void setTimezonesCompletedCount(java.lang.Integer timezonesCompletedCount)
timezonesCompletedCount - The total number of timezones completed.public ActivityResponse withTimezonesCompletedCount(java.lang.Integer timezonesCompletedCount)
Returns a reference to this object so that method calls can be chained together.
timezonesCompletedCount - The total number of timezones completed.public java.lang.Integer getTimezonesTotalCount()
public void setTimezonesTotalCount(java.lang.Integer timezonesTotalCount)
timezonesTotalCount - The total number of unique timezones present
in the segment.public ActivityResponse withTimezonesTotalCount(java.lang.Integer timezonesTotalCount)
Returns a reference to this object so that method calls can be chained together.
timezonesTotalCount - The total number of unique timezones present
in the segment.public java.lang.Integer getTotalEndpointCount()
public void setTotalEndpointCount(java.lang.Integer totalEndpointCount)
totalEndpointCount - The total number of endpoints to which the
campaign attempts to deliver messages.public ActivityResponse withTotalEndpointCount(java.lang.Integer totalEndpointCount)
Returns a reference to this object so that method calls can be chained together.
totalEndpointCount - The total number of endpoints to which the
campaign attempts to deliver messages.public java.lang.String getTreatmentId()
public void setTreatmentId(java.lang.String treatmentId)
treatmentId - The ID of a variation of the campaign used for A/B
testing.public ActivityResponse withTreatmentId(java.lang.String treatmentId)
Returns a reference to this object so that method calls can be chained together.
treatmentId - The ID of a variation of the campaign used for A/B
testing.public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.