Class CfnLegalHoldPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.backup.CfnLegalHoldPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLegalHoldPropsMixin>
- Enclosing class:
CfnLegalHoldPropsMixin
@Stability(Stable)
public static final class CfnLegalHoldPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLegalHoldPropsMixin>
A fluent builder for
CfnLegalHoldPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) description(String description) The description of the legal hold.recoveryPointSelection(CfnLegalHoldPropsMixin.RecoveryPointSelectionProperty recoveryPointSelection) The criteria to assign a set of resources, such as resource types or backup vaults.recoveryPointSelection(IResolvable recoveryPointSelection) The criteria to assign a set of resources, such as resource types or backup vaults.tags(List<? extends CfnLegalHoldPropsMixin.TagsItemsProperty> tags) Optional tags to include.The title of the legal hold.
-
Method Details
-
create
@Stability(Stable) public static CfnLegalHoldPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnLegalHoldPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnLegalHoldPropsMixin.Builder.
-
description
The description of the legal hold.- Parameters:
description- The description of the legal hold. This parameter is required.- Returns:
this- See Also:
-
recoveryPointSelection
@Stability(Stable) public CfnLegalHoldPropsMixin.Builder recoveryPointSelection(IResolvable recoveryPointSelection) The criteria to assign a set of resources, such as resource types or backup vaults.- Parameters:
recoveryPointSelection- The criteria to assign a set of resources, such as resource types or backup vaults. This parameter is required.- Returns:
this- See Also:
-
recoveryPointSelection
@Stability(Stable) public CfnLegalHoldPropsMixin.Builder recoveryPointSelection(CfnLegalHoldPropsMixin.RecoveryPointSelectionProperty recoveryPointSelection) The criteria to assign a set of resources, such as resource types or backup vaults.- Parameters:
recoveryPointSelection- The criteria to assign a set of resources, such as resource types or backup vaults. This parameter is required.- Returns:
this- See Also:
-
tags
@Stability(Stable) public CfnLegalHoldPropsMixin.Builder tags(List<? extends CfnLegalHoldPropsMixin.TagsItemsProperty> tags) Optional tags to include.- Parameters:
tags- Optional tags to include. This parameter is required.- Returns:
this- See Also:
-
title
The title of the legal hold.- Parameters:
title- The title of the legal hold. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLegalHoldPropsMixin>- Returns:
- a newly built instance of
CfnLegalHoldPropsMixin.
-