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