public class GetGroupResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the response to a successful GetGroup request.
Modifier and Type | Field and Description |
---|---|
private Group |
group
A structure that contains details about the group.
|
private java.lang.Boolean |
isTruncated
A flag that indicates whether there are more items to return.
|
private java.lang.String |
marker
When
IsTruncated is true , this element is
present and contains the value to use for the Marker
parameter in a subsequent pagination request. |
private SdkInternalList<User> |
users
A list of users in the group.
|
Constructor and Description |
---|
GetGroupResult() |
Modifier and Type | Method and Description |
---|---|
GetGroupResult |
clone() |
boolean |
equals(java.lang.Object obj) |
Group |
getGroup()
A structure that contains details about the group.
|
java.lang.Boolean |
getIsTruncated()
A flag that indicates whether there are more items to return.
|
java.lang.String |
getMarker()
When
IsTruncated is true , this element is
present and contains the value to use for the Marker
parameter in a subsequent pagination request. |
java.util.List<User> |
getUsers()
A list of users in the group.
|
int |
hashCode() |
java.lang.Boolean |
isTruncated()
A flag that indicates whether there are more items to return.
|
void |
setGroup(Group group)
A structure that contains details about the group.
|
void |
setIsTruncated(java.lang.Boolean isTruncated)
A flag that indicates whether there are more items to return.
|
void |
setMarker(java.lang.String marker)
When
IsTruncated is true , this element is
present and contains the value to use for the Marker
parameter in a subsequent pagination request. |
void |
setUsers(java.util.Collection<User> users)
A list of users in the group.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetGroupResult |
withGroup(Group group)
A structure that contains details about the group.
|
GetGroupResult |
withIsTruncated(java.lang.Boolean isTruncated)
A flag that indicates whether there are more items to return.
|
GetGroupResult |
withMarker(java.lang.String marker)
When
IsTruncated is true , this element is
present and contains the value to use for the Marker
parameter in a subsequent pagination request. |
GetGroupResult |
withUsers(java.util.Collection<User> users)
A list of users in the group.
|
GetGroupResult |
withUsers(User... users)
A list of users in the group.
|
private Group group
A structure that contains details about the group.
private SdkInternalList<User> users
A list of users in the group.
private java.lang.Boolean isTruncated
A flag that indicates whether there are more items to return. If your
results were truncated, you can make a subsequent pagination request
using the Marker
request parameter to retrieve more items.
Note that IAM might return fewer than the MaxItems
number of
results even when there are more results available. We recommend that you
check IsTruncated
after every call to ensure that you
receive all of your results.
private java.lang.String marker
When IsTruncated
is true
, this element is
present and contains the value to use for the Marker
parameter in a subsequent pagination request.
public void setGroup(Group group)
A structure that contains details about the group.
group
- A structure that contains details about the group.public Group getGroup()
A structure that contains details about the group.
public GetGroupResult withGroup(Group group)
A structure that contains details about the group.
group
- A structure that contains details about the group.public java.util.List<User> getUsers()
A list of users in the group.
public void setUsers(java.util.Collection<User> users)
A list of users in the group.
users
- A list of users in the group.public GetGroupResult withUsers(User... users)
A list of users in the group.
NOTE: This method appends the values to the existing list (if
any). Use setUsers(java.util.Collection)
or
withUsers(java.util.Collection)
if you want to override the
existing values.
users
- A list of users in the group.public GetGroupResult withUsers(java.util.Collection<User> users)
A list of users in the group.
users
- A list of users in the group.public void setIsTruncated(java.lang.Boolean isTruncated)
A flag that indicates whether there are more items to return. If your
results were truncated, you can make a subsequent pagination request
using the Marker
request parameter to retrieve more items.
Note that IAM might return fewer than the MaxItems
number of
results even when there are more results available. We recommend that you
check IsTruncated
after every call to ensure that you
receive all of your results.
isTruncated
- A flag that indicates whether there are more items to return. If
your results were truncated, you can make a subsequent pagination
request using the Marker
request parameter to
retrieve more items. Note that IAM might return fewer than the
MaxItems
number of results even when there are more
results available. We recommend that you check
IsTruncated
after every call to ensure that you
receive all of your results.public java.lang.Boolean getIsTruncated()
A flag that indicates whether there are more items to return. If your
results were truncated, you can make a subsequent pagination request
using the Marker
request parameter to retrieve more items.
Note that IAM might return fewer than the MaxItems
number of
results even when there are more results available. We recommend that you
check IsTruncated
after every call to ensure that you
receive all of your results.
Marker
request parameter to
retrieve more items. Note that IAM might return fewer than the
MaxItems
number of results even when there are more
results available. We recommend that you check
IsTruncated
after every call to ensure that you
receive all of your results.public GetGroupResult withIsTruncated(java.lang.Boolean isTruncated)
A flag that indicates whether there are more items to return. If your
results were truncated, you can make a subsequent pagination request
using the Marker
request parameter to retrieve more items.
Note that IAM might return fewer than the MaxItems
number of
results even when there are more results available. We recommend that you
check IsTruncated
after every call to ensure that you
receive all of your results.
isTruncated
- A flag that indicates whether there are more items to return. If
your results were truncated, you can make a subsequent pagination
request using the Marker
request parameter to
retrieve more items. Note that IAM might return fewer than the
MaxItems
number of results even when there are more
results available. We recommend that you check
IsTruncated
after every call to ensure that you
receive all of your results.public java.lang.Boolean isTruncated()
A flag that indicates whether there are more items to return. If your
results were truncated, you can make a subsequent pagination request
using the Marker
request parameter to retrieve more items.
Note that IAM might return fewer than the MaxItems
number of
results even when there are more results available. We recommend that you
check IsTruncated
after every call to ensure that you
receive all of your results.
Marker
request parameter to
retrieve more items. Note that IAM might return fewer than the
MaxItems
number of results even when there are more
results available. We recommend that you check
IsTruncated
after every call to ensure that you
receive all of your results.public void setMarker(java.lang.String marker)
When IsTruncated
is true
, this element is
present and contains the value to use for the Marker
parameter in a subsequent pagination request.
marker
- When IsTruncated
is true
, this element
is present and contains the value to use for the
Marker
parameter in a subsequent pagination request.public java.lang.String getMarker()
When IsTruncated
is true
, this element is
present and contains the value to use for the Marker
parameter in a subsequent pagination request.
IsTruncated
is true
, this element
is present and contains the value to use for the
Marker
parameter in a subsequent pagination request.public GetGroupResult withMarker(java.lang.String marker)
When IsTruncated
is true
, this element is
present and contains the value to use for the Marker
parameter in a subsequent pagination request.
marker
- When IsTruncated
is true
, this element
is present and contains the value to use for the
Marker
parameter in a subsequent pagination request.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public GetGroupResult clone()
clone
in class java.lang.Object