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 identifier for a data source that is unique for an Amazon Web Services Region.
|
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, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetResourceMetricsResponse.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 identifier for a data source that is unique for an Amazon Web Services Region. Performance
Insights gathers metrics from this data source. In the console, the identifier is shown as ResourceID.
When you call DescribeDBInstances, the identifier is returned as DbiResourceId.
identifier - An immutable identifier for a data source that is unique for an Amazon Web Services Region.
Performance Insights gathers metrics from this data source. In the console, the identifier is shown as
ResourceID. When you call DescribeDBInstances, the identifier is returned as
DbiResourceId.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 method that creates an instance of theMetricKeyDataPoints.Builder avoiding the need to create one
manually via MetricKeyDataPoints.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #metricList(List.
metricList - a consumer that will call methods on
MetricKeyDataPoints.Builder#metricList(java.util.Collection) 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 © 2022. All rights reserved.