@Generated(value="software.amazon.awssdk:codegen") public final class Group extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Group.Builder,Group>
One level of grouped data in the results.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Group.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Group.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasKeys()
Returns true if the Keys 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 |
hasMetrics()
Returns true if the Metrics property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
List<String> |
keys()
The keys that are included in this group.
|
Map<String,MetricValue> |
metrics()
The metrics that are included in this group.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Group.Builder> |
serializableBuilderClass() |
Group.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasKeys()
public final List<String> keys()
The keys that are included in this group.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasKeys() to see if a value was sent in this field.
public final boolean hasMetrics()
public final Map<String,MetricValue> metrics()
The metrics that are included in this group.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasMetrics() to see if a value was sent in this field.
public Group.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Group.Builder,Group>public static Group.Builder builder()
public static Class<? extends Group.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.