@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetECSServiceRecommendationProjectedMetricsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
GetECSServiceRecommendationProjectedMetricsRequest() |
| Modifier and Type | Method and Description |
|---|---|
GetECSServiceRecommendationProjectedMetricsRequest |
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.
|
Integer |
getPeriod()
The granularity, in seconds, of the projected metrics data points.
|
String |
getServiceArn()
The ARN that identifies the Amazon ECS service.
|
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 |
setPeriod(Integer period)
The granularity, in seconds, of the projected metrics data points.
|
void |
setServiceArn(String serviceArn)
The ARN that identifies the Amazon ECS service.
|
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.
|
GetECSServiceRecommendationProjectedMetricsRequest |
withEndTime(Date endTime)
The timestamp of the last projected metrics data point to return.
|
GetECSServiceRecommendationProjectedMetricsRequest |
withPeriod(Integer period)
The granularity, in seconds, of the projected metrics data points.
|
GetECSServiceRecommendationProjectedMetricsRequest |
withServiceArn(String serviceArn)
The ARN that identifies the Amazon ECS service.
|
GetECSServiceRecommendationProjectedMetricsRequest |
withStartTime(Date startTime)
The timestamp of the first projected metrics data point to return.
|
GetECSServiceRecommendationProjectedMetricsRequest |
withStat(MetricStatistic stat)
The statistic of the projected metrics.
|
GetECSServiceRecommendationProjectedMetricsRequest |
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, withSdkRequestTimeoutpublic GetECSServiceRecommendationProjectedMetricsRequest()
public void setServiceArn(String serviceArn)
The ARN that identifies the Amazon ECS service.
The following is the format of the ARN:
arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name
serviceArn - The ARN that identifies the Amazon ECS service.
The following is the format of the ARN:
arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name
public String getServiceArn()
The ARN that identifies the Amazon ECS service.
The following is the format of the ARN:
arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name
The following is the format of the ARN:
arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name
public GetECSServiceRecommendationProjectedMetricsRequest withServiceArn(String serviceArn)
The ARN that identifies the Amazon ECS service.
The following is the format of the ARN:
arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name
serviceArn - The ARN that identifies the Amazon ECS service.
The following is the format of the ARN:
arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name
public void setStat(String stat)
The statistic of the projected metrics.
stat - The statistic of the projected metrics.MetricStatisticpublic String getStat()
The statistic of the projected metrics.
MetricStatisticpublic GetECSServiceRecommendationProjectedMetricsRequest withStat(String stat)
The statistic of the projected metrics.
stat - The statistic of the projected metrics.MetricStatisticpublic GetECSServiceRecommendationProjectedMetricsRequest withStat(MetricStatistic stat)
The statistic of the projected metrics.
stat - The statistic of the projected metrics.MetricStatisticpublic 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 GetECSServiceRecommendationProjectedMetricsRequest 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 GetECSServiceRecommendationProjectedMetricsRequest 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 GetECSServiceRecommendationProjectedMetricsRequest 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 String toString()
toString in class ObjectObject.toString()public GetECSServiceRecommendationProjectedMetricsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()