@Generated(value="software.amazon.awssdk:codegen") public final class DimensionGroup extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DimensionGroup.Builder,DimensionGroup>
A logical grouping of Performance Insights metrics for a related subject area. For example, the db.sql
dimension group consists of the following dimensions: db.sql.id, db.sql.db_id,
db.sql.statement, and db.sql.tokenized_id.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DimensionGroup.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DimensionGroup.Builder |
builder() |
List<String> |
dimensions()
A list of specific dimensions from a dimension group.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
String |
group()
The name of the dimension group.
|
boolean |
hasDimensions()
Returns true if the Dimensions 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() |
Integer |
limit()
The maximum number of items to fetch for this dimension group.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DimensionGroup.Builder> |
serializableBuilderClass() |
DimensionGroup.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String group()
The name of the dimension group. Valid values are:
db.user
db.host
db.sql
db.sql_tokenized
db.wait_event
db.wait_event_type
db.user
db.host
db.sql
db.sql_tokenized
db.wait_event
db.wait_event_type
public boolean hasDimensions()
public List<String> dimensions()
A list of specific dimensions from a dimension group. If this parameter is not present, then it signifies that all of the dimensions in the group were requested, or are present in the response.
Valid values for elements in the Dimensions array are:
db.user.id
db.user.name
db.host.id
db.host.name
db.sql.id
db.sql.db_id
db.sql.statement
db.sql.tokenized_id
db.sql_tokenized.id
db.sql_tokenized.db_id
db.sql_tokenized.statement
db.wait_event.name
db.wait_event.type
db.wait_event_type.name
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasDimensions() to see if a value was sent in this field.
Valid values for elements in the Dimensions array are:
db.user.id
db.user.name
db.host.id
db.host.name
db.sql.id
db.sql.db_id
db.sql.statement
db.sql.tokenized_id
db.sql_tokenized.id
db.sql_tokenized.db_id
db.sql_tokenized.statement
db.wait_event.name
db.wait_event.type
db.wait_event_type.name
public Integer limit()
The maximum number of items to fetch for this dimension group.
public DimensionGroup.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DimensionGroup.Builder,DimensionGroup>public static DimensionGroup.Builder builder()
public static Class<? extends DimensionGroup.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.