@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeUserGroupsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeUserGroupsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeUserGroupsResult |
clone() |
boolean |
equals(Object obj) |
String |
getMarker()
An optional marker returned from a prior request.
|
List<UserGroup> |
getUserGroups()
Returns a list of user groups.
|
int |
hashCode() |
void |
setMarker(String marker)
An optional marker returned from a prior request.
|
void |
setUserGroups(Collection<UserGroup> userGroups)
Returns a list of user groups.
|
String |
toString()
Returns a string representation of this object.
|
DescribeUserGroupsResult |
withMarker(String marker)
An optional marker returned from a prior request.
|
DescribeUserGroupsResult |
withUserGroups(Collection<UserGroup> userGroups)
Returns a list of user groups.
|
DescribeUserGroupsResult |
withUserGroups(UserGroup... userGroups)
Returns a list of user groups.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<UserGroup> getUserGroups()
Returns a list of user groups.
public void setUserGroups(Collection<UserGroup> userGroups)
Returns a list of user groups.
userGroups
- Returns a list of user groups.public DescribeUserGroupsResult withUserGroups(UserGroup... userGroups)
Returns a list of user groups.
NOTE: This method appends the values to the existing list (if any). Use
setUserGroups(java.util.Collection)
or withUserGroups(java.util.Collection)
if you want to
override the existing values.
userGroups
- Returns a list of user groups.public DescribeUserGroupsResult withUserGroups(Collection<UserGroup> userGroups)
Returns a list of user groups.
userGroups
- Returns a list of user groups.public void setMarker(String marker)
An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.>
marker
- An optional marker returned from a prior request. Use this marker for pagination of results from this
operation. If this parameter is specified, the response includes only records beyond the marker, up to the
value specified by MaxRecords.>public String getMarker()
An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.>
public DescribeUserGroupsResult withMarker(String marker)
An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.>
marker
- An optional marker returned from a prior request. Use this marker for pagination of results from this
operation. If this parameter is specified, the response includes only records beyond the marker, up to the
value specified by MaxRecords.>public String toString()
toString
in class Object
Object.toString()
public DescribeUserGroupsResult clone()