@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListCampaignsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListCampaignsResult() |
| Modifier and Type | Method and Description |
|---|---|
ListCampaignsResult |
clone() |
boolean |
equals(Object obj) |
List<CampaignSummary> |
getCampaignSummaries()
A summary of information about each campaign.
|
String |
getNextToken()
The token to retrieve the next set of results, or
null if there are no more results. |
int |
hashCode() |
void |
setCampaignSummaries(Collection<CampaignSummary> campaignSummaries)
A summary of information about each campaign.
|
void |
setNextToken(String nextToken)
The token to retrieve the next set of results, or
null if there are no more results. |
String |
toString()
Returns a string representation of this object.
|
ListCampaignsResult |
withCampaignSummaries(CampaignSummary... campaignSummaries)
A summary of information about each campaign.
|
ListCampaignsResult |
withCampaignSummaries(Collection<CampaignSummary> campaignSummaries)
A summary of information about each campaign.
|
ListCampaignsResult |
withNextToken(String nextToken)
The token to retrieve the next set of results, or
null if there are no more results. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<CampaignSummary> getCampaignSummaries()
A summary of information about each campaign.
public void setCampaignSummaries(Collection<CampaignSummary> campaignSummaries)
A summary of information about each campaign.
campaignSummaries - A summary of information about each campaign.public ListCampaignsResult withCampaignSummaries(CampaignSummary... campaignSummaries)
A summary of information about each campaign.
NOTE: This method appends the values to the existing list (if any). Use
setCampaignSummaries(java.util.Collection) or withCampaignSummaries(java.util.Collection) if
you want to override the existing values.
campaignSummaries - A summary of information about each campaign.public ListCampaignsResult withCampaignSummaries(Collection<CampaignSummary> campaignSummaries)
A summary of information about each campaign.
campaignSummaries - A summary of information about each campaign.public void setNextToken(String nextToken)
The token to retrieve the next set of results, or null if there are no more results.
nextToken - The token to retrieve the next set of results, or null if there are no more results.public String getNextToken()
The token to retrieve the next set of results, or null if there are no more results.
null if there are no more results.public ListCampaignsResult withNextToken(String nextToken)
The token to retrieve the next set of results, or null if there are no more results.
nextToken - The token to retrieve the next set of results, or null if there are no more results.public String toString()
toString in class ObjectObject.toString()public ListCampaignsResult clone()