Interface MetricConfiguration.Builder

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

@Mutable @NotThreadSafe public static interface MetricConfiguration.Builder extends SdkPojo, CopyableBuilder<MetricConfiguration.Builder,MetricConfiguration>
  • Method Details

    • metricNames

      MetricConfiguration.Builder metricNames(Collection<String> metricNames)

      The list of metric names to configure. The supported metric names are CPUUtilization and MemoryUtilization.

      Parameters:
      metricNames - The list of metric names to configure. The supported metric names are CPUUtilization and MemoryUtilization.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metricNames

      MetricConfiguration.Builder metricNames(String... metricNames)

      The list of metric names to configure. The supported metric names are CPUUtilization and MemoryUtilization.

      Parameters:
      metricNames - The list of metric names to configure. The supported metric names are CPUUtilization and MemoryUtilization.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resolutionSeconds

      MetricConfiguration.Builder resolutionSeconds(Integer resolutionSeconds)

      The resolution, in seconds, at which to collect the metrics. The valid values are 20 and 60.

      Parameters:
      resolutionSeconds - The resolution, in seconds, at which to collect the metrics. The valid values are 20 and 60.
      Returns:
      Returns a reference to this object so that method calls can be chained together.