Class CfnMailManagerRelay.RelayAuthenticationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ses.CfnMailManagerRelay.RelayAuthenticationProperty.Builder
- All Implemented Interfaces:
 software.amazon.jsii.Builder<CfnMailManagerRelay.RelayAuthenticationProperty>
- Enclosing interface:
 CfnMailManagerRelay.RelayAuthenticationProperty
@Stability(Stable)
public static final class CfnMailManagerRelay.RelayAuthenticationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMailManagerRelay.RelayAuthenticationProperty>
A builder for 
CfnMailManagerRelay.RelayAuthenticationProperty- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.noAuthentication(Object noAuthentication) Sets the value ofCfnMailManagerRelay.RelayAuthenticationProperty.getNoAuthentication()Sets the value ofCfnMailManagerRelay.RelayAuthenticationProperty.getSecretArn() 
- 
Constructor Details
- 
Builder
public Builder() 
 - 
 - 
Method Details
- 
noAuthentication
@Stability(Stable) public CfnMailManagerRelay.RelayAuthenticationProperty.Builder noAuthentication(Object noAuthentication) Sets the value ofCfnMailManagerRelay.RelayAuthenticationProperty.getNoAuthentication()- Parameters:
 noAuthentication- Keep an empty structure if the relay destination server does not require SMTP credential authentication.- Returns:
 this
 - 
secretArn
@Stability(Stable) public CfnMailManagerRelay.RelayAuthenticationProperty.Builder secretArn(String secretArn) Sets the value ofCfnMailManagerRelay.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<CfnMailManagerRelay.RelayAuthenticationProperty>- Returns:
 - a new instance of 
CfnMailManagerRelay.RelayAuthenticationProperty - Throws:
 NullPointerException- if any required attribute was not provided
 
 -