public static interface GetRelationalDatabaseMetricDataRequest.Builder extends LightsailRequest.Builder, SdkPojo, CopyableBuilder<GetRelationalDatabaseMetricDataRequest.Builder,GetRelationalDatabaseMetricDataRequest>
build
overrideConfiguration
copy
applyMutation, build
GetRelationalDatabaseMetricDataRequest.Builder relationalDatabaseName(String relationalDatabaseName)
The name of your database from which to get metric data.
relationalDatabaseName
- The name of your database from which to get metric data.GetRelationalDatabaseMetricDataRequest.Builder metricName(String metricName)
The name of the metric data to return.
metricName
- The name of the metric data to return.RelationalDatabaseMetricName
,
RelationalDatabaseMetricName
GetRelationalDatabaseMetricDataRequest.Builder metricName(RelationalDatabaseMetricName metricName)
The name of the metric data to return.
metricName
- The name of the metric data to return.RelationalDatabaseMetricName
,
RelationalDatabaseMetricName
GetRelationalDatabaseMetricDataRequest.Builder period(Integer period)
The granularity, in seconds, of the returned data points.
period
- The granularity, in seconds, of the returned data points.GetRelationalDatabaseMetricDataRequest.Builder startTime(Instant startTime)
The start of the time interval from which to get metric data.
Constraints:
Specified in Universal Coordinated Time (UTC).
Specified in the Unix time format.
For example, if you wish to use a start time of October 1, 2018, at 8 PM UTC, then you input
1538424000
as the start time.
startTime
- The start of the time interval from which to get metric data.
Constraints:
Specified in Universal Coordinated Time (UTC).
Specified in the Unix time format.
For example, if you wish to use a start time of October 1, 2018, at 8 PM UTC, then you input
1538424000
as the start time.
GetRelationalDatabaseMetricDataRequest.Builder endTime(Instant endTime)
The end of the time interval from which to get metric data.
Constraints:
Specified in Universal Coordinated Time (UTC).
Specified in the Unix time format.
For example, if you wish to use an end time of October 1, 2018, at 8 PM UTC, then you input
1538424000
as the end time.
endTime
- The end of the time interval from which to get metric data.
Constraints:
Specified in Universal Coordinated Time (UTC).
Specified in the Unix time format.
For example, if you wish to use an end time of October 1, 2018, at 8 PM UTC, then you input
1538424000
as the end time.
GetRelationalDatabaseMetricDataRequest.Builder unit(String unit)
The unit for the metric data request.
unit
- The unit for the metric data request.MetricUnit
,
MetricUnit
GetRelationalDatabaseMetricDataRequest.Builder unit(MetricUnit unit)
The unit for the metric data request.
unit
- The unit for the metric data request.MetricUnit
,
MetricUnit
GetRelationalDatabaseMetricDataRequest.Builder statisticsWithStrings(Collection<String> statistics)
The array of statistics for your metric data request.
statistics
- The array of statistics for your metric data request.GetRelationalDatabaseMetricDataRequest.Builder statisticsWithStrings(String... statistics)
The array of statistics for your metric data request.
statistics
- The array of statistics for your metric data request.GetRelationalDatabaseMetricDataRequest.Builder statistics(Collection<MetricStatistic> statistics)
The array of statistics for your metric data request.
statistics
- The array of statistics for your metric data request.GetRelationalDatabaseMetricDataRequest.Builder statistics(MetricStatistic... statistics)
The array of statistics for your metric data request.
statistics
- The array of statistics for your metric data request.GetRelationalDatabaseMetricDataRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.GetRelationalDatabaseMetricDataRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.