Class CfnOTelEnrichmentMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cloudwatch.CfnOTelEnrichmentMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOTelEnrichmentMixinProps>
- Enclosing interface:
CfnOTelEnrichmentMixinProps
@Stability(Stable)
public static final class CfnOTelEnrichmentMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOTelEnrichmentMixinProps>
A builder for
CfnOTelEnrichmentMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.excludeFilters(List<? extends Object> excludeFilters) Sets the value ofCfnOTelEnrichmentMixinProps.getExcludeFilters()excludeFilters(IResolvable excludeFilters) Sets the value ofCfnOTelEnrichmentMixinProps.getExcludeFilters()includeFilters(List<? extends Object> includeFilters) Sets the value ofCfnOTelEnrichmentMixinProps.getIncludeFilters()includeFilters(IResolvable includeFilters) Sets the value ofCfnOTelEnrichmentMixinProps.getIncludeFilters()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
excludeFilters
@Stability(Stable) public CfnOTelEnrichmentMixinProps.Builder excludeFilters(IResolvable excludeFilters) Sets the value ofCfnOTelEnrichmentMixinProps.getExcludeFilters()- Parameters:
excludeFilters- Removes metrics from the include set. Absent or empty means nothing is removed. Evaluated after IncludeFilters, so ExcludeFilters always wins.- Returns:
this
-
excludeFilters
@Stability(Stable) public CfnOTelEnrichmentMixinProps.Builder excludeFilters(List<? extends Object> excludeFilters) Sets the value ofCfnOTelEnrichmentMixinProps.getExcludeFilters()- Parameters:
excludeFilters- Removes metrics from the include set. Absent or empty means nothing is removed. Evaluated after IncludeFilters, so ExcludeFilters always wins.- Returns:
this
-
includeFilters
@Stability(Stable) public CfnOTelEnrichmentMixinProps.Builder includeFilters(IResolvable includeFilters) Sets the value ofCfnOTelEnrichmentMixinProps.getIncludeFilters()- Parameters:
includeFilters- Scopes enrichment to a subset of the account's telemetry. Absent or empty means all namespaces are in scope. Present means only these are. The service enforces a combined cap of 100 selectors across IncludeFilters and ExcludeFilters, and rejects more than one selector for the same namespace within a direction.- Returns:
this
-
includeFilters
@Stability(Stable) public CfnOTelEnrichmentMixinProps.Builder includeFilters(List<? extends Object> includeFilters) Sets the value ofCfnOTelEnrichmentMixinProps.getIncludeFilters()- Parameters:
includeFilters- Scopes enrichment to a subset of the account's telemetry. Absent or empty means all namespaces are in scope. Present means only these are. The service enforces a combined cap of 100 selectors across IncludeFilters and ExcludeFilters, and rejects more than one selector for the same namespace within a direction.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnOTelEnrichmentMixinProps>- Returns:
- a new instance of
CfnOTelEnrichmentMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-