CopyableBuilder<GetInstanceMetricDataRequest.Builder,GetInstanceMetricDataRequest>
, SdkBuilder<GetInstanceMetricDataRequest.Builder,GetInstanceMetricDataRequest>
public static interface GetInstanceMetricDataRequest.Builder extends CopyableBuilder<GetInstanceMetricDataRequest.Builder,GetInstanceMetricDataRequest>
copy
apply, build
GetInstanceMetricDataRequest.Builder instanceName(String instanceName)
The name of the instance for which you want to get metrics data.
instanceName
- The name of the instance for which you want to get metrics data.GetInstanceMetricDataRequest.Builder metricName(String metricName)
The metric name to get data about.
metricName
- The metric name to get data about.InstanceMetricName
GetInstanceMetricDataRequest.Builder metricName(InstanceMetricName metricName)
The metric name to get data about.
metricName
- The metric name to get data about.InstanceMetricName
GetInstanceMetricDataRequest.Builder period(Integer period)
The time period for which you are requesting data.
period
- The time period for which you are requesting data.GetInstanceMetricDataRequest.Builder startTime(Date startTime)
The start time of the time period.
startTime
- The start time of the time period.GetInstanceMetricDataRequest.Builder endTime(Date endTime)
The end time of the time period.
endTime
- The end time of the time period.GetInstanceMetricDataRequest.Builder unit(String unit)
The unit. The list of valid values is below.
unit
- The unit. The list of valid values is below.MetricUnit
GetInstanceMetricDataRequest.Builder unit(MetricUnit unit)
The unit. The list of valid values is below.
unit
- The unit. The list of valid values is below.MetricUnit
GetInstanceMetricDataRequest.Builder statistics(Collection<String> statistics)
The instance statistics.
statistics
- The instance statistics.MetricStatistic
GetInstanceMetricDataRequest.Builder statistics(String... statistics)
The instance statistics.
NOTE: This method appends the values to the existing list (if any). Use
#setStatistics(java.util.Collection)
or #withStatistics(java.util.Collection)
if you want to
override the existing values.
statistics
- The instance statistics.MetricStatistic
GetInstanceMetricDataRequest.Builder statistics(MetricStatistic... statistics)
The instance statistics.
NOTE: This method appends the values to the existing list (if any). Use
#setStatistics(java.util.Collection)
or #withStatistics(java.util.Collection)
if you want to
override the existing values.
statistics
- The instance statistics.MetricStatistic
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.