Class CfnAutomationRulePropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.computeoptimizer.CfnAutomationRulePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAutomationRulePropsMixin>
- Enclosing class:
CfnAutomationRulePropsMixin
@Stability(Stable)
public static final class CfnAutomationRulePropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAutomationRulePropsMixin>
A fluent builder for
CfnAutomationRulePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) criteria(IResolvable criteria) description(String description) The description of the automation rule.The name of the automation rule.organizationConfiguration(CfnAutomationRulePropsMixin.OrganizationConfigurationProperty organizationConfiguration) organizationConfiguration(IResolvable organizationConfiguration) Rule priority within its group.recommendedActionTypes(List<String> recommendedActionTypes) The types of recommended actions this rule will implement.The type of automation rule.schedule(IResolvable schedule) The status of the automation rule.Tags associated with the automation rule.
-
Method Details
-
create
@Stability(Stable) public static CfnAutomationRulePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnAutomationRulePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnAutomationRulePropsMixin.Builder.
-
criteria
- Parameters:
criteria- This parameter is required.- Returns:
this- See Also:
-
criteria
@Stability(Stable) public CfnAutomationRulePropsMixin.Builder criteria(CfnAutomationRulePropsMixin.CriteriaProperty criteria) - Parameters:
criteria- This parameter is required.- Returns:
this- See Also:
-
description
The description of the automation rule.- Parameters:
description- The description of the automation rule. This parameter is required.- Returns:
this- See Also:
-
name
The name of the automation rule.- Parameters:
name- The name of the automation rule. This parameter is required.- Returns:
this- See Also:
-
organizationConfiguration
@Stability(Stable) public CfnAutomationRulePropsMixin.Builder organizationConfiguration(IResolvable organizationConfiguration) - Parameters:
organizationConfiguration- This parameter is required.- Returns:
this- See Also:
-
organizationConfiguration
@Stability(Stable) public CfnAutomationRulePropsMixin.Builder organizationConfiguration(CfnAutomationRulePropsMixin.OrganizationConfigurationProperty organizationConfiguration) - Parameters:
organizationConfiguration- This parameter is required.- Returns:
this- See Also:
-
priority
Rule priority within its group.- Parameters:
priority- Rule priority within its group. This parameter is required.- Returns:
this- See Also:
-
recommendedActionTypes
@Stability(Stable) public CfnAutomationRulePropsMixin.Builder recommendedActionTypes(List<String> recommendedActionTypes) The types of recommended actions this rule will implement.- Parameters:
recommendedActionTypes- The types of recommended actions this rule will implement. This parameter is required.- Returns:
this- See Also:
-
ruleType
The type of automation rule.- Parameters:
ruleType- The type of automation rule. This parameter is required.- Returns:
this- See Also:
-
schedule
- Parameters:
schedule- This parameter is required.- Returns:
this- See Also:
-
schedule
@Stability(Stable) public CfnAutomationRulePropsMixin.Builder schedule(CfnAutomationRulePropsMixin.ScheduleProperty schedule) - Parameters:
schedule- This parameter is required.- Returns:
this- See Also:
-
status
The status of the automation rule.- Parameters:
status- The status of the automation rule. This parameter is required.- Returns:
this- See Also:
-
tags
Tags associated with the automation rule.- Parameters:
tags- Tags associated with the automation rule. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAutomationRulePropsMixin>- Returns:
- a newly built instance of
CfnAutomationRulePropsMixin.
-