Class CfnAutomationRulePropsMixin.CriteriaProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.computeoptimizer.CfnAutomationRulePropsMixin.CriteriaProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAutomationRulePropsMixin.CriteriaProperty>
- Enclosing interface:
CfnAutomationRulePropsMixin.CriteriaProperty
@Stability(Stable)
public static final class CfnAutomationRulePropsMixin.CriteriaProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAutomationRulePropsMixin.CriteriaProperty>
A builder for
CfnAutomationRulePropsMixin.CriteriaProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.ebsVolumeSizeInGib(List<? extends Object> ebsVolumeSizeInGib) Sets the value ofCfnAutomationRulePropsMixin.CriteriaProperty.getEbsVolumeSizeInGib()ebsVolumeSizeInGib(IResolvable ebsVolumeSizeInGib) Sets the value ofCfnAutomationRulePropsMixin.CriteriaProperty.getEbsVolumeSizeInGib()ebsVolumeType(List<? extends Object> ebsVolumeType) Sets the value ofCfnAutomationRulePropsMixin.CriteriaProperty.getEbsVolumeType()ebsVolumeType(IResolvable ebsVolumeType) Sets the value ofCfnAutomationRulePropsMixin.CriteriaProperty.getEbsVolumeType()estimatedMonthlySavings(List<? extends Object> estimatedMonthlySavings) estimatedMonthlySavings(IResolvable estimatedMonthlySavings) lookBackPeriodInDays(List<? extends Object> lookBackPeriodInDays) Sets the value ofCfnAutomationRulePropsMixin.CriteriaProperty.getLookBackPeriodInDays()lookBackPeriodInDays(IResolvable lookBackPeriodInDays) Sets the value ofCfnAutomationRulePropsMixin.CriteriaProperty.getLookBackPeriodInDays()Sets the value ofCfnAutomationRulePropsMixin.CriteriaProperty.getRegion()region(IResolvable region) Sets the value ofCfnAutomationRulePropsMixin.CriteriaProperty.getRegion()resourceArn(List<? extends Object> resourceArn) Sets the value ofCfnAutomationRulePropsMixin.CriteriaProperty.getResourceArn()resourceArn(IResolvable resourceArn) Sets the value ofCfnAutomationRulePropsMixin.CriteriaProperty.getResourceArn()resourceTag(List<? extends Object> resourceTag) Sets the value ofCfnAutomationRulePropsMixin.CriteriaProperty.getResourceTag()resourceTag(IResolvable resourceTag) Sets the value ofCfnAutomationRulePropsMixin.CriteriaProperty.getResourceTag()restartNeeded(List<? extends Object> restartNeeded) Sets the value ofCfnAutomationRulePropsMixin.CriteriaProperty.getRestartNeeded()restartNeeded(IResolvable restartNeeded) Sets the value ofCfnAutomationRulePropsMixin.CriteriaProperty.getRestartNeeded()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ebsVolumeSizeInGib
@Stability(Stable) public CfnAutomationRulePropsMixin.CriteriaProperty.Builder ebsVolumeSizeInGib(IResolvable ebsVolumeSizeInGib) Sets the value ofCfnAutomationRulePropsMixin.CriteriaProperty.getEbsVolumeSizeInGib()- Parameters:
ebsVolumeSizeInGib- the value to be set.- Returns:
this
-
ebsVolumeSizeInGib
@Stability(Stable) public CfnAutomationRulePropsMixin.CriteriaProperty.Builder ebsVolumeSizeInGib(List<? extends Object> ebsVolumeSizeInGib) Sets the value ofCfnAutomationRulePropsMixin.CriteriaProperty.getEbsVolumeSizeInGib()- Parameters:
ebsVolumeSizeInGib- the value to be set.- Returns:
this
-
ebsVolumeType
@Stability(Stable) public CfnAutomationRulePropsMixin.CriteriaProperty.Builder ebsVolumeType(IResolvable ebsVolumeType) Sets the value ofCfnAutomationRulePropsMixin.CriteriaProperty.getEbsVolumeType()- Parameters:
ebsVolumeType- the value to be set.- Returns:
this
-
ebsVolumeType
@Stability(Stable) public CfnAutomationRulePropsMixin.CriteriaProperty.Builder ebsVolumeType(List<? extends Object> ebsVolumeType) Sets the value ofCfnAutomationRulePropsMixin.CriteriaProperty.getEbsVolumeType()- Parameters:
ebsVolumeType- the value to be set.- Returns:
this
-
estimatedMonthlySavings
@Stability(Stable) public CfnAutomationRulePropsMixin.CriteriaProperty.Builder estimatedMonthlySavings(IResolvable estimatedMonthlySavings) - Parameters:
estimatedMonthlySavings- the value to be set.- Returns:
this
-
estimatedMonthlySavings
@Stability(Stable) public CfnAutomationRulePropsMixin.CriteriaProperty.Builder estimatedMonthlySavings(List<? extends Object> estimatedMonthlySavings) - Parameters:
estimatedMonthlySavings- the value to be set.- Returns:
this
-
lookBackPeriodInDays
@Stability(Stable) public CfnAutomationRulePropsMixin.CriteriaProperty.Builder lookBackPeriodInDays(IResolvable lookBackPeriodInDays) Sets the value ofCfnAutomationRulePropsMixin.CriteriaProperty.getLookBackPeriodInDays()- Parameters:
lookBackPeriodInDays- the value to be set.- Returns:
this
-
lookBackPeriodInDays
@Stability(Stable) public CfnAutomationRulePropsMixin.CriteriaProperty.Builder lookBackPeriodInDays(List<? extends Object> lookBackPeriodInDays) Sets the value ofCfnAutomationRulePropsMixin.CriteriaProperty.getLookBackPeriodInDays()- Parameters:
lookBackPeriodInDays- the value to be set.- Returns:
this
-
region
@Stability(Stable) public CfnAutomationRulePropsMixin.CriteriaProperty.Builder region(IResolvable region) Sets the value ofCfnAutomationRulePropsMixin.CriteriaProperty.getRegion()- Parameters:
region- the value to be set.- Returns:
this
-
region
@Stability(Stable) public CfnAutomationRulePropsMixin.CriteriaProperty.Builder region(List<? extends Object> region) Sets the value ofCfnAutomationRulePropsMixin.CriteriaProperty.getRegion()- Parameters:
region- the value to be set.- Returns:
this
-
resourceArn
@Stability(Stable) public CfnAutomationRulePropsMixin.CriteriaProperty.Builder resourceArn(IResolvable resourceArn) Sets the value ofCfnAutomationRulePropsMixin.CriteriaProperty.getResourceArn()- Parameters:
resourceArn- the value to be set.- Returns:
this
-
resourceArn
@Stability(Stable) public CfnAutomationRulePropsMixin.CriteriaProperty.Builder resourceArn(List<? extends Object> resourceArn) Sets the value ofCfnAutomationRulePropsMixin.CriteriaProperty.getResourceArn()- Parameters:
resourceArn- the value to be set.- Returns:
this
-
resourceTag
@Stability(Stable) public CfnAutomationRulePropsMixin.CriteriaProperty.Builder resourceTag(IResolvable resourceTag) Sets the value ofCfnAutomationRulePropsMixin.CriteriaProperty.getResourceTag()- Parameters:
resourceTag- the value to be set.- Returns:
this
-
resourceTag
@Stability(Stable) public CfnAutomationRulePropsMixin.CriteriaProperty.Builder resourceTag(List<? extends Object> resourceTag) Sets the value ofCfnAutomationRulePropsMixin.CriteriaProperty.getResourceTag()- Parameters:
resourceTag- the value to be set.- Returns:
this
-
restartNeeded
@Stability(Stable) public CfnAutomationRulePropsMixin.CriteriaProperty.Builder restartNeeded(IResolvable restartNeeded) Sets the value ofCfnAutomationRulePropsMixin.CriteriaProperty.getRestartNeeded()- Parameters:
restartNeeded- the value to be set.- Returns:
this
-
restartNeeded
@Stability(Stable) public CfnAutomationRulePropsMixin.CriteriaProperty.Builder restartNeeded(List<? extends Object> restartNeeded) Sets the value ofCfnAutomationRulePropsMixin.CriteriaProperty.getRestartNeeded()- Parameters:
restartNeeded- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAutomationRulePropsMixin.CriteriaProperty>- Returns:
- a new instance of
CfnAutomationRulePropsMixin.CriteriaProperty - Throws:
NullPointerException- if any required attribute was not provided
-