@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ActivitiesResponse extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about the activities that were performed by a campaign.
Constructor and Description |
---|
ActivitiesResponse() |
Modifier and Type | Method and Description |
---|---|
ActivitiesResponse |
clone() |
boolean |
equals(Object obj) |
List<ActivityResponse> |
getItem()
An array of responses, one for each activity that was performed by the campaign.
|
String |
getNextToken()
The string to use in a subsequent request to get the next page of results in a paginated response.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setItem(Collection<ActivityResponse> item)
An array of responses, one for each activity that was performed by the campaign.
|
void |
setNextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response.
|
String |
toString()
Returns a string representation of this object.
|
ActivitiesResponse |
withItem(ActivityResponse... item)
An array of responses, one for each activity that was performed by the campaign.
|
ActivitiesResponse |
withItem(Collection<ActivityResponse> item)
An array of responses, one for each activity that was performed by the campaign.
|
ActivitiesResponse |
withNextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response.
|
public List<ActivityResponse> getItem()
An array of responses, one for each activity that was performed by the campaign.
public void setItem(Collection<ActivityResponse> item)
An array of responses, one for each activity that was performed by the campaign.
item
- An array of responses, one for each activity that was performed by the campaign.public ActivitiesResponse withItem(ActivityResponse... item)
An array of responses, one for each activity that was performed by the campaign.
NOTE: This method appends the values to the existing list (if any). Use
setItem(java.util.Collection)
or withItem(java.util.Collection)
if you want to override the
existing values.
item
- An array of responses, one for each activity that was performed by the campaign.public ActivitiesResponse withItem(Collection<ActivityResponse> item)
An array of responses, one for each activity that was performed by the campaign.
item
- An array of responses, one for each activity that was performed by the campaign.public void setNextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
nextToken
- The string to use in a subsequent request to get the next page of results in a paginated response. This
value is null if there are no additional pages.public String getNextToken()
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
public ActivitiesResponse withNextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
nextToken
- The string to use in a subsequent request to get the next page of results in a paginated response. This
value is null if there are no additional pages.public String toString()
toString
in class Object
Object.toString()
public ActivitiesResponse clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2023. All rights reserved.