@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPermissionSetsProvisionedToAccountResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListPermissionSetsProvisionedToAccountResult() |
Modifier and Type | Method and Description |
---|---|
ListPermissionSetsProvisionedToAccountResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The pagination token for the list API.
|
List<String> |
getPermissionSets()
Defines the level of access that an AWS account has.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The pagination token for the list API.
|
void |
setPermissionSets(Collection<String> permissionSets)
Defines the level of access that an AWS account has.
|
String |
toString()
Returns a string representation of this object.
|
ListPermissionSetsProvisionedToAccountResult |
withNextToken(String nextToken)
The pagination token for the list API.
|
ListPermissionSetsProvisionedToAccountResult |
withPermissionSets(Collection<String> permissionSets)
Defines the level of access that an AWS account has.
|
ListPermissionSetsProvisionedToAccountResult |
withPermissionSets(String... permissionSets)
Defines the level of access that an AWS account has.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public ListPermissionSetsProvisionedToAccountResult()
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 ListPermissionSetsProvisionedToAccountResult 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 that an AWS account has.
public void setPermissionSets(Collection<String> permissionSets)
Defines the level of access that an AWS account has.
permissionSets
- Defines the level of access that an AWS account has.public ListPermissionSetsProvisionedToAccountResult withPermissionSets(String... permissionSets)
Defines the level of access that an AWS account has.
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 that an AWS account has.public ListPermissionSetsProvisionedToAccountResult withPermissionSets(Collection<String> permissionSets)
Defines the level of access that an AWS account has.
permissionSets
- Defines the level of access that an AWS account has.public String toString()
toString
in class Object
Object.toString()
public ListPermissionSetsProvisionedToAccountResult clone()