Class CfnTelemetryRuleMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.observabilityadmin.CfnTelemetryRuleMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTelemetryRuleMixinProps>
- Enclosing interface:
CfnTelemetryRuleMixinProps
@Stability(Stable)
public static final class CfnTelemetryRuleMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTelemetryRuleMixinProps>
A builder for
CfnTelemetryRuleMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTelemetryRuleMixinProps.getRule()rule(IResolvable rule) Sets the value ofCfnTelemetryRuleMixinProps.getRule()Sets the value ofCfnTelemetryRuleMixinProps.getRuleName()Sets the value ofCfnTelemetryRuleMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
rule
Sets the value ofCfnTelemetryRuleMixinProps.getRule()- Parameters:
rule- Retrieves the details of a specific telemetry rule in your account.- Returns:
this
-
rule
@Stability(Stable) public CfnTelemetryRuleMixinProps.Builder rule(CfnTelemetryRulePropsMixin.TelemetryRuleProperty rule) Sets the value ofCfnTelemetryRuleMixinProps.getRule()- Parameters:
rule- Retrieves the details of a specific telemetry rule in your account.- Returns:
this
-
ruleName
Sets the value ofCfnTelemetryRuleMixinProps.getRuleName()- Parameters:
ruleName- The name of the telemetry rule.- Returns:
this
-
tags
Sets the value ofCfnTelemetryRuleMixinProps.getTags()- Parameters:
tags- Lists all tags attached to the specified resource. Supports telemetry rule resources and telemetry pipeline resources.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTelemetryRuleMixinProps>- Returns:
- a new instance of
CfnTelemetryRuleMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-