@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAccountAssignmentsForPrincipalResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListAccountAssignmentsForPrincipalResult() |
Modifier and Type | Method and Description |
---|---|
ListAccountAssignmentsForPrincipalResult |
clone() |
boolean |
equals(Object obj) |
List<AccountAssignmentForPrincipal> |
getAccountAssignments()
An array list of the account assignments for the principal.
|
String |
getNextToken()
If present, this value indicates that more output is available than is included in the current response.
|
int |
hashCode() |
void |
setAccountAssignments(Collection<AccountAssignmentForPrincipal> accountAssignments)
An array list of the account assignments for the principal.
|
void |
setNextToken(String nextToken)
If present, this value indicates that more output is available than is included in the current response.
|
String |
toString()
Returns a string representation of this object.
|
ListAccountAssignmentsForPrincipalResult |
withAccountAssignments(AccountAssignmentForPrincipal... accountAssignments)
An array list of the account assignments for the principal.
|
ListAccountAssignmentsForPrincipalResult |
withAccountAssignments(Collection<AccountAssignmentForPrincipal> accountAssignments)
An array list of the account assignments for the principal.
|
ListAccountAssignmentsForPrincipalResult |
withNextToken(String nextToken)
If present, this value indicates that more output is available than is included in the current response.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public ListAccountAssignmentsForPrincipalResult()
public List<AccountAssignmentForPrincipal> getAccountAssignments()
An array list of the account assignments for the principal.
public void setAccountAssignments(Collection<AccountAssignmentForPrincipal> accountAssignments)
An array list of the account assignments for the principal.
accountAssignments
- An array list of the account assignments for the principal.public ListAccountAssignmentsForPrincipalResult withAccountAssignments(AccountAssignmentForPrincipal... accountAssignments)
An array list of the account assignments for the principal.
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
- An array list of the account assignments for the principal.public ListAccountAssignmentsForPrincipalResult withAccountAssignments(Collection<AccountAssignmentForPrincipal> accountAssignments)
An array list of the account assignments for the principal.
accountAssignments
- An array list of the account assignments for the principal.public void setNextToken(String nextToken)
If present, this value indicates that more output is available than is included in the current response. Use this
value in the NextToken
request parameter in a subsequent call to the operation to get the next part
of the output. You should repeat this until the NextToken
response element comes back as
null
. This indicates that this is the last page of results.
nextToken
- If present, this value indicates that more output is available than is included in the current response.
Use this value in the NextToken
request parameter in a subsequent call to the operation to
get the next part of the output. You should repeat this until the NextToken
response element
comes back as null
. This indicates that this is the last page of results.public String getNextToken()
If present, this value indicates that more output is available than is included in the current response. Use this
value in the NextToken
request parameter in a subsequent call to the operation to get the next part
of the output. You should repeat this until the NextToken
response element comes back as
null
. This indicates that this is the last page of results.
NextToken
request parameter in a subsequent call to the operation to
get the next part of the output. You should repeat this until the NextToken
response element
comes back as null
. This indicates that this is the last page of results.public ListAccountAssignmentsForPrincipalResult withNextToken(String nextToken)
If present, this value indicates that more output is available than is included in the current response. Use this
value in the NextToken
request parameter in a subsequent call to the operation to get the next part
of the output. You should repeat this until the NextToken
response element comes back as
null
. This indicates that this is the last page of results.
nextToken
- If present, this value indicates that more output is available than is included in the current response.
Use this value in the NextToken
request parameter in a subsequent call to the operation to
get the next part of the output. You should repeat this until the NextToken
response element
comes back as null
. This indicates that this is the last page of results.public String toString()
toString
in class Object
Object.toString()
public ListAccountAssignmentsForPrincipalResult clone()