Interface EnhancedMetrics.Builder

    • Method Detail

      • shardLevelMetricsWithStrings

        EnhancedMetrics.Builder shardLevelMetricsWithStrings​(Collection<String> shardLevelMetrics)

        List of shard-level metrics.

        The following are the valid shard-level metrics. The value "ALL" enhances every metric.

        • IncomingBytes

        • IncomingRecords

        • OutgoingBytes

        • OutgoingRecords

        • WriteProvisionedThroughputExceeded

        • ReadProvisionedThroughputExceeded

        • IteratorAgeMilliseconds

        • ALL

        For more information, see Monitoring the Amazon Kinesis Data Streams Service with Amazon CloudWatch in the Amazon Kinesis Data Streams Developer Guide.

        Parameters:
        shardLevelMetrics - List of shard-level metrics.

        The following are the valid shard-level metrics. The value "ALL" enhances every metric.

        • IncomingBytes

        • IncomingRecords

        • OutgoingBytes

        • OutgoingRecords

        • WriteProvisionedThroughputExceeded

        • ReadProvisionedThroughputExceeded

        • IteratorAgeMilliseconds

        • ALL

        For more information, see Monitoring the Amazon Kinesis Data Streams Service with Amazon CloudWatch in the Amazon Kinesis Data Streams Developer Guide.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • shardLevelMetricsWithStrings

        EnhancedMetrics.Builder shardLevelMetricsWithStrings​(String... shardLevelMetrics)

        List of shard-level metrics.

        The following are the valid shard-level metrics. The value "ALL" enhances every metric.

        • IncomingBytes

        • IncomingRecords

        • OutgoingBytes

        • OutgoingRecords

        • WriteProvisionedThroughputExceeded

        • ReadProvisionedThroughputExceeded

        • IteratorAgeMilliseconds

        • ALL

        For more information, see Monitoring the Amazon Kinesis Data Streams Service with Amazon CloudWatch in the Amazon Kinesis Data Streams Developer Guide.

        Parameters:
        shardLevelMetrics - List of shard-level metrics.

        The following are the valid shard-level metrics. The value "ALL" enhances every metric.

        • IncomingBytes

        • IncomingRecords

        • OutgoingBytes

        • OutgoingRecords

        • WriteProvisionedThroughputExceeded

        • ReadProvisionedThroughputExceeded

        • IteratorAgeMilliseconds

        • ALL

        For more information, see Monitoring the Amazon Kinesis Data Streams Service with Amazon CloudWatch in the Amazon Kinesis Data Streams Developer Guide.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • shardLevelMetrics

        EnhancedMetrics.Builder shardLevelMetrics​(Collection<MetricsName> shardLevelMetrics)

        List of shard-level metrics.

        The following are the valid shard-level metrics. The value "ALL" enhances every metric.

        • IncomingBytes

        • IncomingRecords

        • OutgoingBytes

        • OutgoingRecords

        • WriteProvisionedThroughputExceeded

        • ReadProvisionedThroughputExceeded

        • IteratorAgeMilliseconds

        • ALL

        For more information, see Monitoring the Amazon Kinesis Data Streams Service with Amazon CloudWatch in the Amazon Kinesis Data Streams Developer Guide.

        Parameters:
        shardLevelMetrics - List of shard-level metrics.

        The following are the valid shard-level metrics. The value "ALL" enhances every metric.

        • IncomingBytes

        • IncomingRecords

        • OutgoingBytes

        • OutgoingRecords

        • WriteProvisionedThroughputExceeded

        • ReadProvisionedThroughputExceeded

        • IteratorAgeMilliseconds

        • ALL

        For more information, see Monitoring the Amazon Kinesis Data Streams Service with Amazon CloudWatch in the Amazon Kinesis Data Streams Developer Guide.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • shardLevelMetrics

        EnhancedMetrics.Builder shardLevelMetrics​(MetricsName... shardLevelMetrics)

        List of shard-level metrics.

        The following are the valid shard-level metrics. The value "ALL" enhances every metric.

        • IncomingBytes

        • IncomingRecords

        • OutgoingBytes

        • OutgoingRecords

        • WriteProvisionedThroughputExceeded

        • ReadProvisionedThroughputExceeded

        • IteratorAgeMilliseconds

        • ALL

        For more information, see Monitoring the Amazon Kinesis Data Streams Service with Amazon CloudWatch in the Amazon Kinesis Data Streams Developer Guide.

        Parameters:
        shardLevelMetrics - List of shard-level metrics.

        The following are the valid shard-level metrics. The value "ALL" enhances every metric.

        • IncomingBytes

        • IncomingRecords

        • OutgoingBytes

        • OutgoingRecords

        • WriteProvisionedThroughputExceeded

        • ReadProvisionedThroughputExceeded

        • IteratorAgeMilliseconds

        • ALL

        For more information, see Monitoring the Amazon Kinesis Data Streams Service with Amazon CloudWatch in the Amazon Kinesis Data Streams Developer Guide.

        Returns:
        Returns a reference to this object so that method calls can be chained together.