@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPermissionSetsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListPermissionSetsResult() |
Modifier and Type | Method and Description |
---|---|
ListPermissionSetsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The pagination token for the list API.
|
List<String> |
getPermissionSets()
Defines the level of access on an Amazon Web Services account.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The pagination token for the list API.
|
void |
setPermissionSets(Collection<String> permissionSets)
Defines the level of access on an Amazon Web Services account.
|
String |
toString()
Returns a string representation of this object.
|
ListPermissionSetsResult |
withNextToken(String nextToken)
The pagination token for the list API.
|
ListPermissionSetsResult |
withPermissionSets(Collection<String> permissionSets)
Defines the level of access on an Amazon Web Services account.
|
ListPermissionSetsResult |
withPermissionSets(String... permissionSets)
Defines the level of access on an Amazon Web Services account.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
nextToken
- The pagination token for the list API. Initially the value is null. Use the output of previous API calls
to make subsequent calls.public String getNextToken()
The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
public ListPermissionSetsResult withNextToken(String nextToken)
The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
nextToken
- The pagination token for the list API. Initially the value is null. Use the output of previous API calls
to make subsequent calls.public List<String> getPermissionSets()
Defines the level of access on an Amazon Web Services account.
public void setPermissionSets(Collection<String> permissionSets)
Defines the level of access on an Amazon Web Services account.
permissionSets
- Defines the level of access on an Amazon Web Services account.public ListPermissionSetsResult withPermissionSets(String... permissionSets)
Defines the level of access on an Amazon Web Services account.
NOTE: This method appends the values to the existing list (if any). Use
setPermissionSets(java.util.Collection)
or withPermissionSets(java.util.Collection)
if you want
to override the existing values.
permissionSets
- Defines the level of access on an Amazon Web Services account.public ListPermissionSetsResult withPermissionSets(Collection<String> permissionSets)
Defines the level of access on an Amazon Web Services account.
permissionSets
- Defines the level of access on an Amazon Web Services account.public String toString()
toString
in class Object
Object.toString()
public ListPermissionSetsResult clone()