@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CampaignsResponse extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about the configuration and other settings for all the campaigns that are associated with an application.
Constructor and Description |
---|
CampaignsResponse() |
Modifier and Type | Method and Description |
---|---|
CampaignsResponse |
clone() |
boolean |
equals(Object obj) |
List<CampaignResponse> |
getItem()
An array of responses, one for each campaign that's associated with the application.
|
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)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setItem(Collection<CampaignResponse> item)
An array of responses, one for each campaign that's associated with the application.
|
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.
|
CampaignsResponse |
withItem(CampaignResponse... item)
An array of responses, one for each campaign that's associated with the application.
|
CampaignsResponse |
withItem(Collection<CampaignResponse> item)
An array of responses, one for each campaign that's associated with the application.
|
CampaignsResponse |
withNextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response.
|
public List<CampaignResponse> getItem()
An array of responses, one for each campaign that's associated with the application.
public void setItem(Collection<CampaignResponse> item)
An array of responses, one for each campaign that's associated with the application.
item
- An array of responses, one for each campaign that's associated with the application.public CampaignsResponse withItem(CampaignResponse... item)
An array of responses, one for each campaign that's associated with the application.
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 campaign that's associated with the application.public CampaignsResponse withItem(Collection<CampaignResponse> item)
An array of responses, one for each campaign that's associated with the application.
item
- An array of responses, one for each campaign that's associated with the application.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 CampaignsResponse 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 CampaignsResponse clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.