Class CfnMailManagerRuleSetPropsMixin.ArchiveActionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ses.CfnMailManagerRuleSetPropsMixin.ArchiveActionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMailManagerRuleSetPropsMixin.ArchiveActionProperty>
- Enclosing interface:
CfnMailManagerRuleSetPropsMixin.ArchiveActionProperty
@Stability(Stable)
public static final class CfnMailManagerRuleSetPropsMixin.ArchiveActionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMailManagerRuleSetPropsMixin.ArchiveActionProperty>
A builder for
CfnMailManagerRuleSetPropsMixin.ArchiveActionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactionFailurePolicy(String actionFailurePolicy) build()Builds the configured instance.targetArchive(String targetArchive) Sets the value ofCfnMailManagerRuleSetPropsMixin.ArchiveActionProperty.getTargetArchive()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
actionFailurePolicy
@Stability(Stable) public CfnMailManagerRuleSetPropsMixin.ArchiveActionProperty.Builder actionFailurePolicy(String actionFailurePolicy) - Parameters:
actionFailurePolicy- A policy that states what to do in the case of failure. The action will fail if there are configuration errors. For example, the specified archive has been deleted.- Returns:
this
-
targetArchive
@Stability(Stable) public CfnMailManagerRuleSetPropsMixin.ArchiveActionProperty.Builder targetArchive(String targetArchive) Sets the value ofCfnMailManagerRuleSetPropsMixin.ArchiveActionProperty.getTargetArchive()- Parameters:
targetArchive- The identifier of the archive to send the email to.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMailManagerRuleSetPropsMixin.ArchiveActionProperty>- Returns:
- a new instance of
CfnMailManagerRuleSetPropsMixin.ArchiveActionProperty - Throws:
NullPointerException- if any required attribute was not provided
-