@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 timestamp 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.
|
RecommendationPreferences |
getRecommendationPreferences()
An object to specify the preferences for the Amazon EC2 recommendation projected metrics to return in the
response.
|
Date |
getStartTime()
The timestamp of the first projected metrics data point to return.
|
String |
getStat()
The statistic of the projected metrics.
|
int |
hashCode() |
void |
setEndTime(Date endTime)
The timestamp 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 |
setRecommendationPreferences(RecommendationPreferences recommendationPreferences)
An object to specify the preferences for the Amazon EC2 recommendation projected metrics to return in the
response.
|
void |
setStartTime(Date startTime)
The timestamp 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 timestamp 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 |
withRecommendationPreferences(RecommendationPreferences recommendationPreferences)
An object to specify the preferences for the Amazon EC2 recommendation projected metrics to return in the
response.
|
GetEC2RecommendationProjectedMetricsRequest |
withStartTime(Date startTime)
The timestamp 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 timestamp of the first projected metrics data point to return.
startTime
- The timestamp of the first projected metrics data point to return.public Date getStartTime()
The timestamp of the first projected metrics data point to return.
public GetEC2RecommendationProjectedMetricsRequest withStartTime(Date startTime)
The timestamp of the first projected metrics data point to return.
startTime
- The timestamp of the first projected metrics data point to return.public void setEndTime(Date endTime)
The timestamp of the last projected metrics data point to return.
endTime
- The timestamp of the last projected metrics data point to return.public Date getEndTime()
The timestamp of the last projected metrics data point to return.
public GetEC2RecommendationProjectedMetricsRequest withEndTime(Date endTime)
The timestamp of the last projected metrics data point to return.
endTime
- The timestamp of the last projected metrics data point to return.public void setRecommendationPreferences(RecommendationPreferences recommendationPreferences)
An object to specify the preferences for the Amazon EC2 recommendation projected metrics to return in the response.
recommendationPreferences
- An object to specify the preferences for the Amazon EC2 recommendation projected metrics to return in the
response.public RecommendationPreferences getRecommendationPreferences()
An object to specify the preferences for the Amazon EC2 recommendation projected metrics to return in the response.
public GetEC2RecommendationProjectedMetricsRequest withRecommendationPreferences(RecommendationPreferences recommendationPreferences)
An object to specify the preferences for the Amazon EC2 recommendation projected metrics to return in the response.
recommendationPreferences
- An object to specify the preferences for the Amazon EC2 recommendation projected metrics to return in the
response.public String toString()
toString
in class Object
Object.toString()
public GetEC2RecommendationProjectedMetricsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()