@Generated(value="software.amazon.awssdk:codegen") public final class GroupFilter extends Object implements SdkPojo, Serializable, ToCopyableBuilder<GroupFilter.Builder,GroupFilter>
A filter name and value pair that is used to obtain more specific results from a list of groups.
| Modifier and Type | Class and Description |
|---|---|
static interface |
GroupFilter.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GroupFilter.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
GroupFilterName |
name()
The name of the filter.
|
String |
nameAsString()
The name of the filter.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GroupFilter.Builder> |
serializableBuilderClass() |
GroupFilter.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
List<String> |
values()
One or more filter values.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic GroupFilterName name()
The name of the filter. Filter names are case-sensitive.
If the service returns an enum value that is not available in the current SDK version, name will return
GroupFilterName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
nameAsString().
GroupFilterNamepublic String nameAsString()
The name of the filter. Filter names are case-sensitive.
If the service returns an enum value that is not available in the current SDK version, name will return
GroupFilterName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
nameAsString().
GroupFilterNamepublic List<String> values()
One or more filter values. Allowed filter values vary by group filter name, and are case-sensitive.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public GroupFilter.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GroupFilter.Builder,GroupFilter>public static GroupFilter.Builder builder()
public static Class<? extends GroupFilter.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.