本文整理了Java中com.amazonaws.services.cloudwatch.model.GetMetricStatisticsRequest.setEndTime()
方法的一些代码示例,展示了GetMetricStatisticsRequest.setEndTime()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。GetMetricStatisticsRequest.setEndTime()
方法的具体详情如下:
包路径:com.amazonaws.services.cloudwatch.model.GetMetricStatisticsRequest
类名称:GetMetricStatisticsRequest
方法名:setEndTime
[英]The time stamp that determines the last data point to return.
The value specified is exclusive; results include data points up to the specified time stamp. The time stamp must be in ISO 8601 UTC format (for example, 2016-10-10T23:00:00Z).
[中]
代码示例来源:origin: aws/aws-sdk-java
/**
* <p>
* The time stamp that determines the last data point to return.
* </p>
* <p>
* The value specified is exclusive; results include data points up to the specified time stamp. The time stamp must
* be in ISO 8601 UTC format (for example, 2016-10-10T23:00:00Z).
* </p>
*
* @param endTime
* The time stamp that determines the last data point to return.</p>
* <p>
* The value specified is exclusive; results include data points up to the specified time stamp. The time
* stamp must be in ISO 8601 UTC format (for example, 2016-10-10T23:00:00Z).
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetMetricStatisticsRequest withEndTime(java.util.Date endTime) {
setEndTime(endTime);
return this;
}
代码示例来源:origin: petezybrick/awscwxls
getMetricRequest.setEndTime( dfYyyyMmDdHhMmSs.parse( properties.getProperty("endTime").trim() ) );
代码示例来源:origin: prometheus/cloudwatch_exporter
request.setStatistics(rule.awsStatistics);
request.setExtendedStatistics(rule.awsExtendedStatistics);
request.setEndTime(startDate);
request.setStartTime(endDate);
request.setPeriod(rule.periodSeconds);
内容来源于网络,如有侵权,请联系作者删除!