Class CfnLifecyclePolicyPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.opensearchserverless.mixins.CfnLifecyclePolicyPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLifecyclePolicyPropsMixin>
- Enclosing class:
CfnLifecyclePolicyPropsMixin
@Stability(Stable)
public static final class CfnLifecyclePolicyPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLifecyclePolicyPropsMixin>
A fluent builder for
CfnLifecyclePolicyPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) description(String description) The description of the lifecycle policy.The name of the lifecycle policy.The JSON policy document without any whitespaces.The type of lifecycle policy.
-
Method Details
-
create
@Stability(Stable) public static CfnLifecyclePolicyPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnLifecyclePolicyPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnLifecyclePolicyPropsMixin.Builder.
-
description
The description of the lifecycle policy.- Parameters:
description- The description of the lifecycle policy. This parameter is required.- Returns:
this- See Also:
-
name
The name of the lifecycle policy.- Parameters:
name- The name of the lifecycle policy. This parameter is required.- Returns:
this- See Also:
-
policy
The JSON policy document without any whitespaces.- Parameters:
policy- The JSON policy document without any whitespaces. This parameter is required.- Returns:
this- See Also:
-
type
The type of lifecycle policy.- Parameters:
type- The type of lifecycle policy. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLifecyclePolicyPropsMixin>- Returns:
- a newly built instance of
CfnLifecyclePolicyPropsMixin.
-