@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PerformanceInsightsMetricDimensionGroup extends Object implements Serializable, Cloneable
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
- The hash of a running SQL statement, generated by Performance Insights.
db.sql.db_id
- Either the SQL ID generated by the database engine, or a value generated by Performance
Insights that begins with pi-
.
db.sql.statement
- The full text of the SQL statement that is running, for example,
SELECT * FROM employees
.
db.sql_tokenized.id
- The hash of the SQL digest generated by Performance Insights.
Each response element returns a maximum of 500 bytes. For larger elements, such as SQL statements, only the first 500 bytes are returned.
Constructor and Description |
---|
PerformanceInsightsMetricDimensionGroup() |
Modifier and Type | Method and Description |
---|---|
PerformanceInsightsMetricDimensionGroup |
clone() |
boolean |
equals(Object obj) |
List<String> |
getDimensions()
A list of specific dimensions from a dimension group.
|
String |
getGroup()
The available dimension groups for Performance Insights metric type.
|
Integer |
getLimit()
The maximum number of items to fetch for this dimension group.
|
int |
hashCode() |
void |
setDimensions(Collection<String> dimensions)
A list of specific dimensions from a dimension group.
|
void |
setGroup(String group)
The available dimension groups for Performance Insights metric type.
|
void |
setLimit(Integer limit)
The maximum number of items to fetch for this dimension group.
|
String |
toString()
Returns a string representation of this object.
|
PerformanceInsightsMetricDimensionGroup |
withDimensions(Collection<String> dimensions)
A list of specific dimensions from a dimension group.
|
PerformanceInsightsMetricDimensionGroup |
withDimensions(String... dimensions)
A list of specific dimensions from a dimension group.
|
PerformanceInsightsMetricDimensionGroup |
withGroup(String group)
The available dimension groups for Performance Insights metric type.
|
PerformanceInsightsMetricDimensionGroup |
withLimit(Integer limit)
The maximum number of items to fetch for this dimension group.
|
public PerformanceInsightsMetricDimensionGroup()
public List<String> getDimensions()
A list of specific dimensions from a dimension group. If this list isn't included, then all of the dimensions in the group were requested, or are present in the response.
public void setDimensions(Collection<String> dimensions)
A list of specific dimensions from a dimension group. If this list isn't included, then all of the dimensions in the group were requested, or are present in the response.
dimensions
- A list of specific dimensions from a dimension group. If this list isn't included, then all of the
dimensions in the group were requested, or are present in the response.public PerformanceInsightsMetricDimensionGroup withDimensions(String... dimensions)
A list of specific dimensions from a dimension group. If this list isn't included, then all of the dimensions in the group were requested, or are present in the response.
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 list isn't included, then all of the
dimensions in the group were requested, or are present in the response.public PerformanceInsightsMetricDimensionGroup withDimensions(Collection<String> dimensions)
A list of specific dimensions from a dimension group. If this list isn't included, then all of the dimensions in the group were requested, or are present in the response.
dimensions
- A list of specific dimensions from a dimension group. If this list isn't included, then all of the
dimensions in the group were requested, or are present in the response.public void setGroup(String group)
The available dimension groups for Performance Insights metric type.
group
- The available dimension groups for Performance Insights metric type.public String getGroup()
The available dimension groups for Performance Insights metric type.
public PerformanceInsightsMetricDimensionGroup withGroup(String group)
The available dimension groups for Performance Insights metric type.
group
- The available dimension groups for Performance Insights metric type.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 PerformanceInsightsMetricDimensionGroup 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 PerformanceInsightsMetricDimensionGroup clone()