Class CfnLifecyclePolicyPropsMixin.ResourceSelectionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.imagebuilder.CfnLifecyclePolicyPropsMixin.ResourceSelectionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLifecyclePolicyPropsMixin.ResourceSelectionProperty>
- Enclosing interface:
CfnLifecyclePolicyPropsMixin.ResourceSelectionProperty
@Stability(Stable)
public static final class CfnLifecyclePolicyPropsMixin.ResourceSelectionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLifecyclePolicyPropsMixin.ResourceSelectionProperty>
A builder for
CfnLifecyclePolicyPropsMixin.ResourceSelectionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnLifecyclePolicyPropsMixin.ResourceSelectionProperty.getRecipes()recipes(IResolvable recipes) Sets the value ofCfnLifecyclePolicyPropsMixin.ResourceSelectionProperty.getRecipes()Sets the value ofCfnLifecyclePolicyPropsMixin.ResourceSelectionProperty.getTagMap()tagMap(IResolvable tagMap) Sets the value ofCfnLifecyclePolicyPropsMixin.ResourceSelectionProperty.getTagMap()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
recipes
@Stability(Stable) public CfnLifecyclePolicyPropsMixin.ResourceSelectionProperty.Builder recipes(IResolvable recipes) Sets the value ofCfnLifecyclePolicyPropsMixin.ResourceSelectionProperty.getRecipes()- Parameters:
recipes- A list of recipes that are used as selection criteria for the output images that the lifecycle policy applies to.- Returns:
this
-
recipes
@Stability(Stable) public CfnLifecyclePolicyPropsMixin.ResourceSelectionProperty.Builder recipes(List<? extends Object> recipes) Sets the value ofCfnLifecyclePolicyPropsMixin.ResourceSelectionProperty.getRecipes()- Parameters:
recipes- A list of recipes that are used as selection criteria for the output images that the lifecycle policy applies to.- Returns:
this
-
tagMap
@Stability(Stable) public CfnLifecyclePolicyPropsMixin.ResourceSelectionProperty.Builder tagMap(Map<String, String> tagMap) Sets the value ofCfnLifecyclePolicyPropsMixin.ResourceSelectionProperty.getTagMap()- Parameters:
tagMap- A list of tags that are used as selection criteria for the Image Builder image resources that the lifecycle policy applies to.- Returns:
this
-
tagMap
@Stability(Stable) public CfnLifecyclePolicyPropsMixin.ResourceSelectionProperty.Builder tagMap(IResolvable tagMap) Sets the value ofCfnLifecyclePolicyPropsMixin.ResourceSelectionProperty.getTagMap()- Parameters:
tagMap- A list of tags that are used as selection criteria for the Image Builder image resources that the lifecycle policy applies to.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLifecyclePolicyPropsMixin.ResourceSelectionProperty>- Returns:
- a new instance of
CfnLifecyclePolicyPropsMixin.ResourceSelectionProperty - Throws:
NullPointerException- if any required attribute was not provided
-