@Generated(value="software.amazon.awssdk:codegen") public final class ListGroupsResponse extends ResourceGroupsResponse implements ToCopyableBuilder<ListGroupsResponse.Builder,ListGroupsResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ListGroupsResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ListGroupsResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
List<GroupIdentifier> |
groupIdentifiers()
A list of GroupIdentifier objects.
|
List<Group> |
groups()
This output element is deprecated and shouldn't be used.
|
boolean |
hasGroupIdentifiers()
Returns true if the GroupIdentifiers property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasGroups()
Returns true if the Groups property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
int |
hashCode() |
String |
nextToken()
If present, indicates that more output is available than is included in the current response.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListGroupsResponse.Builder> |
serializableBuilderClass() |
ListGroupsResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic boolean hasGroupIdentifiers()
public List<GroupIdentifier> groupIdentifiers()
A list of GroupIdentifier objects. Each identifier is an object that contains both the Name
and the GroupArn.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasGroupIdentifiers() to see if a value was sent in this field.
Name and the GroupArn.public boolean hasGroups()
public List<Group> groups()
This output element is deprecated and shouldn't be used. Refer to GroupIdentifiers instead.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasGroups() to see if a value was sent in this field.
GroupIdentifiers instead.public String nextToken()
If present, 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.
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.public ListGroupsResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ListGroupsResponse.Builder,ListGroupsResponse>toBuilder in class AwsResponsepublic static ListGroupsResponse.Builder builder()
public static Class<? extends ListGroupsResponse.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsResponsepublic boolean equals(Object obj)
equals in class AwsResponsepublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2020. All rights reserved.