@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeOptOutListsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeOptOutListsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeOptOutListsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to be used for the next set of paginated results.
|
List<OptOutListInformation> |
getOptOutLists()
An array of OptOutListInformation objects that contain the details for the requested OptOutLists.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to be used for the next set of paginated results.
|
void |
setOptOutLists(Collection<OptOutListInformation> optOutLists)
An array of OptOutListInformation objects that contain the details for the requested OptOutLists.
|
String |
toString()
Returns a string representation of this object.
|
DescribeOptOutListsResult |
withNextToken(String nextToken)
The token to be used for the next set of paginated results.
|
DescribeOptOutListsResult |
withOptOutLists(Collection<OptOutListInformation> optOutLists)
An array of OptOutListInformation objects that contain the details for the requested OptOutLists.
|
DescribeOptOutListsResult |
withOptOutLists(OptOutListInformation... optOutLists)
An array of OptOutListInformation objects that contain the details for the requested OptOutLists.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<OptOutListInformation> getOptOutLists()
An array of OptOutListInformation objects that contain the details for the requested OptOutLists.
public void setOptOutLists(Collection<OptOutListInformation> optOutLists)
An array of OptOutListInformation objects that contain the details for the requested OptOutLists.
optOutLists
- An array of OptOutListInformation objects that contain the details for the requested OptOutLists.public DescribeOptOutListsResult withOptOutLists(OptOutListInformation... optOutLists)
An array of OptOutListInformation objects that contain the details for the requested OptOutLists.
NOTE: This method appends the values to the existing list (if any). Use
setOptOutLists(java.util.Collection)
or withOptOutLists(java.util.Collection)
if you want to
override the existing values.
optOutLists
- An array of OptOutListInformation objects that contain the details for the requested OptOutLists.public DescribeOptOutListsResult withOptOutLists(Collection<OptOutListInformation> optOutLists)
An array of OptOutListInformation objects that contain the details for the requested OptOutLists.
optOutLists
- An array of OptOutListInformation objects that contain the details for the requested OptOutLists.public void setNextToken(String nextToken)
The token to be used for the next set of paginated results. If this field is empty then there are no more results.
nextToken
- The token to be used for the next set of paginated results. If this field is empty then there are no more
results.public String getNextToken()
The token to be used for the next set of paginated results. If this field is empty then there are no more results.
public DescribeOptOutListsResult withNextToken(String nextToken)
The token to be used for the next set of paginated results. If this field is empty then there are no more results.
nextToken
- The token to be used for the next set of paginated results. If this field is empty then there are no more
results.public String toString()
toString
in class Object
Object.toString()
public DescribeOptOutListsResult clone()