Class CfnAutomationRule.IntegerCriteriaConditionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.computeoptimizer.CfnAutomationRule.IntegerCriteriaConditionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAutomationRule.IntegerCriteriaConditionProperty>
- Enclosing interface:
CfnAutomationRule.IntegerCriteriaConditionProperty
@Stability(Stable)
public static final class CfnAutomationRule.IntegerCriteriaConditionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAutomationRule.IntegerCriteriaConditionProperty>
A builder for
CfnAutomationRule.IntegerCriteriaConditionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.comparison(String comparison) Sets the value ofCfnAutomationRule.IntegerCriteriaConditionProperty.getComparison()Sets the value ofCfnAutomationRule.IntegerCriteriaConditionProperty.getValues()values(IResolvable values) Sets the value ofCfnAutomationRule.IntegerCriteriaConditionProperty.getValues()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
comparison
@Stability(Stable) public CfnAutomationRule.IntegerCriteriaConditionProperty.Builder comparison(String comparison) Sets the value ofCfnAutomationRule.IntegerCriteriaConditionProperty.getComparison()- Parameters:
comparison- the value to be set.- Returns:
this
-
values
@Stability(Stable) public CfnAutomationRule.IntegerCriteriaConditionProperty.Builder values(List<? extends Number> values) Sets the value ofCfnAutomationRule.IntegerCriteriaConditionProperty.getValues()- Parameters:
values- the value to be set.- Returns:
this
-
values
@Stability(Stable) public CfnAutomationRule.IntegerCriteriaConditionProperty.Builder values(IResolvable values) Sets the value ofCfnAutomationRule.IntegerCriteriaConditionProperty.getValues()- Parameters:
values- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAutomationRule.IntegerCriteriaConditionProperty>- Returns:
- a new instance of
CfnAutomationRule.IntegerCriteriaConditionProperty - Throws:
NullPointerException- if any required attribute was not provided
-