Class CfnMailManagerArchivePropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ses.CfnMailManagerArchivePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMailManagerArchivePropsMixin>
- Enclosing class:
CfnMailManagerArchivePropsMixin
@Stability(Stable)
public static final class CfnMailManagerArchivePropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMailManagerArchivePropsMixin>
A fluent builder for
CfnMailManagerArchivePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionarchiveName(String archiveName) A unique name for the new archive.build()create()create(CfnPropertyMixinOptions options) The Amazon Resource Name (ARN) of the KMS key for encrypting emails in the archive.The period for retaining emails in the archive before automatic deletion.retention(IResolvable retention) The period for retaining emails in the archive before automatic deletion.The tags used to organize, track, or control access for the resource.
-
Method Details
-
create
@Stability(Stable) public static CfnMailManagerArchivePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnMailManagerArchivePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnMailManagerArchivePropsMixin.Builder.
-
archiveName
A unique name for the new archive.- Parameters:
archiveName- A unique name for the new archive. This parameter is required.- Returns:
this- See Also:
-
kmsKeyArn
The Amazon Resource Name (ARN) of the KMS key for encrypting emails in the archive.- Parameters:
kmsKeyArn- The Amazon Resource Name (ARN) of the KMS key for encrypting emails in the archive. This parameter is required.- Returns:
this- See Also:
-
retention
The period for retaining emails in the archive before automatic deletion.- Parameters:
retention- The period for retaining emails in the archive before automatic deletion. This parameter is required.- Returns:
this- See Also:
-
retention
@Stability(Stable) public CfnMailManagerArchivePropsMixin.Builder retention(CfnMailManagerArchivePropsMixin.ArchiveRetentionProperty retention) The period for retaining emails in the archive before automatic deletion.- Parameters:
retention- The period for retaining emails in the archive before automatic deletion. This parameter is required.- Returns:
this- See Also:
-
tags
The tags used to organize, track, or control access for the resource.For example, { "tags": {"key1":"value1", "key2":"value2"} }.
- Parameters:
tags- The tags used to organize, track, or control access for the resource. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMailManagerArchivePropsMixin>- Returns:
- a newly built instance of
CfnMailManagerArchivePropsMixin.
-