Class CfnOrganizationCentralizationRuleProps.Builder
java.lang.Object
software.amazon.awscdk.services.observabilityadmin.CfnOrganizationCentralizationRuleProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOrganizationCentralizationRuleProps>
- Enclosing interface:
CfnOrganizationCentralizationRuleProps
@Stability(Stable)
public static final class CfnOrganizationCentralizationRuleProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOrganizationCentralizationRuleProps>
A builder for
CfnOrganizationCentralizationRuleProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.rule(IResolvable rule) Sets the value ofCfnOrganizationCentralizationRuleProps.getRule()Sets the value ofCfnOrganizationCentralizationRuleProps.getRule()Sets the value ofCfnOrganizationCentralizationRuleProps.getRuleName()Sets the value ofCfnOrganizationCentralizationRuleProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
rule
Sets the value ofCfnOrganizationCentralizationRuleProps.getRule()- Parameters:
rule- the value to be set. This parameter is required.- Returns:
this
-
rule
@Stability(Stable) public CfnOrganizationCentralizationRuleProps.Builder rule(CfnOrganizationCentralizationRule.CentralizationRuleProperty rule) Sets the value ofCfnOrganizationCentralizationRuleProps.getRule()- Parameters:
rule- the value to be set. This parameter is required.- Returns:
this
-
ruleName
Sets the value ofCfnOrganizationCentralizationRuleProps.getRuleName()- Parameters:
ruleName- The name of the organization centralization rule. This parameter is required.- Returns:
this
-
tags
@Stability(Stable) public CfnOrganizationCentralizationRuleProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnOrganizationCentralizationRuleProps.getTags()- Parameters:
tags- A key-value pair to filter resources based on tags associated with the resource. For more information about tags, see What are tags?- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnOrganizationCentralizationRuleProps>- Returns:
- a new instance of
CfnOrganizationCentralizationRuleProps - Throws:
NullPointerException- if any required attribute was not provided
-