Interface GetOTelEnrichmentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudWatchResponse.Builder,CopyableBuilder<GetOTelEnrichmentResponse.Builder,,GetOTelEnrichmentResponse> SdkBuilder<GetOTelEnrichmentResponse.Builder,,GetOTelEnrichmentResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetOTelEnrichmentResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe date and time that enrichment started for the account.excludeFilters(Collection<OTelEnrichmentMetricSelector> excludeFilters) The metric namespaces, and the metric names, that are left unenriched.excludeFilters(Consumer<OTelEnrichmentMetricSelector.Builder>... excludeFilters) The metric namespaces, and the metric names, that are left unenriched.excludeFilters(OTelEnrichmentMetricSelector... excludeFilters) The metric namespaces, and the metric names, that are left unenriched.includeFilters(Collection<OTelEnrichmentMetricSelector> includeFilters) The metric namespaces, and the metric names, that are enriched.includeFilters(Consumer<OTelEnrichmentMetricSelector.Builder>... includeFilters) The metric namespaces, and the metric names, that are enriched.includeFilters(OTelEnrichmentMetricSelector... includeFilters) The metric namespaces, and the metric names, that are enriched.The status of OTel enrichment for the account.status(OTelEnrichmentStatus status) The status of OTel enrichment for the account.The date and time that the enrichment configuration for the account was last stored.Methods inherited from interface software.amazon.awssdk.services.cloudwatch.model.CloudWatchResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
status
The status of OTel enrichment for the account. Valid values are
Running(enrichment is enabled) andStopped(enrichment is disabled).- Parameters:
status- The status of OTel enrichment for the account. Valid values areRunning(enrichment is enabled) andStopped(enrichment is disabled).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of OTel enrichment for the account. Valid values are
Running(enrichment is enabled) andStopped(enrichment is disabled).- Parameters:
status- The status of OTel enrichment for the account. Valid values areRunning(enrichment is enabled) andStopped(enrichment is disabled).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
includeFilters
GetOTelEnrichmentResponse.Builder includeFilters(Collection<OTelEnrichmentMetricSelector> includeFilters) The metric namespaces, and the metric names, that are enriched. This parameter is omitted when enrichment is stopped, and when enrichment is running with no include filters, which means that every supported namespace is in scope.
- Parameters:
includeFilters- The metric namespaces, and the metric names, that are enriched. This parameter is omitted when enrichment is stopped, and when enrichment is running with no include filters, which means that every supported namespace is in scope.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includeFilters
The metric namespaces, and the metric names, that are enriched. This parameter is omitted when enrichment is stopped, and when enrichment is running with no include filters, which means that every supported namespace is in scope.
- Parameters:
includeFilters- The metric namespaces, and the metric names, that are enriched. This parameter is omitted when enrichment is stopped, and when enrichment is running with no include filters, which means that every supported namespace is in scope.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includeFilters
GetOTelEnrichmentResponse.Builder includeFilters(Consumer<OTelEnrichmentMetricSelector.Builder>... includeFilters) The metric namespaces, and the metric names, that are enriched. This parameter is omitted when enrichment is stopped, and when enrichment is running with no include filters, which means that every supported namespace is in scope.
This is a convenience method that creates an instance of theOTelEnrichmentMetricSelector.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
GetOTelEnrichmentResponse.Builder excludeFilters(Collection<OTelEnrichmentMetricSelector> excludeFilters) The metric namespaces, and the metric names, that are left unenriched. This parameter is omitted when enrichment is stopped, and when enrichment is running with no exclude filters, which means that nothing is excluded.
- Parameters:
excludeFilters- The metric namespaces, and the metric names, that are left unenriched. This parameter is omitted when enrichment is stopped, and when enrichment is running with no exclude filters, which means that nothing is excluded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludeFilters
The metric namespaces, and the metric names, that are left unenriched. This parameter is omitted when enrichment is stopped, and when enrichment is running with no exclude filters, which means that nothing is excluded.
- Parameters:
excludeFilters- The metric namespaces, and the metric names, that are left unenriched. This parameter is omitted when enrichment is stopped, and when enrichment is running with no exclude filters, which means that nothing is excluded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludeFilters
GetOTelEnrichmentResponse.Builder excludeFilters(Consumer<OTelEnrichmentMetricSelector.Builder>... excludeFilters) The metric namespaces, and the metric names, that are left unenriched. This parameter is omitted when enrichment is stopped, and when enrichment is running with no exclude filters, which means that nothing is excluded.
This is a convenience method that creates an instance of theOTelEnrichmentMetricSelector.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:
-
createdAt
The date and time that enrichment started for the account. This parameter is omitted when enrichment is stopped.
- Parameters:
createdAt- The date and time that enrichment started for the account. This parameter is omitted when enrichment is stopped.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The date and time that the enrichment configuration for the account was last stored.
- Parameters:
updatedAt- The date and time that the enrichment configuration for the account was last stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-