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