Interface ContainerMonitoringConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ContainerMonitoringConfiguration.Builder,,ContainerMonitoringConfiguration> SdkBuilder<ContainerMonitoringConfiguration.Builder,,ContainerMonitoringConfiguration> SdkPojo
- Enclosing class:
ContainerMonitoringConfiguration
@Mutable
@NotThreadSafe
public static interface ContainerMonitoringConfiguration.Builder
extends SdkPojo, CopyableBuilder<ContainerMonitoringConfiguration.Builder,ContainerMonitoringConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionattributeFilters(Collection<ContainerAttribute> attributeFilters) A list of key-value pairs that filter which containers within the cluster are monitored.attributeFilters(Consumer<ContainerAttribute.Builder>... attributeFilters) A list of key-value pairs that filter which containers within the cluster are monitored.attributeFilters(ContainerAttribute... attributeFilters) A list of key-value pairs that filter which containers within the cluster are monitored.clusterArn(String clusterArn) The Amazon Resource Name (ARN) of the container cluster to monitor.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
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
ContainerMonitoringConfiguration.Builder attributeFilters(Collection<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.
- 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(Consumer<ContainerAttribute.Builder>... 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 theContainerAttribute.Builderavoiding the need to create one manually viaContainerAttribute.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattributeFilters(List<ContainerAttribute>).- Parameters:
attributeFilters- a consumer that will call methods onContainerAttribute.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-