Interface ListAvailableResourceMetricsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListAvailableResourceMetricsRequest.Builder,,ListAvailableResourceMetricsRequest> PiRequest.Builder,SdkBuilder<ListAvailableResourceMetricsRequest.Builder,,ListAvailableResourceMetricsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListAvailableResourceMetricsRequest
-
Method Summary
Modifier and TypeMethodDescriptionidentifier(String identifier) An immutable identifier for a data source that is unique within an Amazon Web Services Region.maxResults(Integer maxResults) The maximum number of items to return.metricTypes(String... metricTypes) The types of metrics to return in the response.metricTypes(Collection<String> metricTypes) The types of metrics to return in the response.An optional pagination token provided by a previous request.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) serviceType(String serviceType) The Amazon Web Services service for which Performance Insights returns metrics.serviceType(ServiceType serviceType) The Amazon Web Services service for which Performance Insights returns metrics.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.pi.model.PiRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
serviceType
The Amazon Web Services service for which Performance Insights returns metrics.
- Parameters:
serviceType- The Amazon Web Services service for which Performance Insights returns metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serviceType
The Amazon Web Services service for which Performance Insights returns metrics.
- Parameters:
serviceType- The Amazon Web Services service for which Performance Insights returns metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
identifier
An immutable identifier for a data source that is unique within an Amazon Web Services Region. Performance Insights gathers metrics from this data source. To use an Amazon RDS DB instance as a data source, specify its
DbiResourceIdvalue. For example, specifydb-ABCDEFGHIJKLMNOPQRSTU1VWZ.- Parameters:
identifier- An immutable identifier for a data source that is unique within an Amazon Web Services Region. Performance Insights gathers metrics from this data source. To use an Amazon RDS DB instance as a data source, specify itsDbiResourceIdvalue. For example, specifydb-ABCDEFGHIJKLMNOPQRSTU1VWZ.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricTypes
The types of metrics to return in the response. Valid values in the array include the following:
-
os(OS counter metrics) - All engines -
db(DB load metrics) - All engines except for Amazon DocumentDB -
db.sql.stats(per-SQL metrics) - All engines except for Amazon DocumentDB -
db.sql_tokenized.stats(per-SQL digest metrics) - All engines except for Amazon DocumentDB
- Parameters:
metricTypes- The types of metrics to return in the response. Valid values in the array include the following:-
os(OS counter metrics) - All engines -
db(DB load metrics) - All engines except for Amazon DocumentDB -
db.sql.stats(per-SQL metrics) - All engines except for Amazon DocumentDB -
db.sql_tokenized.stats(per-SQL digest metrics) - All engines except for Amazon DocumentDB
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
metricTypes
The types of metrics to return in the response. Valid values in the array include the following:
-
os(OS counter metrics) - All engines -
db(DB load metrics) - All engines except for Amazon DocumentDB -
db.sql.stats(per-SQL metrics) - All engines except for Amazon DocumentDB -
db.sql_tokenized.stats(per-SQL digest metrics) - All engines except for Amazon DocumentDB
- Parameters:
metricTypes- The types of metrics to return in the response. Valid values in the array include the following:-
os(OS counter metrics) - All engines -
db(DB load metrics) - All engines except for Amazon DocumentDB -
db.sql.stats(per-SQL metrics) - All engines except for Amazon DocumentDB -
db.sql_tokenized.stats(per-SQL digest metrics) - All engines except for Amazon DocumentDB
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
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.- Parameters:
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 byMaxRecords.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of items to return. If the
MaxRecordsvalue is less than the number of existing items, the response includes a pagination token.- Parameters:
maxResults- The maximum number of items to return. If theMaxRecordsvalue is less than the number of existing items, the response includes a pagination token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListAvailableResourceMetricsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListAvailableResourceMetricsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-