@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CampaignsResponse extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
CampaignsResponse() |
Modifier and Type | Method and Description |
---|---|
CampaignsResponse |
clone() |
boolean |
equals(Object obj) |
List<CampaignResponse> |
getItem()
A list of campaigns.
|
String |
getNextToken()
The string that you use in a subsequent request to get the next page of results in a paginated response.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setItem(Collection<CampaignResponse> item)
A list of campaigns.
|
void |
setNextToken(String nextToken)
The string that you 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; useful for testing and debugging.
|
CampaignsResponse |
withItem(CampaignResponse... item)
A list of campaigns.
|
CampaignsResponse |
withItem(Collection<CampaignResponse> item)
A list of campaigns.
|
CampaignsResponse |
withNextToken(String nextToken)
The string that you use in a subsequent request to get the next page of results in a paginated response.
|
public List<CampaignResponse> getItem()
public void setItem(Collection<CampaignResponse> item)
item
- A list of campaigns.public CampaignsResponse withItem(CampaignResponse... item)
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
- A list of campaigns.public CampaignsResponse withItem(Collection<CampaignResponse> item)
item
- A list of campaigns.public void setNextToken(String nextToken)
nextToken
- The string that you use in a subsequent request to get the next page of results in a paginated response.public String getNextToken()
public CampaignsResponse withNextToken(String nextToken)
nextToken
- The string that you use in a subsequent request to get the next page of results in a paginated response.public String toString()
toString
in class Object
Object.toString()
public CampaignsResponse clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.