@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAccountsForProvisionedPermissionSetResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListAccountsForProvisionedPermissionSetResult() |
Modifier and Type | Method and Description |
---|---|
ListAccountsForProvisionedPermissionSetResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAccountIds()
The list of Amazon Web Services
AccountIds . |
String |
getNextToken()
The pagination token for the list API.
|
int |
hashCode() |
void |
setAccountIds(Collection<String> accountIds)
The list of Amazon Web Services
AccountIds . |
void |
setNextToken(String nextToken)
The pagination token for the list API.
|
String |
toString()
Returns a string representation of this object.
|
ListAccountsForProvisionedPermissionSetResult |
withAccountIds(Collection<String> accountIds)
The list of Amazon Web Services
AccountIds . |
ListAccountsForProvisionedPermissionSetResult |
withAccountIds(String... accountIds)
The list of Amazon Web Services
AccountIds . |
ListAccountsForProvisionedPermissionSetResult |
withNextToken(String nextToken)
The pagination token for the list API.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public ListAccountsForProvisionedPermissionSetResult()
public List<String> getAccountIds()
The list of Amazon Web Services AccountIds
.
AccountIds
.public void setAccountIds(Collection<String> accountIds)
The list of Amazon Web Services AccountIds
.
accountIds
- The list of Amazon Web Services AccountIds
.public ListAccountsForProvisionedPermissionSetResult withAccountIds(String... accountIds)
The list of Amazon Web Services AccountIds
.
NOTE: This method appends the values to the existing list (if any). Use
setAccountIds(java.util.Collection)
or withAccountIds(java.util.Collection)
if you want to
override the existing values.
accountIds
- The list of Amazon Web Services AccountIds
.public ListAccountsForProvisionedPermissionSetResult withAccountIds(Collection<String> accountIds)
The list of Amazon Web Services AccountIds
.
accountIds
- The list of Amazon Web Services AccountIds
.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 ListAccountsForProvisionedPermissionSetResult 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 String toString()
toString
in class Object
Object.toString()
public ListAccountsForProvisionedPermissionSetResult clone()