Class CfnOrganizationConfigRule.OrganizationCustomPolicyRuleMetadataProperty.Builder
java.lang.Object
software.amazon.awscdk.services.config.CfnOrganizationConfigRule.OrganizationCustomPolicyRuleMetadataProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOrganizationConfigRule.OrganizationCustomPolicyRuleMetadataProperty>
- Enclosing interface:
CfnOrganizationConfigRule.OrganizationCustomPolicyRuleMetadataProperty
@Stability(Stable)
public static final class CfnOrganizationConfigRule.OrganizationCustomPolicyRuleMetadataProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOrganizationConfigRule.OrganizationCustomPolicyRuleMetadataProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.debugLogDeliveryAccounts
(List<String> debugLogDeliveryAccounts) description
(String description) inputParameters
(String inputParameters) maximumExecutionFrequency
(String maximumExecutionFrequency) organizationConfigRuleTriggerTypes
(List<String> organizationConfigRuleTriggerTypes) policyText
(String policyText) resourceIdScope
(String resourceIdScope) resourceTypesScope
(List<String> resourceTypesScope) tagKeyScope
(String tagKeyScope) tagValueScope
(String tagValueScope)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
policyText
@Stability(Stable) public CfnOrganizationConfigRule.OrganizationCustomPolicyRuleMetadataProperty.Builder policyText(String policyText) Sets the value ofCfnOrganizationConfigRule.OrganizationCustomPolicyRuleMetadataProperty.getPolicyText()
- Parameters:
policyText
-CfnOrganizationConfigRule.OrganizationCustomPolicyRuleMetadataProperty.PolicyText
. This parameter is required.- Returns:
this
-
runtime
@Stability(Stable) public CfnOrganizationConfigRule.OrganizationCustomPolicyRuleMetadataProperty.Builder runtime(String runtime) Sets the value ofCfnOrganizationConfigRule.OrganizationCustomPolicyRuleMetadataProperty.getRuntime()
- Parameters:
runtime
-CfnOrganizationConfigRule.OrganizationCustomPolicyRuleMetadataProperty.Runtime
. This parameter is required.- Returns:
this
-
debugLogDeliveryAccounts
@Stability(Stable) public CfnOrganizationConfigRule.OrganizationCustomPolicyRuleMetadataProperty.Builder debugLogDeliveryAccounts(List<String> debugLogDeliveryAccounts) Sets the value ofCfnOrganizationConfigRule.OrganizationCustomPolicyRuleMetadataProperty.getDebugLogDeliveryAccounts()
- Parameters:
debugLogDeliveryAccounts
-CfnOrganizationConfigRule.OrganizationCustomPolicyRuleMetadataProperty.DebugLogDeliveryAccounts
.- Returns:
this
-
description
@Stability(Stable) public CfnOrganizationConfigRule.OrganizationCustomPolicyRuleMetadataProperty.Builder description(String description) Sets the value ofCfnOrganizationConfigRule.OrganizationCustomPolicyRuleMetadataProperty.getDescription()
- Parameters:
description
-CfnOrganizationConfigRule.OrganizationCustomPolicyRuleMetadataProperty.Description
.- Returns:
this
-
inputParameters
@Stability(Stable) public CfnOrganizationConfigRule.OrganizationCustomPolicyRuleMetadataProperty.Builder inputParameters(String inputParameters) Sets the value ofCfnOrganizationConfigRule.OrganizationCustomPolicyRuleMetadataProperty.getInputParameters()
- Parameters:
inputParameters
-CfnOrganizationConfigRule.OrganizationCustomPolicyRuleMetadataProperty.InputParameters
.- Returns:
this
-
maximumExecutionFrequency
@Stability(Stable) public CfnOrganizationConfigRule.OrganizationCustomPolicyRuleMetadataProperty.Builder maximumExecutionFrequency(String maximumExecutionFrequency) Sets the value ofCfnOrganizationConfigRule.OrganizationCustomPolicyRuleMetadataProperty.getMaximumExecutionFrequency()
- Parameters:
maximumExecutionFrequency
-CfnOrganizationConfigRule.OrganizationCustomPolicyRuleMetadataProperty.MaximumExecutionFrequency
.- Returns:
this
-
organizationConfigRuleTriggerTypes
@Stability(Stable) public CfnOrganizationConfigRule.OrganizationCustomPolicyRuleMetadataProperty.Builder organizationConfigRuleTriggerTypes(List<String> organizationConfigRuleTriggerTypes) Sets the value ofCfnOrganizationConfigRule.OrganizationCustomPolicyRuleMetadataProperty.getOrganizationConfigRuleTriggerTypes()
- Parameters:
organizationConfigRuleTriggerTypes
-CfnOrganizationConfigRule.OrganizationCustomPolicyRuleMetadataProperty.OrganizationConfigRuleTriggerTypes
.- Returns:
this
-
resourceIdScope
@Stability(Stable) public CfnOrganizationConfigRule.OrganizationCustomPolicyRuleMetadataProperty.Builder resourceIdScope(String resourceIdScope) Sets the value ofCfnOrganizationConfigRule.OrganizationCustomPolicyRuleMetadataProperty.getResourceIdScope()
- Parameters:
resourceIdScope
-CfnOrganizationConfigRule.OrganizationCustomPolicyRuleMetadataProperty.ResourceIdScope
.- Returns:
this
-
resourceTypesScope
@Stability(Stable) public CfnOrganizationConfigRule.OrganizationCustomPolicyRuleMetadataProperty.Builder resourceTypesScope(List<String> resourceTypesScope) Sets the value ofCfnOrganizationConfigRule.OrganizationCustomPolicyRuleMetadataProperty.getResourceTypesScope()
- Parameters:
resourceTypesScope
-CfnOrganizationConfigRule.OrganizationCustomPolicyRuleMetadataProperty.ResourceTypesScope
.- Returns:
this
-
tagKeyScope
@Stability(Stable) public CfnOrganizationConfigRule.OrganizationCustomPolicyRuleMetadataProperty.Builder tagKeyScope(String tagKeyScope) Sets the value ofCfnOrganizationConfigRule.OrganizationCustomPolicyRuleMetadataProperty.getTagKeyScope()
- Parameters:
tagKeyScope
-CfnOrganizationConfigRule.OrganizationCustomPolicyRuleMetadataProperty.TagKeyScope
.- Returns:
this
-
tagValueScope
@Stability(Stable) public CfnOrganizationConfigRule.OrganizationCustomPolicyRuleMetadataProperty.Builder tagValueScope(String tagValueScope) Sets the value ofCfnOrganizationConfigRule.OrganizationCustomPolicyRuleMetadataProperty.getTagValueScope()
- Parameters:
tagValueScope
-CfnOrganizationConfigRule.OrganizationCustomPolicyRuleMetadataProperty.TagValueScope
.- Returns:
this
-
build
@Stability(Stable) public CfnOrganizationConfigRule.OrganizationCustomPolicyRuleMetadataProperty build()Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnOrganizationConfigRule.OrganizationCustomPolicyRuleMetadataProperty>
- Returns:
- a new instance of
CfnOrganizationConfigRule.OrganizationCustomPolicyRuleMetadataProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-