Interface StartOTelEnrichmentRequest.Builder

  • Method Details

    • includeFilters

      The metric namespaces, and the metric names, to enrich. If this parameter is omitted, every namespace that Amazon CloudWatch supports for enrichment is in scope.

      A maximum of 100 filters is allowed across IncludeFilters and ExcludeFilters combined.

      Parameters:
      includeFilters - The metric namespaces, and the metric names, to enrich. If this parameter is omitted, every namespace that Amazon CloudWatch supports for enrichment is in scope.

      A maximum of 100 filters is allowed across IncludeFilters and ExcludeFilters combined.

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

      The metric namespaces, and the metric names, to enrich. If this parameter is omitted, every namespace that Amazon CloudWatch supports for enrichment is in scope.

      A maximum of 100 filters is allowed across IncludeFilters and ExcludeFilters combined.

      Parameters:
      includeFilters - The metric namespaces, and the metric names, to enrich. If this parameter is omitted, every namespace that Amazon CloudWatch supports for enrichment is in scope.

      A maximum of 100 filters is allowed across IncludeFilters and ExcludeFilters combined.

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

      The metric namespaces, and the metric names, to enrich. If this parameter is omitted, every namespace that Amazon CloudWatch supports for enrichment is in scope.

      A maximum of 100 filters is allowed across IncludeFilters and ExcludeFilters combined.

      This is a convenience method that creates an instance of the OTelEnrichmentMetricSelector.Builder avoiding the need to create one manually via OTelEnrichmentMetricSelector.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to includeFilters(List<OTelEnrichmentMetricSelector>).

      Parameters:
      includeFilters - a consumer that will call methods on OTelEnrichmentMetricSelector.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • excludeFilters

      The metric namespaces, and the metric names, to leave unenriched. If this parameter is omitted, nothing is excluded.

      Amazon CloudWatch applies ExcludeFilters after IncludeFilters, so a metric that both parameters match is not enriched.

      A maximum of 100 filters is allowed across IncludeFilters and ExcludeFilters combined.

      Parameters:
      excludeFilters - The metric namespaces, and the metric names, to leave unenriched. If this parameter is omitted, nothing is excluded.

      Amazon CloudWatch applies ExcludeFilters after IncludeFilters, so a metric that both parameters match is not enriched.

      A maximum of 100 filters is allowed across IncludeFilters and ExcludeFilters combined.

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

      The metric namespaces, and the metric names, to leave unenriched. If this parameter is omitted, nothing is excluded.

      Amazon CloudWatch applies ExcludeFilters after IncludeFilters, so a metric that both parameters match is not enriched.

      A maximum of 100 filters is allowed across IncludeFilters and ExcludeFilters combined.

      Parameters:
      excludeFilters - The metric namespaces, and the metric names, to leave unenriched. If this parameter is omitted, nothing is excluded.

      Amazon CloudWatch applies ExcludeFilters after IncludeFilters, so a metric that both parameters match is not enriched.

      A maximum of 100 filters is allowed across IncludeFilters and ExcludeFilters combined.

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

      The metric namespaces, and the metric names, to leave unenriched. If this parameter is omitted, nothing is excluded.

      Amazon CloudWatch applies ExcludeFilters after IncludeFilters, so a metric that both parameters match is not enriched.

      A maximum of 100 filters is allowed across IncludeFilters and ExcludeFilters combined.

      This is a convenience method that creates an instance of the OTelEnrichmentMetricSelector.Builder avoiding the need to create one manually via OTelEnrichmentMetricSelector.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to excludeFilters(List<OTelEnrichmentMetricSelector>).

      Parameters:
      excludeFilters - a consumer that will call methods on OTelEnrichmentMetricSelector.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      StartOTelEnrichmentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.