Class CfnAutomationRulePropsMixin.OrganizationConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.computeoptimizer.CfnAutomationRulePropsMixin.OrganizationConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAutomationRulePropsMixin.OrganizationConfigurationProperty>
- Enclosing interface:
CfnAutomationRulePropsMixin.OrganizationConfigurationProperty
@Stability(Stable)
public static final class CfnAutomationRulePropsMixin.OrganizationConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAutomationRulePropsMixin.OrganizationConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccountIds(List<String> accountIds) build()Builds the configured instance.ruleApplyOrder(String ruleApplyOrder)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accountIds
@Stability(Stable) public CfnAutomationRulePropsMixin.OrganizationConfigurationProperty.Builder accountIds(List<String> accountIds) - Parameters:
accountIds- List of account IDs where the organization rule applies.- Returns:
this
-
ruleApplyOrder
@Stability(Stable) public CfnAutomationRulePropsMixin.OrganizationConfigurationProperty.Builder ruleApplyOrder(String ruleApplyOrder) - Parameters:
ruleApplyOrder- When the rule should be applied relative to account rules.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAutomationRulePropsMixin.OrganizationConfigurationProperty>- Returns:
- a new instance of
CfnAutomationRulePropsMixin.OrganizationConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-