public static interface GetInstanceMetricDataRequest.Builder extends LightsailRequest.Builder, CopyableBuilder<GetInstanceMetricDataRequest.Builder,GetInstanceMetricDataRequest>
buildoverrideConfigurationcopyapplyMutation, 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.InstanceMetricName,
InstanceMetricNameGetInstanceMetricDataRequest.Builder metricName(InstanceMetricName metricName)
The metric name to get data about.
metricName - The metric name to get data about.InstanceMetricName,
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(Instant startTime)
The start time of the time period.
startTime - The start time of the time period.GetInstanceMetricDataRequest.Builder endTime(Instant 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,
MetricUnitGetInstanceMetricDataRequest.Builder unit(MetricUnit unit)
The unit. The list of valid values is below.
unit - The unit. The list of valid values is below.MetricUnit,
MetricUnitGetInstanceMetricDataRequest.Builder statisticsWithStrings(Collection<String> statistics)
The instance statistics.
statistics - The instance statistics.GetInstanceMetricDataRequest.Builder statisticsWithStrings(String... statistics)
The instance statistics.
statistics - The instance statistics.GetInstanceMetricDataRequest.Builder statistics(Collection<MetricStatistic> statistics)
The instance statistics.
statistics - The instance statistics.GetInstanceMetricDataRequest.Builder statistics(MetricStatistic... statistics)
The instance statistics.
statistics - The instance statistics.GetInstanceMetricDataRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderoverrideConfiguration - The override configuration.GetInstanceMetricDataRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.