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