@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetBucketMetricDataResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetBucketMetricDataResult() |
Modifier and Type | Method and Description |
---|---|
GetBucketMetricDataResult |
clone() |
boolean |
equals(Object obj) |
List<MetricDatapoint> |
getMetricData()
An array of objects that describe the metric data returned.
|
String |
getMetricName()
The name of the metric returned.
|
int |
hashCode() |
void |
setMetricData(Collection<MetricDatapoint> metricData)
An array of objects that describe the metric data returned.
|
void |
setMetricName(String metricName)
The name of the metric returned.
|
String |
toString()
Returns a string representation of this object.
|
GetBucketMetricDataResult |
withMetricData(Collection<MetricDatapoint> metricData)
An array of objects that describe the metric data returned.
|
GetBucketMetricDataResult |
withMetricData(MetricDatapoint... metricData)
An array of objects that describe the metric data returned.
|
GetBucketMetricDataResult |
withMetricName(BucketMetricName metricName)
The name of the metric returned.
|
GetBucketMetricDataResult |
withMetricName(String metricName)
The name of the metric returned.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setMetricName(String metricName)
The name of the metric returned.
metricName
- The name of the metric returned.BucketMetricName
public String getMetricName()
The name of the metric returned.
BucketMetricName
public GetBucketMetricDataResult withMetricName(String metricName)
The name of the metric returned.
metricName
- The name of the metric returned.BucketMetricName
public GetBucketMetricDataResult withMetricName(BucketMetricName metricName)
The name of the metric returned.
metricName
- The name of the metric returned.BucketMetricName
public List<MetricDatapoint> getMetricData()
An array of objects that describe the metric data returned.
public void setMetricData(Collection<MetricDatapoint> metricData)
An array of objects that describe the metric data returned.
metricData
- An array of objects that describe the metric data returned.public GetBucketMetricDataResult withMetricData(MetricDatapoint... metricData)
An array of objects that describe the metric data returned.
NOTE: This method appends the values to the existing list (if any). Use
setMetricData(java.util.Collection)
or withMetricData(java.util.Collection)
if you want to
override the existing values.
metricData
- An array of objects that describe the metric data returned.public GetBucketMetricDataResult withMetricData(Collection<MetricDatapoint> metricData)
An array of objects that describe the metric data returned.
metricData
- An array of objects that describe the metric data returned.public String toString()
toString
in class Object
Object.toString()
public GetBucketMetricDataResult clone()