Class CfnTelemetryRule.Builder
java.lang.Object
software.amazon.awscdk.services.observabilityadmin.CfnTelemetryRule.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTelemetryRule>
- Enclosing class:
CfnTelemetryRule
@Stability(Stable)
public static final class CfnTelemetryRule.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTelemetryRule>
A fluent builder for
CfnTelemetryRule.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnTelemetryRule.Builderrule(IResolvable rule) Retrieves the details of a specific telemetry rule in your account.Retrieves the details of a specific telemetry rule in your account.The name of the telemetry rule.Lists all tags attached to the specified telemetry rule resource.
-
Method Details
-
create
@Stability(Stable) public static CfnTelemetryRule.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnTelemetryRule.Builder.
-
rule
Retrieves the details of a specific telemetry rule in your account.- Parameters:
rule- Retrieves the details of a specific telemetry rule in your account. This parameter is required.- Returns:
this- See Also:
-
rule
@Stability(Stable) public CfnTelemetryRule.Builder rule(CfnTelemetryRule.TelemetryRuleProperty rule) Retrieves the details of a specific telemetry rule in your account.- Parameters:
rule- Retrieves the details of a specific telemetry rule in your account. This parameter is required.- Returns:
this- See Also:
-
ruleName
The name of the telemetry rule.- Parameters:
ruleName- The name of the telemetry rule. This parameter is required.- Returns:
this- See Also:
-
tags
Lists all tags attached to the specified telemetry rule resource.- Parameters:
tags- Lists all tags attached to the specified telemetry rule resource. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTelemetryRule>- Returns:
- a newly built instance of
CfnTelemetryRule.
-