@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetEC2RecommendationProjectedMetricsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetEC2RecommendationProjectedMetricsRequest() |
Modifier and Type | Method and Description |
---|---|
GetEC2RecommendationProjectedMetricsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Date |
getEndTime()
The time stamp of the last projected metrics data point to return.
|
String |
getInstanceArn()
The Amazon Resource Name (ARN) of the instances for which to return recommendation projected metrics.
|
Integer |
getPeriod()
The granularity, in seconds, of the projected metrics data points.
|
Date |
getStartTime()
The time stamp of the first projected metrics data point to return.
|
String |
getStat()
The statistic of the projected metrics.
|
int |
hashCode() |
void |
setEndTime(Date endTime)
The time stamp of the last projected metrics data point to return.
|
void |
setInstanceArn(String instanceArn)
The Amazon Resource Name (ARN) of the instances for which to return recommendation projected metrics.
|
void |
setPeriod(Integer period)
The granularity, in seconds, of the projected metrics data points.
|
void |
setStartTime(Date startTime)
The time stamp of the first projected metrics data point to return.
|
void |
setStat(String stat)
The statistic of the projected metrics.
|
String |
toString()
Returns a string representation of this object.
|
GetEC2RecommendationProjectedMetricsRequest |
withEndTime(Date endTime)
The time stamp of the last projected metrics data point to return.
|
GetEC2RecommendationProjectedMetricsRequest |
withInstanceArn(String instanceArn)
The Amazon Resource Name (ARN) of the instances for which to return recommendation projected metrics.
|
GetEC2RecommendationProjectedMetricsRequest |
withPeriod(Integer period)
The granularity, in seconds, of the projected metrics data points.
|
GetEC2RecommendationProjectedMetricsRequest |
withStartTime(Date startTime)
The time stamp of the first projected metrics data point to return.
|
GetEC2RecommendationProjectedMetricsRequest |
withStat(MetricStatistic stat)
The statistic of the projected metrics.
|
GetEC2RecommendationProjectedMetricsRequest |
withStat(String stat)
The statistic of the projected metrics.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public GetEC2RecommendationProjectedMetricsRequest()
public void setInstanceArn(String instanceArn)
The Amazon Resource Name (ARN) of the instances for which to return recommendation projected metrics.
instanceArn
- The Amazon Resource Name (ARN) of the instances for which to return recommendation projected metrics.public String getInstanceArn()
The Amazon Resource Name (ARN) of the instances for which to return recommendation projected metrics.
public GetEC2RecommendationProjectedMetricsRequest withInstanceArn(String instanceArn)
The Amazon Resource Name (ARN) of the instances for which to return recommendation projected metrics.
instanceArn
- The Amazon Resource Name (ARN) of the instances for which to return recommendation projected metrics.public void setStat(String stat)
The statistic of the projected metrics.
stat
- The statistic of the projected metrics.MetricStatistic
public String getStat()
The statistic of the projected metrics.
MetricStatistic
public GetEC2RecommendationProjectedMetricsRequest withStat(String stat)
The statistic of the projected metrics.
stat
- The statistic of the projected metrics.MetricStatistic
public GetEC2RecommendationProjectedMetricsRequest withStat(MetricStatistic stat)
The statistic of the projected metrics.
stat
- The statistic of the projected metrics.MetricStatistic
public void setPeriod(Integer period)
The granularity, in seconds, of the projected metrics data points.
period
- The granularity, in seconds, of the projected metrics data points.public Integer getPeriod()
The granularity, in seconds, of the projected metrics data points.
public GetEC2RecommendationProjectedMetricsRequest withPeriod(Integer period)
The granularity, in seconds, of the projected metrics data points.
period
- The granularity, in seconds, of the projected metrics data points.public void setStartTime(Date startTime)
The time stamp of the first projected metrics data point to return.
startTime
- The time stamp of the first projected metrics data point to return.public Date getStartTime()
The time stamp of the first projected metrics data point to return.
public GetEC2RecommendationProjectedMetricsRequest withStartTime(Date startTime)
The time stamp of the first projected metrics data point to return.
startTime
- The time stamp of the first projected metrics data point to return.public void setEndTime(Date endTime)
The time stamp of the last projected metrics data point to return.
endTime
- The time stamp of the last projected metrics data point to return.public Date getEndTime()
The time stamp of the last projected metrics data point to return.
public GetEC2RecommendationProjectedMetricsRequest withEndTime(Date endTime)
The time stamp of the last projected metrics data point to return.
endTime
- The time stamp of the last projected metrics data point to return.public String toString()
toString
in class Object
Object.toString()
public GetEC2RecommendationProjectedMetricsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.