@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()
A list of resource groups.
|
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()
The NextToken value to include in a subsequent
ListGroups request, to get more results. |
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 GroupName 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.
public boolean hasGroups()
public List<Group> groups()
A list of resource groups.
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.
public String nextToken()
The NextToken value to include in a subsequent ListGroups request, to get more results.
ListGroups request, to get more results.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 © 2019. All rights reserved.