Class CfnLifecyclePolicyPropsMixin.ActionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.imagebuilder.CfnLifecyclePolicyPropsMixin.ActionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLifecyclePolicyPropsMixin.ActionProperty>
- Enclosing interface:
CfnLifecyclePolicyPropsMixin.ActionProperty
@Stability(Stable)
public static final class CfnLifecyclePolicyPropsMixin.ActionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLifecyclePolicyPropsMixin.ActionProperty>
A builder for
CfnLifecyclePolicyPropsMixin.ActionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.includeResources(CfnLifecyclePolicyPropsMixin.IncludeResourcesProperty includeResources) Sets the value ofCfnLifecyclePolicyPropsMixin.ActionProperty.getIncludeResources()includeResources(IResolvable includeResources) Sets the value ofCfnLifecyclePolicyPropsMixin.ActionProperty.getIncludeResources()Sets the value ofCfnLifecyclePolicyPropsMixin.ActionProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
includeResources
@Stability(Stable) public CfnLifecyclePolicyPropsMixin.ActionProperty.Builder includeResources(IResolvable includeResources) Sets the value ofCfnLifecyclePolicyPropsMixin.ActionProperty.getIncludeResources()- Parameters:
includeResources- Specifies the resources that the lifecycle policy applies to.- Returns:
this
-
includeResources
@Stability(Stable) public CfnLifecyclePolicyPropsMixin.ActionProperty.Builder includeResources(CfnLifecyclePolicyPropsMixin.IncludeResourcesProperty includeResources) Sets the value ofCfnLifecyclePolicyPropsMixin.ActionProperty.getIncludeResources()- Parameters:
includeResources- Specifies the resources that the lifecycle policy applies to.- Returns:
this
-
type
Sets the value ofCfnLifecyclePolicyPropsMixin.ActionProperty.getType()- Parameters:
type- Specifies the lifecycle action to take.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLifecyclePolicyPropsMixin.ActionProperty>- Returns:
- a new instance of
CfnLifecyclePolicyPropsMixin.ActionProperty - Throws:
NullPointerException- if any required attribute was not provided
-