Class CfnOrganizationConfigRuleProps.Builder
java.lang.Object
software.amazon.awscdk.services.config.CfnOrganizationConfigRuleProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOrganizationConfigRuleProps>
- Enclosing interface:
CfnOrganizationConfigRuleProps
@Stability(Stable)
public static final class CfnOrganizationConfigRuleProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOrganizationConfigRuleProps>
A builder for
CfnOrganizationConfigRuleProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.excludedAccounts
(List<String> excludedAccounts) Sets the value ofCfnOrganizationConfigRuleProps.getExcludedAccounts()
organizationConfigRuleName
(String organizationConfigRuleName) Sets the value ofCfnOrganizationConfigRuleProps.getOrganizationConfigRuleName()
organizationCustomPolicyRuleMetadata
(IResolvable organizationCustomPolicyRuleMetadata) Sets the value ofCfnOrganizationConfigRuleProps.getOrganizationCustomPolicyRuleMetadata()
organizationCustomPolicyRuleMetadata
(CfnOrganizationConfigRule.OrganizationCustomPolicyRuleMetadataProperty organizationCustomPolicyRuleMetadata) Sets the value ofCfnOrganizationConfigRuleProps.getOrganizationCustomPolicyRuleMetadata()
organizationCustomRuleMetadata
(IResolvable organizationCustomRuleMetadata) Sets the value ofCfnOrganizationConfigRuleProps.getOrganizationCustomRuleMetadata()
organizationCustomRuleMetadata
(CfnOrganizationConfigRule.OrganizationCustomRuleMetadataProperty organizationCustomRuleMetadata) Sets the value ofCfnOrganizationConfigRuleProps.getOrganizationCustomRuleMetadata()
organizationManagedRuleMetadata
(IResolvable organizationManagedRuleMetadata) Sets the value ofCfnOrganizationConfigRuleProps.getOrganizationManagedRuleMetadata()
organizationManagedRuleMetadata
(CfnOrganizationConfigRule.OrganizationManagedRuleMetadataProperty organizationManagedRuleMetadata) Sets the value ofCfnOrganizationConfigRuleProps.getOrganizationManagedRuleMetadata()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
organizationConfigRuleName
@Stability(Stable) public CfnOrganizationConfigRuleProps.Builder organizationConfigRuleName(String organizationConfigRuleName) Sets the value ofCfnOrganizationConfigRuleProps.getOrganizationConfigRuleName()
- Parameters:
organizationConfigRuleName
- The name that you assign to organization AWS Config rule. This parameter is required.- Returns:
this
-
excludedAccounts
@Stability(Stable) public CfnOrganizationConfigRuleProps.Builder excludedAccounts(List<String> excludedAccounts) Sets the value ofCfnOrganizationConfigRuleProps.getExcludedAccounts()
- Parameters:
excludedAccounts
- A comma-separated list of accounts excluded from organization AWS Config rule.- Returns:
this
-
organizationCustomPolicyRuleMetadata
@Stability(Stable) public CfnOrganizationConfigRuleProps.Builder organizationCustomPolicyRuleMetadata(IResolvable organizationCustomPolicyRuleMetadata) Sets the value ofCfnOrganizationConfigRuleProps.getOrganizationCustomPolicyRuleMetadata()
- Parameters:
organizationCustomPolicyRuleMetadata
-AWS::Config::OrganizationConfigRule.OrganizationCustomPolicyRuleMetadata
.- Returns:
this
-
organizationCustomPolicyRuleMetadata
@Stability(Stable) public CfnOrganizationConfigRuleProps.Builder organizationCustomPolicyRuleMetadata(CfnOrganizationConfigRule.OrganizationCustomPolicyRuleMetadataProperty organizationCustomPolicyRuleMetadata) Sets the value ofCfnOrganizationConfigRuleProps.getOrganizationCustomPolicyRuleMetadata()
- Parameters:
organizationCustomPolicyRuleMetadata
-AWS::Config::OrganizationConfigRule.OrganizationCustomPolicyRuleMetadata
.- Returns:
this
-
organizationCustomRuleMetadata
@Stability(Stable) public CfnOrganizationConfigRuleProps.Builder organizationCustomRuleMetadata(IResolvable organizationCustomRuleMetadata) Sets the value ofCfnOrganizationConfigRuleProps.getOrganizationCustomRuleMetadata()
- Parameters:
organizationCustomRuleMetadata
- AnOrganizationCustomRuleMetadata
object.- Returns:
this
-
organizationCustomRuleMetadata
@Stability(Stable) public CfnOrganizationConfigRuleProps.Builder organizationCustomRuleMetadata(CfnOrganizationConfigRule.OrganizationCustomRuleMetadataProperty organizationCustomRuleMetadata) Sets the value ofCfnOrganizationConfigRuleProps.getOrganizationCustomRuleMetadata()
- Parameters:
organizationCustomRuleMetadata
- AnOrganizationCustomRuleMetadata
object.- Returns:
this
-
organizationManagedRuleMetadata
@Stability(Stable) public CfnOrganizationConfigRuleProps.Builder organizationManagedRuleMetadata(IResolvable organizationManagedRuleMetadata) Sets the value ofCfnOrganizationConfigRuleProps.getOrganizationManagedRuleMetadata()
- Parameters:
organizationManagedRuleMetadata
- AnOrganizationManagedRuleMetadata
object.- Returns:
this
-
organizationManagedRuleMetadata
@Stability(Stable) public CfnOrganizationConfigRuleProps.Builder organizationManagedRuleMetadata(CfnOrganizationConfigRule.OrganizationManagedRuleMetadataProperty organizationManagedRuleMetadata) Sets the value ofCfnOrganizationConfigRuleProps.getOrganizationManagedRuleMetadata()
- Parameters:
organizationManagedRuleMetadata
- AnOrganizationManagedRuleMetadata
object.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnOrganizationConfigRuleProps>
- Returns:
- a new instance of
CfnOrganizationConfigRuleProps
- Throws:
NullPointerException
- if any required attribute was not provided
-