public static interface GetInstanceMetricDataRequest.Builder extends LightsailRequest.Builder, CopyableBuilder<GetInstanceMetricDataRequest.Builder,GetInstanceMetricDataRequest>
build
requestOverrideConfig, requestOverrideConfig
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
,
InstanceMetricName
GetInstanceMetricDataRequest.Builder metricName(InstanceMetricName metricName)
The metric name to get data about.
metricName
- The metric name to get data about.InstanceMetricName
,
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(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
,
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
,
MetricUnit
GetInstanceMetricDataRequest.Builder statistics(Collection<String> statistics)
The instance statistics.
statistics
- The instance statistics.GetInstanceMetricDataRequest.Builder statistics(String... statistics)
The instance statistics.
statistics
- The instance statistics.GetInstanceMetricDataRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.