@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAllowListsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListAllowListsResult() |
Modifier and Type | Method and Description |
---|---|
ListAllowListsResult |
clone() |
boolean |
equals(Object obj) |
List<AllowListSummary> |
getAllowLists()
An array of objects, one for each allow list.
|
String |
getNextToken()
The string to use in a subsequent request to get the next page of results in a paginated response.
|
int |
hashCode() |
void |
setAllowLists(Collection<AllowListSummary> allowLists)
An array of objects, one for each allow list.
|
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.
|
ListAllowListsResult |
withAllowLists(AllowListSummary... allowLists)
An array of objects, one for each allow list.
|
ListAllowListsResult |
withAllowLists(Collection<AllowListSummary> allowLists)
An array of objects, one for each allow list.
|
ListAllowListsResult |
withNextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<AllowListSummary> getAllowLists()
An array of objects, one for each allow list.
public void setAllowLists(Collection<AllowListSummary> allowLists)
An array of objects, one for each allow list.
allowLists
- An array of objects, one for each allow list.public ListAllowListsResult withAllowLists(AllowListSummary... allowLists)
An array of objects, one for each allow list.
NOTE: This method appends the values to the existing list (if any). Use
setAllowLists(java.util.Collection)
or withAllowLists(java.util.Collection)
if you want to
override the existing values.
allowLists
- An array of objects, one for each allow list.public ListAllowListsResult withAllowLists(Collection<AllowListSummary> allowLists)
An array of objects, one for each allow list.
allowLists
- An array of objects, one for each allow list.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 ListAllowListsResult 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 ListAllowListsResult clone()