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