Class CfnAutomationRule.Builder
java.lang.Object
software.amazon.awscdk.services.computeoptimizer.CfnAutomationRule.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAutomationRule>
- Enclosing class:
CfnAutomationRule
@Stability(Stable)
public static final class CfnAutomationRule.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAutomationRule>
A fluent builder for
CfnAutomationRule.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnAutomationRule.Buildercriteria(IResolvable criteria) criteria(CfnAutomationRule.CriteriaProperty criteria) description(String description) The description of the automation rule.The name of the automation rule.organizationConfiguration(IResolvable organizationConfiguration) organizationConfiguration(CfnAutomationRule.OrganizationConfigurationProperty 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) schedule(CfnAutomationRule.ScheduleProperty schedule) The status of the automation rule.Tags associated with the automation rule.
-
Method Details
-
create
@Stability(Stable) public static CfnAutomationRule.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnAutomationRule.Builder.
-
name
The name of the automation rule.- Parameters:
name- The name of the automation rule. This parameter is required.- Returns:
this- See Also:
-
recommendedActionTypes
@Stability(Stable) public CfnAutomationRule.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 CfnAutomationRule.Builder schedule(CfnAutomationRule.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:
-
criteria
- Parameters:
criteria- This parameter is required.- Returns:
this- See Also:
-
criteria
@Stability(Stable) public CfnAutomationRule.Builder criteria(CfnAutomationRule.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:
-
organizationConfiguration
@Stability(Stable) public CfnAutomationRule.Builder organizationConfiguration(IResolvable organizationConfiguration) - Parameters:
organizationConfiguration- This parameter is required.- Returns:
this- See Also:
-
organizationConfiguration
@Stability(Stable) public CfnAutomationRule.Builder organizationConfiguration(CfnAutomationRule.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:
-
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<CfnAutomationRule>- Returns:
- a newly built instance of
CfnAutomationRule.
-