Class CfnOrganizationTelemetryRule.Builder
java.lang.Object
software.amazon.awscdk.services.observabilityadmin.CfnOrganizationTelemetryRule.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOrganizationTelemetryRule>
- Enclosing class:
CfnOrganizationTelemetryRule
@Stability(Stable)
public static final class CfnOrganizationTelemetryRule.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOrganizationTelemetryRule>
A fluent builder for
CfnOrganizationTelemetryRule
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
rule
(IResolvable rule) The telemetry rule.The telemetry rule.The name of the organization telemetry rule.An array of key-value pairs to apply to this resource.
-
Method Details
-
create
@Stability(Stable) public static CfnOrganizationTelemetryRule.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
CfnOrganizationTelemetryRule.Builder
.
-
rule
The telemetry rule.- Parameters:
rule
- The telemetry rule. This parameter is required.- Returns:
this
- See Also:
-
rule
@Stability(Stable) public CfnOrganizationTelemetryRule.Builder rule(CfnOrganizationTelemetryRule.TelemetryRuleProperty rule) The telemetry rule.- Parameters:
rule
- The telemetry rule. This parameter is required.- Returns:
this
- See Also:
-
ruleName
The name of the organization telemetry rule.- Parameters:
ruleName
- The name of the organization telemetry rule. This parameter is required.- Returns:
this
- See Also:
-
tags
An array of key-value pairs to apply to this resource.- Parameters:
tags
- An array of key-value pairs to apply to this resource. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnOrganizationTelemetryRule>
- Returns:
- a newly built instance of
CfnOrganizationTelemetryRule
.
-