Class CfnTelemetryRulePropsMixin.RegionStatusProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.observabilityadmin.CfnTelemetryRulePropsMixin.RegionStatusProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTelemetryRulePropsMixin.RegionStatusProperty>
- Enclosing interface:
CfnTelemetryRulePropsMixin.RegionStatusProperty
@Stability(Stable)
public static final class CfnTelemetryRulePropsMixin.RegionStatusProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTelemetryRulePropsMixin.RegionStatusProperty>
A builder for
CfnTelemetryRulePropsMixin.RegionStatusProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTelemetryRulePropsMixin.RegionStatusProperty.getRegion()Sets the value ofCfnTelemetryRulePropsMixin.RegionStatusProperty.getRuleArn()Sets the value ofCfnTelemetryRulePropsMixin.RegionStatusProperty.getStatus()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
region
@Stability(Stable) public CfnTelemetryRulePropsMixin.RegionStatusProperty.Builder region(String region) Sets the value ofCfnTelemetryRulePropsMixin.RegionStatusProperty.getRegion()- Parameters:
region- The AWS region code.- Returns:
this
-
ruleArn
@Stability(Stable) public CfnTelemetryRulePropsMixin.RegionStatusProperty.Builder ruleArn(String ruleArn) Sets the value ofCfnTelemetryRulePropsMixin.RegionStatusProperty.getRuleArn()- Parameters:
ruleArn- The ARN of the rule in this region.- Returns:
this
-
status
@Stability(Stable) public CfnTelemetryRulePropsMixin.RegionStatusProperty.Builder status(String status) Sets the value ofCfnTelemetryRulePropsMixin.RegionStatusProperty.getStatus()- Parameters:
status- The replication status of the rule in this region.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTelemetryRulePropsMixin.RegionStatusProperty>- Returns:
- a new instance of
CfnTelemetryRulePropsMixin.RegionStatusProperty - Throws:
NullPointerException- if any required attribute was not provided
-