Interface CreateTelemetryRuleRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateTelemetryRuleRequest.Builder,,CreateTelemetryRuleRequest> ObservabilityAdminRequest.Builder,SdkBuilder<CreateTelemetryRuleRequest.Builder,,CreateTelemetryRuleRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateTelemetryRuleRequest
@Mutable
@NotThreadSafe
public static interface CreateTelemetryRuleRequest.Builder
extends ObservabilityAdminRequest.Builder, SdkPojo, CopyableBuilder<CreateTelemetryRuleRequest.Builder,CreateTelemetryRuleRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.rule(Consumer<TelemetryRule.Builder> rule) The configuration details for the telemetry rule, including the resource type, telemetry type, destination configuration, and selection criteria for which resources the rule applies to.rule(TelemetryRule rule) The configuration details for the telemetry rule, including the resource type, telemetry type, destination configuration, and selection criteria for which resources the rule applies to.A unique name for the telemetry rule being created.The key-value pairs to associate with the telemetry rule resource for categorization and management purposes.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.observabilityadmin.model.ObservabilityAdminRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
ruleName
A unique name for the telemetry rule being created.
- Parameters:
ruleName- A unique name for the telemetry rule being created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rule
The configuration details for the telemetry rule, including the resource type, telemetry type, destination configuration, and selection criteria for which resources the rule applies to.
- Parameters:
rule- The configuration details for the telemetry rule, including the resource type, telemetry type, destination configuration, and selection criteria for which resources the rule applies to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rule
The configuration details for the telemetry rule, including the resource type, telemetry type, destination configuration, and selection criteria for which resources the rule applies to.
This is a convenience method that creates an instance of theTelemetryRule.Builderavoiding the need to create one manually viaTelemetryRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torule(TelemetryRule).- Parameters:
rule- a consumer that will call methods onTelemetryRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The key-value pairs to associate with the telemetry rule resource for categorization and management purposes.
- Parameters:
tags- The key-value pairs to associate with the telemetry rule resource for categorization and management purposes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateTelemetryRuleRequest.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
CreateTelemetryRuleRequest.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.
-