@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAudienceModelsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListAudienceModelsResult() |
Modifier and Type | Method and Description |
---|---|
ListAudienceModelsResult |
clone() |
boolean |
equals(Object obj) |
List<AudienceModelSummary> |
getAudienceModels()
The audience models that match the request.
|
String |
getNextToken()
The token value retrieved from a previous call to access the next page of results.
|
int |
hashCode() |
void |
setAudienceModels(Collection<AudienceModelSummary> audienceModels)
The audience models that match the request.
|
void |
setNextToken(String nextToken)
The token value retrieved from a previous call to access the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
ListAudienceModelsResult |
withAudienceModels(AudienceModelSummary... audienceModels)
The audience models that match the request.
|
ListAudienceModelsResult |
withAudienceModels(Collection<AudienceModelSummary> audienceModels)
The audience models that match the request.
|
ListAudienceModelsResult |
withNextToken(String nextToken)
The token value retrieved from a previous call to access the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
The token value retrieved from a previous call to access the next page of results.
nextToken
- The token value retrieved from a previous call to access the next page of results.public String getNextToken()
The token value retrieved from a previous call to access the next page of results.
public ListAudienceModelsResult withNextToken(String nextToken)
The token value retrieved from a previous call to access the next page of results.
nextToken
- The token value retrieved from a previous call to access the next page of results.public List<AudienceModelSummary> getAudienceModels()
The audience models that match the request.
public void setAudienceModels(Collection<AudienceModelSummary> audienceModels)
The audience models that match the request.
audienceModels
- The audience models that match the request.public ListAudienceModelsResult withAudienceModels(AudienceModelSummary... audienceModels)
The audience models that match the request.
NOTE: This method appends the values to the existing list (if any). Use
setAudienceModels(java.util.Collection)
or withAudienceModels(java.util.Collection)
if you want
to override the existing values.
audienceModels
- The audience models that match the request.public ListAudienceModelsResult withAudienceModels(Collection<AudienceModelSummary> audienceModels)
The audience models that match the request.
audienceModels
- The audience models that match the request.public String toString()
toString
in class Object
Object.toString()
public ListAudienceModelsResult clone()