@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAccountRolesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListAccountRolesResult() |
Modifier and Type | Method and Description |
---|---|
ListAccountRolesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The page token client that is used to retrieve the list of accounts.
|
List<RoleInfo> |
getRoleList()
A paginated response with the list of roles and the next token if more results are available.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The page token client that is used to retrieve the list of accounts.
|
void |
setRoleList(Collection<RoleInfo> roleList)
A paginated response with the list of roles and the next token if more results are available.
|
String |
toString()
Returns a string representation of this object.
|
ListAccountRolesResult |
withNextToken(String nextToken)
The page token client that is used to retrieve the list of accounts.
|
ListAccountRolesResult |
withRoleList(Collection<RoleInfo> roleList)
A paginated response with the list of roles and the next token if more results are available.
|
ListAccountRolesResult |
withRoleList(RoleInfo... roleList)
A paginated response with the list of roles and the next token if more results are available.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
The page token client that is used to retrieve the list of accounts.
nextToken
- The page token client that is used to retrieve the list of accounts.public String getNextToken()
The page token client that is used to retrieve the list of accounts.
public ListAccountRolesResult withNextToken(String nextToken)
The page token client that is used to retrieve the list of accounts.
nextToken
- The page token client that is used to retrieve the list of accounts.public List<RoleInfo> getRoleList()
A paginated response with the list of roles and the next token if more results are available.
public void setRoleList(Collection<RoleInfo> roleList)
A paginated response with the list of roles and the next token if more results are available.
roleList
- A paginated response with the list of roles and the next token if more results are available.public ListAccountRolesResult withRoleList(RoleInfo... roleList)
A paginated response with the list of roles and the next token if more results are available.
NOTE: This method appends the values to the existing list (if any). Use
setRoleList(java.util.Collection)
or withRoleList(java.util.Collection)
if you want to override
the existing values.
roleList
- A paginated response with the list of roles and the next token if more results are available.public ListAccountRolesResult withRoleList(Collection<RoleInfo> roleList)
A paginated response with the list of roles and the next token if more results are available.
roleList
- A paginated response with the list of roles and the next token if more results are available.public String toString()
toString
in class Object
Object.toString()
public ListAccountRolesResult clone()