Class CfnOrganizationTelemetryRuleProps.Builder
java.lang.Object
software.amazon.awscdk.services.observabilityadmin.CfnOrganizationTelemetryRuleProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOrganizationTelemetryRuleProps>
- Enclosing interface:
CfnOrganizationTelemetryRuleProps
@Stability(Stable)
public static final class CfnOrganizationTelemetryRuleProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOrganizationTelemetryRuleProps>
A builder for
CfnOrganizationTelemetryRuleProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.rule(IResolvable rule) Sets the value ofCfnOrganizationTelemetryRuleProps.getRule()Sets the value ofCfnOrganizationTelemetryRuleProps.getRule()Sets the value ofCfnOrganizationTelemetryRuleProps.getRuleName()Sets the value ofCfnOrganizationTelemetryRuleProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
rule
Sets the value ofCfnOrganizationTelemetryRuleProps.getRule()- Parameters:
rule- The name of the organization telemetry rule. This parameter is required.- Returns:
this
-
rule
@Stability(Stable) public CfnOrganizationTelemetryRuleProps.Builder rule(CfnOrganizationTelemetryRule.TelemetryRuleProperty rule) Sets the value ofCfnOrganizationTelemetryRuleProps.getRule()- Parameters:
rule- The name of the organization telemetry rule. This parameter is required.- Returns:
this
-
ruleName
Sets the value ofCfnOrganizationTelemetryRuleProps.getRuleName()- Parameters:
ruleName- The name of the organization centralization rule. This parameter is required.- Returns:
this
-
tags
@Stability(Stable) public CfnOrganizationTelemetryRuleProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnOrganizationTelemetryRuleProps.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<CfnOrganizationTelemetryRuleProps>- Returns:
- a new instance of
CfnOrganizationTelemetryRuleProps - Throws:
NullPointerException- if any required attribute was not provided
-