@Beta public class GetMetricStatistics extends Object
Modifier and Type | Class and Description |
---|---|
static class |
GetMetricStatistics.Builder |
Modifier | Constructor and Description |
---|---|
protected |
GetMetricStatistics(Set<Dimension> dimensions,
Date endTime,
String metricName,
String namespace,
int period,
Date startTime,
Set<Statistics> statistics,
Unit unit)
Private constructor to enforce using
GetMetricStatistics.Builder . |
Modifier and Type | Method and Description |
---|---|
static GetMetricStatistics.Builder |
builder()
Returns a new builder.
|
Set<Dimension> |
getDimensions()
return the set of dimensions for this request
|
com.google.common.base.Optional<Date> |
getEndTime()
return the end time for this request
|
String |
getMetricName()
return the metric name for this request
|
String |
getNamespace()
return the namespace for this request
|
int |
getPeriod()
return the period for this request
|
com.google.common.base.Optional<Date> |
getStartTime()
return the start time for this request
|
Set<Statistics> |
getStatistics()
return the statistics for this request
|
com.google.common.base.Optional<Unit> |
getUnit()
return the unit for this request
|
protected GetMetricStatistics(Set<Dimension> dimensions, Date endTime, String metricName, String namespace, int period, Date startTime, Set<Statistics> statistics, Unit unit)
GetMetricStatistics.Builder
.public com.google.common.base.Optional<Date> getEndTime()
public String getMetricName()
public String getNamespace()
public int getPeriod()
public com.google.common.base.Optional<Date> getStartTime()
public Set<Statistics> getStatistics()
public com.google.common.base.Optional<Unit> getUnit()
public static GetMetricStatistics.Builder builder()
GetMetricStatistics.Builder
constructor.Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.