Class CfnMailManagerRelayProps.Builder
java.lang.Object
software.amazon.awscdk.services.ses.CfnMailManagerRelayProps.Builder
- All Implemented Interfaces:
 software.amazon.jsii.Builder<CfnMailManagerRelayProps>
- Enclosing interface:
 CfnMailManagerRelayProps
@Stability(Stable)
public static final class CfnMailManagerRelayProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMailManagerRelayProps>
A builder for 
CfnMailManagerRelayProps- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionauthentication(IResolvable authentication) Sets the value ofCfnMailManagerRelayProps.getAuthentication()authentication(CfnMailManagerRelay.RelayAuthenticationProperty authentication) Sets the value ofCfnMailManagerRelayProps.getAuthentication()build()Builds the configured instance.Sets the value ofCfnMailManagerRelayProps.getRelayName()serverName(String serverName) Sets the value ofCfnMailManagerRelayProps.getServerName()serverPort(Number serverPort) Sets the value ofCfnMailManagerRelayProps.getServerPort()Sets the value ofCfnMailManagerRelayProps.getTags() 
- 
Constructor Details
- 
Builder
public Builder() 
 - 
 - 
Method Details
- 
authentication
@Stability(Stable) public CfnMailManagerRelayProps.Builder authentication(IResolvable authentication) Sets the value ofCfnMailManagerRelayProps.getAuthentication()- Parameters:
 authentication- Authentication for the relay destination server—specify the secretARN where the SMTP credentials are stored. This parameter is required.- Returns:
 this
 - 
authentication
@Stability(Stable) public CfnMailManagerRelayProps.Builder authentication(CfnMailManagerRelay.RelayAuthenticationProperty authentication) Sets the value ofCfnMailManagerRelayProps.getAuthentication()- Parameters:
 authentication- Authentication for the relay destination server—specify the secretARN where the SMTP credentials are stored. This parameter is required.- Returns:
 this
 - 
serverName
Sets the value ofCfnMailManagerRelayProps.getServerName()- Parameters:
 serverName- The destination relay server address. This parameter is required.- Returns:
 this
 - 
serverPort
Sets the value ofCfnMailManagerRelayProps.getServerPort()- Parameters:
 serverPort- The destination relay server port. This parameter is required.- Returns:
 this
 - 
relayName
Sets the value ofCfnMailManagerRelayProps.getRelayName()- Parameters:
 relayName- The unique relay name.- Returns:
 this
 - 
tags
Sets the value ofCfnMailManagerRelayProps.getTags()- Parameters:
 tags- The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.- Returns:
 this
 - 
build
Builds the configured instance.- Specified by:
 buildin interfacesoftware.amazon.jsii.Builder<CfnMailManagerRelayProps>- Returns:
 - a new instance of 
CfnMailManagerRelayProps - Throws:
 NullPointerException- if any required attribute was not provided
 
 -