Interface ContainerMonitoringConfiguration.Builder

  • Method Details

    • clusterArn

      The Amazon Resource Name (ARN) of the container cluster to monitor.

      Parameters:
      clusterArn - The Amazon Resource Name (ARN) of the container cluster to monitor.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • attributeFilters

      A list of key-value pairs that filter which containers within the cluster are monitored. Only containers that match the specified attributes are included.

      Parameters:
      attributeFilters - A list of key-value pairs that filter which containers within the cluster are monitored. Only containers that match the specified attributes are included.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • attributeFilters

      ContainerMonitoringConfiguration.Builder attributeFilters(ContainerAttribute... attributeFilters)

      A list of key-value pairs that filter which containers within the cluster are monitored. Only containers that match the specified attributes are included.

      Parameters:
      attributeFilters - A list of key-value pairs that filter which containers within the cluster are monitored. Only containers that match the specified attributes are included.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • attributeFilters

      A list of key-value pairs that filter which containers within the cluster are monitored. Only containers that match the specified attributes are included.

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

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

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