@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PerformanceInsightsMetricsDetail extends Object implements Serializable, Cloneable, StructuredPojo
Details about Performance Insights metrics.
Amazon RDS Performance Insights enables you to monitor and explore different dimensions of database load based on data captured from a running DB instance. DB load is measured as average active sessions. Performance Insights provides the data to API consumers as a two-dimensional time-series dataset. The time dimension provides DB load data for each time point in the queried time range. Each time point decomposes overall load in relation to the requested dimensions, measured at that time point. Examples include SQL, Wait event, User, and Host.
To learn more about Performance Insights and Amazon Aurora DB instances, go to the Amazon Aurora User Guide.
To learn more about Performance Insights and Amazon RDS DB instances, go to the Amazon RDS User Guide.
Constructor and Description |
---|
PerformanceInsightsMetricsDetail() |
Modifier and Type | Method and Description |
---|---|
PerformanceInsightsMetricsDetail |
clone() |
boolean |
equals(Object obj) |
String |
getMetricDisplayName()
The name used for a specific Performance Insights metric.
|
PerformanceInsightsMetricQuery |
getMetricQuery()
A single query to be processed for the metric.
|
List<PerformanceInsightsReferenceData> |
getReferenceData()
For more information, see
PerformanceInsightsReferenceData
. |
List<PerformanceInsightsStat> |
getStatsAtAnomaly()
The metric statistics during the anomalous period detected by DevOps Guru;
|
List<PerformanceInsightsStat> |
getStatsAtBaseline()
Typical metric statistics that are not considered anomalous.
|
String |
getUnit()
The unit of measure for a metric.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMetricDisplayName(String metricDisplayName)
The name used for a specific Performance Insights metric.
|
void |
setMetricQuery(PerformanceInsightsMetricQuery metricQuery)
A single query to be processed for the metric.
|
void |
setReferenceData(Collection<PerformanceInsightsReferenceData> referenceData)
For more information, see
PerformanceInsightsReferenceData
. |
void |
setStatsAtAnomaly(Collection<PerformanceInsightsStat> statsAtAnomaly)
The metric statistics during the anomalous period detected by DevOps Guru;
|
void |
setStatsAtBaseline(Collection<PerformanceInsightsStat> statsAtBaseline)
Typical metric statistics that are not considered anomalous.
|
void |
setUnit(String unit)
The unit of measure for a metric.
|
String |
toString()
Returns a string representation of this object.
|
PerformanceInsightsMetricsDetail |
withMetricDisplayName(String metricDisplayName)
The name used for a specific Performance Insights metric.
|
PerformanceInsightsMetricsDetail |
withMetricQuery(PerformanceInsightsMetricQuery metricQuery)
A single query to be processed for the metric.
|
PerformanceInsightsMetricsDetail |
withReferenceData(Collection<PerformanceInsightsReferenceData> referenceData)
For more information, see
PerformanceInsightsReferenceData
. |
PerformanceInsightsMetricsDetail |
withReferenceData(PerformanceInsightsReferenceData... referenceData)
For more information, see
PerformanceInsightsReferenceData
. |
PerformanceInsightsMetricsDetail |
withStatsAtAnomaly(Collection<PerformanceInsightsStat> statsAtAnomaly)
The metric statistics during the anomalous period detected by DevOps Guru;
|
PerformanceInsightsMetricsDetail |
withStatsAtAnomaly(PerformanceInsightsStat... statsAtAnomaly)
The metric statistics during the anomalous period detected by DevOps Guru;
|
PerformanceInsightsMetricsDetail |
withStatsAtBaseline(Collection<PerformanceInsightsStat> statsAtBaseline)
Typical metric statistics that are not considered anomalous.
|
PerformanceInsightsMetricsDetail |
withStatsAtBaseline(PerformanceInsightsStat... statsAtBaseline)
Typical metric statistics that are not considered anomalous.
|
PerformanceInsightsMetricsDetail |
withUnit(String unit)
The unit of measure for a metric.
|
public void setMetricDisplayName(String metricDisplayName)
The name used for a specific Performance Insights metric.
metricDisplayName
- The name used for a specific Performance Insights metric.public String getMetricDisplayName()
The name used for a specific Performance Insights metric.
public PerformanceInsightsMetricsDetail withMetricDisplayName(String metricDisplayName)
The name used for a specific Performance Insights metric.
metricDisplayName
- The name used for a specific Performance Insights metric.public void setUnit(String unit)
The unit of measure for a metric. For example, a session or a process.
unit
- The unit of measure for a metric. For example, a session or a process.public String getUnit()
The unit of measure for a metric. For example, a session or a process.
public PerformanceInsightsMetricsDetail withUnit(String unit)
The unit of measure for a metric. For example, a session or a process.
unit
- The unit of measure for a metric. For example, a session or a process.public void setMetricQuery(PerformanceInsightsMetricQuery metricQuery)
A single query to be processed for the metric. For more information, see
PerformanceInsightsMetricQuery
.
metricQuery
- A single query to be processed for the metric. For more information, see
PerformanceInsightsMetricQuery
.public PerformanceInsightsMetricQuery getMetricQuery()
A single query to be processed for the metric. For more information, see
PerformanceInsightsMetricQuery
.
PerformanceInsightsMetricQuery
.public PerformanceInsightsMetricsDetail withMetricQuery(PerformanceInsightsMetricQuery metricQuery)
A single query to be processed for the metric. For more information, see
PerformanceInsightsMetricQuery
.
metricQuery
- A single query to be processed for the metric. For more information, see
PerformanceInsightsMetricQuery
.public List<PerformanceInsightsReferenceData> getReferenceData()
For more information, see
PerformanceInsightsReferenceData
.
PerformanceInsightsReferenceData
.public void setReferenceData(Collection<PerformanceInsightsReferenceData> referenceData)
For more information, see
PerformanceInsightsReferenceData
.
referenceData
- For more information, see
PerformanceInsightsReferenceData
.public PerformanceInsightsMetricsDetail withReferenceData(PerformanceInsightsReferenceData... referenceData)
For more information, see
PerformanceInsightsReferenceData
.
NOTE: This method appends the values to the existing list (if any). Use
setReferenceData(java.util.Collection)
or withReferenceData(java.util.Collection)
if you want
to override the existing values.
referenceData
- For more information, see
PerformanceInsightsReferenceData
.public PerformanceInsightsMetricsDetail withReferenceData(Collection<PerformanceInsightsReferenceData> referenceData)
For more information, see
PerformanceInsightsReferenceData
.
referenceData
- For more information, see
PerformanceInsightsReferenceData
.public List<PerformanceInsightsStat> getStatsAtAnomaly()
The metric statistics during the anomalous period detected by DevOps Guru;
public void setStatsAtAnomaly(Collection<PerformanceInsightsStat> statsAtAnomaly)
The metric statistics during the anomalous period detected by DevOps Guru;
statsAtAnomaly
- The metric statistics during the anomalous period detected by DevOps Guru;public PerformanceInsightsMetricsDetail withStatsAtAnomaly(PerformanceInsightsStat... statsAtAnomaly)
The metric statistics during the anomalous period detected by DevOps Guru;
NOTE: This method appends the values to the existing list (if any). Use
setStatsAtAnomaly(java.util.Collection)
or withStatsAtAnomaly(java.util.Collection)
if you want
to override the existing values.
statsAtAnomaly
- The metric statistics during the anomalous period detected by DevOps Guru;public PerformanceInsightsMetricsDetail withStatsAtAnomaly(Collection<PerformanceInsightsStat> statsAtAnomaly)
The metric statistics during the anomalous period detected by DevOps Guru;
statsAtAnomaly
- The metric statistics during the anomalous period detected by DevOps Guru;public List<PerformanceInsightsStat> getStatsAtBaseline()
Typical metric statistics that are not considered anomalous. When DevOps Guru analyzes metrics, it compares them
to StatsAtBaseline
to help determine if they are anomalous.
StatsAtBaseline
to help determine if they are anomalous.public void setStatsAtBaseline(Collection<PerformanceInsightsStat> statsAtBaseline)
Typical metric statistics that are not considered anomalous. When DevOps Guru analyzes metrics, it compares them
to StatsAtBaseline
to help determine if they are anomalous.
statsAtBaseline
- Typical metric statistics that are not considered anomalous. When DevOps Guru analyzes metrics, it
compares them to StatsAtBaseline
to help determine if they are anomalous.public PerformanceInsightsMetricsDetail withStatsAtBaseline(PerformanceInsightsStat... statsAtBaseline)
Typical metric statistics that are not considered anomalous. When DevOps Guru analyzes metrics, it compares them
to StatsAtBaseline
to help determine if they are anomalous.
NOTE: This method appends the values to the existing list (if any). Use
setStatsAtBaseline(java.util.Collection)
or withStatsAtBaseline(java.util.Collection)
if you
want to override the existing values.
statsAtBaseline
- Typical metric statistics that are not considered anomalous. When DevOps Guru analyzes metrics, it
compares them to StatsAtBaseline
to help determine if they are anomalous.public PerformanceInsightsMetricsDetail withStatsAtBaseline(Collection<PerformanceInsightsStat> statsAtBaseline)
Typical metric statistics that are not considered anomalous. When DevOps Guru analyzes metrics, it compares them
to StatsAtBaseline
to help determine if they are anomalous.
statsAtBaseline
- Typical metric statistics that are not considered anomalous. When DevOps Guru analyzes metrics, it
compares them to StatsAtBaseline
to help determine if they are anomalous.public String toString()
toString
in class Object
Object.toString()
public PerformanceInsightsMetricsDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.