@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetListsMetadataResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetListsMetadataResult() |
Modifier and Type | Method and Description |
---|---|
GetListsMetadataResult |
clone() |
boolean |
equals(Object obj) |
List<AllowDenyList> |
getLists()
The metadata of the specified list or all lists under the account.
|
String |
getNextToken()
The next page token.
|
int |
hashCode() |
void |
setLists(Collection<AllowDenyList> lists)
The metadata of the specified list or all lists under the account.
|
void |
setNextToken(String nextToken)
The next page token.
|
String |
toString()
Returns a string representation of this object.
|
GetListsMetadataResult |
withLists(AllowDenyList... lists)
The metadata of the specified list or all lists under the account.
|
GetListsMetadataResult |
withLists(Collection<AllowDenyList> lists)
The metadata of the specified list or all lists under the account.
|
GetListsMetadataResult |
withNextToken(String nextToken)
The next page token.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<AllowDenyList> getLists()
The metadata of the specified list or all lists under the account.
public void setLists(Collection<AllowDenyList> lists)
The metadata of the specified list or all lists under the account.
lists
- The metadata of the specified list or all lists under the account.public GetListsMetadataResult withLists(AllowDenyList... lists)
The metadata of the specified list or all lists under the account.
NOTE: This method appends the values to the existing list (if any). Use
setLists(java.util.Collection)
or withLists(java.util.Collection)
if you want to override the
existing values.
lists
- The metadata of the specified list or all lists under the account.public GetListsMetadataResult withLists(Collection<AllowDenyList> lists)
The metadata of the specified list or all lists under the account.
lists
- The metadata of the specified list or all lists under the account.public void setNextToken(String nextToken)
The next page token.
nextToken
- The next page token.public String getNextToken()
The next page token.
public GetListsMetadataResult withNextToken(String nextToken)
The next page token.
nextToken
- The next page token.public String toString()
toString
in class Object
Object.toString()
public GetListsMetadataResult clone()