Class CfnOTelEnrichmentPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cloudwatch.CfnOTelEnrichmentPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOTelEnrichmentPropsMixin>
- Enclosing class:
CfnOTelEnrichmentPropsMixin
@Stability(Stable)
public static final class CfnOTelEnrichmentPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOTelEnrichmentPropsMixin>
A fluent builder for
CfnOTelEnrichmentPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) excludeFilters(List<? extends Object> excludeFilters) Removes metrics from the include set.excludeFilters(IResolvable excludeFilters) Removes metrics from the include set.includeFilters(List<? extends Object> includeFilters) Scopes enrichment to a subset of the account's telemetry.includeFilters(IResolvable includeFilters) Scopes enrichment to a subset of the account's telemetry.
-
Method Details
-
create
@Stability(Stable) public static CfnOTelEnrichmentPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnOTelEnrichmentPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnOTelEnrichmentPropsMixin.Builder.
-
excludeFilters
@Stability(Stable) public CfnOTelEnrichmentPropsMixin.Builder excludeFilters(IResolvable excludeFilters) Removes metrics from the include set.Absent or empty means nothing is removed. Evaluated after IncludeFilters, so ExcludeFilters always wins.
- Parameters:
excludeFilters- Removes metrics from the include set. This parameter is required.- Returns:
this- See Also:
-
excludeFilters
@Stability(Stable) public CfnOTelEnrichmentPropsMixin.Builder excludeFilters(List<? extends Object> excludeFilters) Removes metrics from the include set.Absent or empty means nothing is removed. Evaluated after IncludeFilters, so ExcludeFilters always wins.
- Parameters:
excludeFilters- Removes metrics from the include set. This parameter is required.- Returns:
this- See Also:
-
includeFilters
@Stability(Stable) public CfnOTelEnrichmentPropsMixin.Builder includeFilters(IResolvable 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.
- Parameters:
includeFilters- Scopes enrichment to a subset of the account's telemetry. This parameter is required.- Returns:
this- See Also:
-
includeFilters
@Stability(Stable) public CfnOTelEnrichmentPropsMixin.Builder includeFilters(List<? extends Object> 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.
- Parameters:
includeFilters- Scopes enrichment to a subset of the account's telemetry. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnOTelEnrichmentPropsMixin>- Returns:
- a newly built instance of
CfnOTelEnrichmentPropsMixin.
-