@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPermissionGroupsByUserResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListPermissionGroupsByUserResult() |
Modifier and Type | Method and Description |
---|---|
ListPermissionGroupsByUserResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
A token that indicates where a results page should begin.
|
List<PermissionGroupByUser> |
getPermissionGroups()
A list of returned permission groups.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A token that indicates where a results page should begin.
|
void |
setPermissionGroups(Collection<PermissionGroupByUser> permissionGroups)
A list of returned permission groups.
|
String |
toString()
Returns a string representation of this object.
|
ListPermissionGroupsByUserResult |
withNextToken(String nextToken)
A token that indicates where a results page should begin.
|
ListPermissionGroupsByUserResult |
withPermissionGroups(Collection<PermissionGroupByUser> permissionGroups)
A list of returned permission groups.
|
ListPermissionGroupsByUserResult |
withPermissionGroups(PermissionGroupByUser... permissionGroups)
A list of returned permission groups.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<PermissionGroupByUser> getPermissionGroups()
A list of returned permission groups.
public void setPermissionGroups(Collection<PermissionGroupByUser> permissionGroups)
A list of returned permission groups.
permissionGroups
- A list of returned permission groups.public ListPermissionGroupsByUserResult withPermissionGroups(PermissionGroupByUser... permissionGroups)
A list of returned permission groups.
NOTE: This method appends the values to the existing list (if any). Use
setPermissionGroups(java.util.Collection)
or withPermissionGroups(java.util.Collection)
if you
want to override the existing values.
permissionGroups
- A list of returned permission groups.public ListPermissionGroupsByUserResult withPermissionGroups(Collection<PermissionGroupByUser> permissionGroups)
A list of returned permission groups.
permissionGroups
- A list of returned permission groups.public void setNextToken(String nextToken)
A token that indicates where a results page should begin.
nextToken
- A token that indicates where a results page should begin.public String getNextToken()
A token that indicates where a results page should begin.
public ListPermissionGroupsByUserResult withNextToken(String nextToken)
A token that indicates where a results page should begin.
nextToken
- A token that indicates where a results page should begin.public String toString()
toString
in class Object
Object.toString()
public ListPermissionGroupsByUserResult clone()