Interface UpdateOTelEnrichmentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudWatchRequest.Builder,CopyableBuilder<UpdateOTelEnrichmentRequest.Builder,,UpdateOTelEnrichmentRequest> SdkBuilder<UpdateOTelEnrichmentRequest.Builder,,UpdateOTelEnrichmentRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateOTelEnrichmentRequest
-
Method Summary
Modifier and TypeMethodDescriptionexcludeFilters(Collection<OTelEnrichmentMetricSelector> excludeFilters) The metric namespaces, and the metric names, to leave unenriched.excludeFilters(Consumer<OTelEnrichmentMetricSelector.Builder>... excludeFilters) The metric namespaces, and the metric names, to leave unenriched.excludeFilters(OTelEnrichmentMetricSelector... excludeFilters) The metric namespaces, and the metric names, to leave unenriched.includeFilters(Collection<OTelEnrichmentMetricSelector> includeFilters) The metric namespaces, and the metric names, to enrich.includeFilters(Consumer<OTelEnrichmentMetricSelector.Builder>... includeFilters) The metric namespaces, and the metric names, to enrich.includeFilters(OTelEnrichmentMetricSelector... includeFilters) The metric namespaces, and the metric names, to enrich.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudwatch.model.CloudWatchRequest.Builder
buildMethods 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
-
includeFilters
UpdateOTelEnrichmentRequest.Builder includeFilters(Collection<OTelEnrichmentMetricSelector> includeFilters) The metric namespaces, and the metric names, to enrich. If this parameter is omitted, every namespace that Amazon CloudWatch supports for enrichment is in scope.
A maximum of 100 filters is allowed across
IncludeFiltersandExcludeFilterscombined.- Parameters:
includeFilters- The metric namespaces, and the metric names, to enrich. If this parameter is omitted, every namespace that Amazon CloudWatch supports for enrichment is in scope.A maximum of 100 filters is allowed across
IncludeFiltersandExcludeFilterscombined.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includeFilters
The metric namespaces, and the metric names, to enrich. If this parameter is omitted, every namespace that Amazon CloudWatch supports for enrichment is in scope.
A maximum of 100 filters is allowed across
IncludeFiltersandExcludeFilterscombined.- Parameters:
includeFilters- The metric namespaces, and the metric names, to enrich. If this parameter is omitted, every namespace that Amazon CloudWatch supports for enrichment is in scope.A maximum of 100 filters is allowed across
IncludeFiltersandExcludeFilterscombined.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includeFilters
UpdateOTelEnrichmentRequest.Builder includeFilters(Consumer<OTelEnrichmentMetricSelector.Builder>... includeFilters) The metric namespaces, and the metric names, to enrich. If this parameter is omitted, every namespace that Amazon CloudWatch supports for enrichment is in scope.
A maximum of 100 filters is allowed across
This is a convenience method that creates an instance of theIncludeFiltersandExcludeFilterscombined.OTelEnrichmentMetricSelector.Builderavoiding the need to create one manually viaOTelEnrichmentMetricSelector.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toincludeFilters(List<OTelEnrichmentMetricSelector>).- Parameters:
includeFilters- a consumer that will call methods onOTelEnrichmentMetricSelector.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
excludeFilters
UpdateOTelEnrichmentRequest.Builder excludeFilters(Collection<OTelEnrichmentMetricSelector> excludeFilters) The metric namespaces, and the metric names, to leave unenriched. If this parameter is omitted, nothing is excluded.
Amazon CloudWatch applies
ExcludeFiltersafterIncludeFilters, so a metric that both parameters match is not enriched.A maximum of 100 filters is allowed across
IncludeFiltersandExcludeFilterscombined.- Parameters:
excludeFilters- The metric namespaces, and the metric names, to leave unenriched. If this parameter is omitted, nothing is excluded.Amazon CloudWatch applies
ExcludeFiltersafterIncludeFilters, so a metric that both parameters match is not enriched.A maximum of 100 filters is allowed across
IncludeFiltersandExcludeFilterscombined.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludeFilters
The metric namespaces, and the metric names, to leave unenriched. If this parameter is omitted, nothing is excluded.
Amazon CloudWatch applies
ExcludeFiltersafterIncludeFilters, so a metric that both parameters match is not enriched.A maximum of 100 filters is allowed across
IncludeFiltersandExcludeFilterscombined.- Parameters:
excludeFilters- The metric namespaces, and the metric names, to leave unenriched. If this parameter is omitted, nothing is excluded.Amazon CloudWatch applies
ExcludeFiltersafterIncludeFilters, so a metric that both parameters match is not enriched.A maximum of 100 filters is allowed across
IncludeFiltersandExcludeFilterscombined.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludeFilters
UpdateOTelEnrichmentRequest.Builder excludeFilters(Consumer<OTelEnrichmentMetricSelector.Builder>... excludeFilters) The metric namespaces, and the metric names, to leave unenriched. If this parameter is omitted, nothing is excluded.
Amazon CloudWatch applies
ExcludeFiltersafterIncludeFilters, so a metric that both parameters match is not enriched.A maximum of 100 filters is allowed across
This is a convenience method that creates an instance of theIncludeFiltersandExcludeFilterscombined.OTelEnrichmentMetricSelector.Builderavoiding the need to create one manually viaOTelEnrichmentMetricSelector.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexcludeFilters(List<OTelEnrichmentMetricSelector>).- Parameters:
excludeFilters- a consumer that will call methods onOTelEnrichmentMetricSelector.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateOTelEnrichmentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateOTelEnrichmentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-