Class CfnMailManagerArchive.Builder
java.lang.Object
software.amazon.awscdk.services.ses.CfnMailManagerArchive.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMailManagerArchive>
- Enclosing class:
CfnMailManagerArchive
@Stability(Stable)
public static final class CfnMailManagerArchive.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMailManagerArchive>
A fluent builder for
CfnMailManagerArchive
.-
Method Summary
Modifier and TypeMethodDescriptionarchiveName
(String archiveName) A unique name for the new archive.build()
The Amazon Resource Name (ARN) of the KMS key for encrypting emails in the archive.retention
(IResolvable retention) The period for retaining emails in the archive before automatic deletion.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 CfnMailManagerArchive.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnMailManagerArchive.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 CfnMailManagerArchive.Builder retention(CfnMailManagerArchive.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:
build
in interfacesoftware.amazon.jsii.Builder<CfnMailManagerArchive>
- Returns:
- a newly built instance of
CfnMailManagerArchive
.
-