Class CfnLifecyclePolicyPropsMixin.ExclusionRulesProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.imagebuilder.CfnLifecyclePolicyPropsMixin.ExclusionRulesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLifecyclePolicyPropsMixin.ExclusionRulesProperty>
- Enclosing interface:
CfnLifecyclePolicyPropsMixin.ExclusionRulesProperty
@Stability(Stable)
public static final class CfnLifecyclePolicyPropsMixin.ExclusionRulesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLifecyclePolicyPropsMixin.ExclusionRulesProperty>
A builder for
CfnLifecyclePolicyPropsMixin.ExclusionRulesProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnLifecyclePolicyPropsMixin.ExclusionRulesProperty.getAmis()amis(IResolvable amis) Sets the value ofCfnLifecyclePolicyPropsMixin.ExclusionRulesProperty.getAmis()build()Builds the configured instance.Sets the value ofCfnLifecyclePolicyPropsMixin.ExclusionRulesProperty.getTagMap()tagMap(IResolvable tagMap) Sets the value ofCfnLifecyclePolicyPropsMixin.ExclusionRulesProperty.getTagMap()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
amis
@Stability(Stable) public CfnLifecyclePolicyPropsMixin.ExclusionRulesProperty.Builder amis(IResolvable amis) Sets the value ofCfnLifecyclePolicyPropsMixin.ExclusionRulesProperty.getAmis()- Parameters:
amis- Lists configuration values that apply to AMIs that Image Builder should exclude from the lifecycle action.- Returns:
this
-
amis
@Stability(Stable) public CfnLifecyclePolicyPropsMixin.ExclusionRulesProperty.Builder amis(CfnLifecyclePolicyPropsMixin.AmiExclusionRulesProperty amis) Sets the value ofCfnLifecyclePolicyPropsMixin.ExclusionRulesProperty.getAmis()- Parameters:
amis- Lists configuration values that apply to AMIs that Image Builder should exclude from the lifecycle action.- Returns:
this
-
tagMap
@Stability(Stable) public CfnLifecyclePolicyPropsMixin.ExclusionRulesProperty.Builder tagMap(Map<String, String> tagMap) Sets the value ofCfnLifecyclePolicyPropsMixin.ExclusionRulesProperty.getTagMap()- Parameters:
tagMap- Contains a list of tags that Image Builder uses to skip lifecycle actions for Image Builder image resources that have them.- Returns:
this
-
tagMap
@Stability(Stable) public CfnLifecyclePolicyPropsMixin.ExclusionRulesProperty.Builder tagMap(IResolvable tagMap) Sets the value ofCfnLifecyclePolicyPropsMixin.ExclusionRulesProperty.getTagMap()- Parameters:
tagMap- Contains a list of tags that Image Builder uses to skip lifecycle actions for Image Builder image resources that have them.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLifecyclePolicyPropsMixin.ExclusionRulesProperty>- Returns:
- a new instance of
CfnLifecyclePolicyPropsMixin.ExclusionRulesProperty - Throws:
NullPointerException- if any required attribute was not provided
-