Interface ListAvailableResourceMetricsRequest.Builder

    • Method Detail

      • serviceType

        ListAvailableResourceMetricsRequest.Builder serviceType​(String 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, ServiceType
      • serviceType

        ListAvailableResourceMetricsRequest.Builder serviceType​(ServiceType 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, ServiceType
      • identifier

        ListAvailableResourceMetricsRequest.Builder identifier​(String 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 DbiResourceId value. For example, specify db-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 its DbiResourceId value. For example, specify db-ABCDEFGHIJKLMNOPQRSTU1VWZ.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • metricTypes

        ListAvailableResourceMetricsRequest.Builder metricTypes​(Collection<String> 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

        ListAvailableResourceMetricsRequest.Builder metricTypes​(String... 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

        ListAvailableResourceMetricsRequest.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.

        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 by MaxRecords.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxResults

        ListAvailableResourceMetricsRequest.Builder maxResults​(Integer maxResults)

        The maximum number of items to return. If the MaxRecords value is less than the number of existing items, the response includes a pagination token.

        Parameters:
        maxResults - The maximum number of items to return. If the MaxRecords value 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.