Interface MetricsConfiguration.Builder

All Superinterfaces:
Buildable, CopyableBuilder<MetricsConfiguration.Builder,MetricsConfiguration>, SdkBuilder<MetricsConfiguration.Builder,MetricsConfiguration>, SdkPojo
Enclosing class:
MetricsConfiguration

public static interface MetricsConfiguration.Builder extends SdkPojo, CopyableBuilder<MetricsConfiguration.Builder,MetricsConfiguration>
  • Method Details

    • id

      The ID used to identify the metrics configuration. The ID has a 64 character limit and can only contain letters, numbers, periods, dashes, and underscores.

      Parameters:
      id - The ID used to identify the metrics configuration. The ID has a 64 character limit and can only contain letters, numbers, periods, dashes, and underscores.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filter

      Specifies a metrics configuration filter. The metrics configuration will only include objects that meet the filter's criteria. A filter must be a prefix, an object tag, an access point ARN, or a conjunction (MetricsAndOperator).

      Parameters:
      filter - Specifies a metrics configuration filter. The metrics configuration will only include objects that meet the filter's criteria. A filter must be a prefix, an object tag, an access point ARN, or a conjunction (MetricsAndOperator).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filter

      Specifies a metrics configuration filter. The metrics configuration will only include objects that meet the filter's criteria. A filter must be a prefix, an object tag, an access point ARN, or a conjunction (MetricsAndOperator).

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to filter(MetricsFilter).

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