Class CfnMailManagerRelayPropsMixin.RelayAuthenticationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ses.CfnMailManagerRelayPropsMixin.RelayAuthenticationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMailManagerRelayPropsMixin.RelayAuthenticationProperty>
- Enclosing interface:
CfnMailManagerRelayPropsMixin.RelayAuthenticationProperty
@Stability(Stable)
public static final class CfnMailManagerRelayPropsMixin.RelayAuthenticationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMailManagerRelayPropsMixin.RelayAuthenticationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.noAuthentication(Object noAuthentication) Sets the value ofCfnMailManagerRelayPropsMixin.RelayAuthenticationProperty.getSecretArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
noAuthentication
@Stability(Stable) public CfnMailManagerRelayPropsMixin.RelayAuthenticationProperty.Builder noAuthentication(Object noAuthentication) - Parameters:
noAuthentication- Keep an empty structure if the relay destination server does not require SMTP credential authentication.- Returns:
this
-
secretArn
@Stability(Stable) public CfnMailManagerRelayPropsMixin.RelayAuthenticationProperty.Builder secretArn(String secretArn) Sets the value ofCfnMailManagerRelayPropsMixin.RelayAuthenticationProperty.getSecretArn()- Parameters:
secretArn- The ARN of the secret created in secrets manager where the relay server's SMTP credentials are stored.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMailManagerRelayPropsMixin.RelayAuthenticationProperty>- Returns:
- a new instance of
CfnMailManagerRelayPropsMixin.RelayAuthenticationProperty - Throws:
NullPointerException- if any required attribute was not provided
-