public static interface GetResourceMetricsResponse.Builder extends PiResponse.Builder, SdkPojo, CopyableBuilder<GetResourceMetricsResponse.Builder,GetResourceMetricsResponse>
Modifier and Type | Method and Description |
---|---|
GetResourceMetricsResponse.Builder |
alignedEndTime(Instant alignedEndTime)
The end time for the returned metrics, after alignment to a granular boundary (as specified by
PeriodInSeconds ). |
GetResourceMetricsResponse.Builder |
alignedStartTime(Instant alignedStartTime)
The start time for the returned metrics, after alignment to a granular boundary (as specified by
PeriodInSeconds ). |
GetResourceMetricsResponse.Builder |
identifier(String identifier)
An immutable, AWS Region-unique identifier for a data source.
|
GetResourceMetricsResponse.Builder |
metricList(Collection<MetricKeyDataPoints> metricList)
An array of metric results,, where each array element contains all of the data points for a particular
dimension.
|
GetResourceMetricsResponse.Builder |
metricList(Consumer<MetricKeyDataPoints.Builder>... metricList)
An array of metric results,, where each array element contains all of the data points for a particular
dimension.
|
GetResourceMetricsResponse.Builder |
metricList(MetricKeyDataPoints... metricList)
An array of metric results,, where each array element contains all of the data points for a particular
dimension.
|
GetResourceMetricsResponse.Builder |
nextToken(String nextToken)
An optional pagination token provided by a previous request.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetResourceMetricsResponse.Builder alignedStartTime(Instant alignedStartTime)
The start time for the returned metrics, after alignment to a granular boundary (as specified by
PeriodInSeconds
). AlignedStartTime
will be less than or equal to the value of the
user-specified StartTime
.
alignedStartTime
- The start time for the returned metrics, after alignment to a granular boundary (as specified by
PeriodInSeconds
). AlignedStartTime
will be less than or equal to the value
of the user-specified StartTime
.GetResourceMetricsResponse.Builder alignedEndTime(Instant alignedEndTime)
The end time for the returned metrics, after alignment to a granular boundary (as specified by
PeriodInSeconds
). AlignedEndTime
will be greater than or equal to the value of the
user-specified Endtime
.
alignedEndTime
- The end time for the returned metrics, after alignment to a granular boundary (as specified by
PeriodInSeconds
). AlignedEndTime
will be greater than or equal to the value
of the user-specified Endtime
.GetResourceMetricsResponse.Builder identifier(String identifier)
An immutable, AWS Region-unique identifier for a data source. Performance Insights gathers metrics from this data source.
To use an Amazon RDS instance as a data source, you specify its DbiResourceId
value - for
example: db-FAIHNTYBKTGAUSUZQYPDS2GW4A
identifier
- An immutable, AWS Region-unique identifier for a data source. Performance Insights gathers metrics
from this data source.
To use an Amazon RDS instance as a data source, you specify its DbiResourceId
value - for
example: db-FAIHNTYBKTGAUSUZQYPDS2GW4A
GetResourceMetricsResponse.Builder metricList(Collection<MetricKeyDataPoints> metricList)
An array of metric results,, where each array element contains all of the data points for a particular dimension.
metricList
- An array of metric results,, where each array element contains all of the data points for a particular
dimension.GetResourceMetricsResponse.Builder metricList(MetricKeyDataPoints... metricList)
An array of metric results,, where each array element contains all of the data points for a particular dimension.
metricList
- An array of metric results,, where each array element contains all of the data points for a particular
dimension.GetResourceMetricsResponse.Builder metricList(Consumer<MetricKeyDataPoints.Builder>... metricList)
An array of metric results,, where each array element contains all of the data points for a particular dimension.
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #metricList(List)
.metricList
- a consumer that will call methods on List.Builder
#metricList(List)
GetResourceMetricsResponse.Builder nextToken(String nextToken)
An optional pagination token provided by a previous request. If this parameter is specified, the response
includes only records beyond the token, up to the value specified by MaxRecords
.
nextToken
- An optional pagination token provided by a previous request. If this parameter is specified, the
response includes only records beyond the token, up to the value specified by MaxRecords
.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.