CopyableBuilder<GetInstanceMetricDataRequest.Builder,GetInstanceMetricDataRequest>, SdkBuilder<GetInstanceMetricDataRequest.Builder,GetInstanceMetricDataRequest>public static interface GetInstanceMetricDataRequest.Builder extends CopyableBuilder<GetInstanceMetricDataRequest.Builder,GetInstanceMetricDataRequest>
copyapply, buildGetInstanceMetricDataRequest.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.InstanceMetricNameGetInstanceMetricDataRequest.Builder metricName(InstanceMetricName metricName)
The metric name to get data about.
metricName - The metric name to get data about.InstanceMetricNameGetInstanceMetricDataRequest.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.MetricUnitGetInstanceMetricDataRequest.Builder unit(MetricUnit unit)
The unit. The list of valid values is below.
unit - The unit. The list of valid values is below.MetricUnitGetInstanceMetricDataRequest.Builder statistics(Collection<String> statistics)
The instance statistics.
statistics - The instance statistics.MetricStatisticGetInstanceMetricDataRequest.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.MetricStatisticGetInstanceMetricDataRequest.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.MetricStatisticCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.