@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DimensionGroup extends Object implements Serializable, Cloneable, StructuredPojo
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
.
Constructor and Description |
---|
DimensionGroup() |
Modifier and Type | Method and Description |
---|---|
DimensionGroup |
clone() |
boolean |
equals(Object obj) |
List<String> |
getDimensions()
A list of specific dimensions from a dimension group.
|
String |
getGroup()
The name of the dimension group.
|
Integer |
getLimit()
The maximum number of items to fetch for this dimension group.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDimensions(Collection<String> dimensions)
A list of specific dimensions from a dimension group.
|
void |
setGroup(String group)
The name of the dimension group.
|
void |
setLimit(Integer limit)
The maximum number of items to fetch for this dimension group.
|
String |
toString()
Returns a string representation of this object.
|
DimensionGroup |
withDimensions(Collection<String> dimensions)
A list of specific dimensions from a dimension group.
|
DimensionGroup |
withDimensions(String... dimensions)
A list of specific dimensions from a dimension group.
|
DimensionGroup |
withGroup(String group)
The name of the dimension group.
|
DimensionGroup |
withLimit(Integer limit)
The maximum number of items to fetch for this dimension group.
|
public void setGroup(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
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
public String getGroup()
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 DimensionGroup withGroup(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
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
public List<String> getDimensions()
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
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 void setDimensions(Collection<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
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
public DimensionGroup withDimensions(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
NOTE: This method appends the values to the existing list (if any). Use
setDimensions(java.util.Collection)
or withDimensions(java.util.Collection)
if you want to
override the existing values.
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
public DimensionGroup withDimensions(Collection<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
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
public void setLimit(Integer limit)
The maximum number of items to fetch for this dimension group.
limit
- The maximum number of items to fetch for this dimension group.public Integer getLimit()
The maximum number of items to fetch for this dimension group.
public DimensionGroup withLimit(Integer limit)
The maximum number of items to fetch for this dimension group.
limit
- The maximum number of items to fetch for this dimension group.public String toString()
toString
in class Object
Object.toString()
public DimensionGroup clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.