@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> |
getCampaigns()
A list of the campaigns.
|
String |
getNextToken()
A token for getting the next set of campaigns (if they exist).
|
int |
hashCode() |
void |
setCampaigns(Collection<CampaignSummary> campaigns)
A list of the campaigns.
|
void |
setNextToken(String nextToken)
A token for getting the next set of campaigns (if they exist).
|
String |
toString()
Returns a string representation of this object.
|
ListCampaignsResult |
withCampaigns(CampaignSummary... campaigns)
A list of the campaigns.
|
ListCampaignsResult |
withCampaigns(Collection<CampaignSummary> campaigns)
A list of the campaigns.
|
ListCampaignsResult |
withNextToken(String nextToken)
A token for getting the next set of campaigns (if they exist).
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<CampaignSummary> getCampaigns()
A list of the campaigns.
public void setCampaigns(Collection<CampaignSummary> campaigns)
A list of the campaigns.
campaigns
- A list of the campaigns.public ListCampaignsResult withCampaigns(CampaignSummary... campaigns)
A list of the campaigns.
NOTE: This method appends the values to the existing list (if any). Use
setCampaigns(java.util.Collection)
or withCampaigns(java.util.Collection)
if you want to
override the existing values.
campaigns
- A list of the campaigns.public ListCampaignsResult withCampaigns(Collection<CampaignSummary> campaigns)
A list of the campaigns.
campaigns
- A list of the campaigns.public void setNextToken(String nextToken)
A token for getting the next set of campaigns (if they exist).
nextToken
- A token for getting the next set of campaigns (if they exist).public String getNextToken()
A token for getting the next set of campaigns (if they exist).
public ListCampaignsResult withNextToken(String nextToken)
A token for getting the next set of campaigns (if they exist).
nextToken
- A token for getting the next set of campaigns (if they exist).public String toString()
toString
in class Object
Object.toString()
public ListCampaignsResult clone()