@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ActivityResponse extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
ActivityResponse() |
| Modifier and Type | Method and Description |
|---|---|
ActivityResponse |
clone() |
boolean |
equals(Object obj) |
String |
getApplicationId()
The ID of the application to which the campaign applies.
|
String |
getCampaignId()
The ID of the campaign to which the activity applies.
|
String |
getEnd()
The actual time the activity was marked CANCELLED or COMPLETED.
|
String |
getId()
The unique activity ID.
|
String |
getResult()
Indicates whether the activity succeeded.
|
String |
getScheduledStart()
The scheduled start time for the activity in ISO 8601 format.
|
String |
getStart()
The actual start time of the activity in ISO 8601 format.
|
String |
getState()
The state of the activity.
|
Integer |
getSuccessfulEndpointCount()
The total number of endpoints to which the campaign successfully delivered messages.
|
Integer |
getTimezonesCompletedCount()
The total number of timezones completed.
|
Integer |
getTimezonesTotalCount()
The total number of unique timezones present in the segment.
|
Integer |
getTotalEndpointCount()
The total number of endpoints to which the campaign attempts to deliver messages.
|
String |
getTreatmentId()
The ID of a variation of the campaign used for A/B testing.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setApplicationId(String applicationId)
The ID of the application to which the campaign applies.
|
void |
setCampaignId(String campaignId)
The ID of the campaign to which the activity applies.
|
void |
setEnd(String end)
The actual time the activity was marked CANCELLED or COMPLETED.
|
void |
setId(String id)
The unique activity ID.
|
void |
setResult(String result)
Indicates whether the activity succeeded.
|
void |
setScheduledStart(String scheduledStart)
The scheduled start time for the activity in ISO 8601 format.
|
void |
setStart(String start)
The actual start time of the activity in ISO 8601 format.
|
void |
setState(String state)
The state of the activity.
|
void |
setSuccessfulEndpointCount(Integer successfulEndpointCount)
The total number of endpoints to which the campaign successfully delivered messages.
|
void |
setTimezonesCompletedCount(Integer timezonesCompletedCount)
The total number of timezones completed.
|
void |
setTimezonesTotalCount(Integer timezonesTotalCount)
The total number of unique timezones present in the segment.
|
void |
setTotalEndpointCount(Integer totalEndpointCount)
The total number of endpoints to which the campaign attempts to deliver messages.
|
void |
setTreatmentId(String treatmentId)
The ID of a variation of the campaign used for A/B testing.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ActivityResponse |
withApplicationId(String applicationId)
The ID of the application to which the campaign applies.
|
ActivityResponse |
withCampaignId(String campaignId)
The ID of the campaign to which the activity applies.
|
ActivityResponse |
withEnd(String end)
The actual time the activity was marked CANCELLED or COMPLETED.
|
ActivityResponse |
withId(String id)
The unique activity ID.
|
ActivityResponse |
withResult(String result)
Indicates whether the activity succeeded.
|
ActivityResponse |
withScheduledStart(String scheduledStart)
The scheduled start time for the activity in ISO 8601 format.
|
ActivityResponse |
withStart(String start)
The actual start time of the activity in ISO 8601 format.
|
ActivityResponse |
withState(String state)
The state of the activity.
|
ActivityResponse |
withSuccessfulEndpointCount(Integer successfulEndpointCount)
The total number of endpoints to which the campaign successfully delivered messages.
|
ActivityResponse |
withTimezonesCompletedCount(Integer timezonesCompletedCount)
The total number of timezones completed.
|
ActivityResponse |
withTimezonesTotalCount(Integer timezonesTotalCount)
The total number of unique timezones present in the segment.
|
ActivityResponse |
withTotalEndpointCount(Integer totalEndpointCount)
The total number of endpoints to which the campaign attempts to deliver messages.
|
ActivityResponse |
withTreatmentId(String treatmentId)
The ID of a variation of the campaign used for A/B testing.
|
public void setApplicationId(String applicationId)
applicationId - The ID of the application to which the campaign applies.public String getApplicationId()
public ActivityResponse withApplicationId(String applicationId)
applicationId - The ID of the application to which the campaign applies.public void setCampaignId(String campaignId)
campaignId - The ID of the campaign to which the activity applies.public String getCampaignId()
public ActivityResponse withCampaignId(String campaignId)
campaignId - The ID of the campaign to which the activity applies.public void setEnd(String end)
end - The actual time the activity was marked CANCELLED or COMPLETED. Provided in ISO 8601 format.public String getEnd()
public ActivityResponse withEnd(String end)
end - The actual time the activity was marked CANCELLED or COMPLETED. Provided in ISO 8601 format.public void setId(String id)
id - The unique activity ID.public String getId()
public ActivityResponse withId(String id)
id - The unique activity ID.public void setResult(String result)
result - Indicates whether the activity succeeded.
Valid values: SUCCESS, FAILpublic String getResult()
public ActivityResponse withResult(String result)
result - Indicates whether the activity succeeded.
Valid values: SUCCESS, FAILpublic void setScheduledStart(String scheduledStart)
scheduledStart - The scheduled start time for the activity in ISO 8601 format.public String getScheduledStart()
public ActivityResponse withScheduledStart(String scheduledStart)
scheduledStart - The scheduled start time for the activity in ISO 8601 format.public void setStart(String start)
start - The actual start time of the activity in ISO 8601 format.public String getStart()
public ActivityResponse withStart(String start)
start - The actual start time of the activity in ISO 8601 format.public void setState(String state)
state - The state of the activity.
Valid values: PENDING, INITIALIZING, RUNNING, PAUSED, CANCELLED, COMPLETEDpublic String getState()
public ActivityResponse withState(String state)
state - The state of the activity.
Valid values: PENDING, INITIALIZING, RUNNING, PAUSED, CANCELLED, COMPLETEDpublic void setSuccessfulEndpointCount(Integer successfulEndpointCount)
successfulEndpointCount - The total number of endpoints to which the campaign successfully delivered messages.public Integer getSuccessfulEndpointCount()
public ActivityResponse withSuccessfulEndpointCount(Integer successfulEndpointCount)
successfulEndpointCount - The total number of endpoints to which the campaign successfully delivered messages.public void setTimezonesCompletedCount(Integer timezonesCompletedCount)
timezonesCompletedCount - The total number of timezones completed.public Integer getTimezonesCompletedCount()
public ActivityResponse withTimezonesCompletedCount(Integer timezonesCompletedCount)
timezonesCompletedCount - The total number of timezones completed.public void setTimezonesTotalCount(Integer timezonesTotalCount)
timezonesTotalCount - The total number of unique timezones present in the segment.public Integer getTimezonesTotalCount()
public ActivityResponse withTimezonesTotalCount(Integer timezonesTotalCount)
timezonesTotalCount - The total number of unique timezones present in the segment.public void setTotalEndpointCount(Integer totalEndpointCount)
totalEndpointCount - The total number of endpoints to which the campaign attempts to deliver messages.public Integer getTotalEndpointCount()
public ActivityResponse withTotalEndpointCount(Integer totalEndpointCount)
totalEndpointCount - The total number of endpoints to which the campaign attempts to deliver messages.public void setTreatmentId(String treatmentId)
treatmentId - The ID of a variation of the campaign used for A/B testing.public String getTreatmentId()
public ActivityResponse withTreatmentId(String treatmentId)
treatmentId - The ID of a variation of the campaign used for A/B testing.public String toString()
toString in class ObjectObject.toString()public ActivityResponse clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.