Class CfnMailManagerRelayMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ses.CfnMailManagerRelayMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMailManagerRelayMixinProps>
- Enclosing interface:
CfnMailManagerRelayMixinProps
@Stability(Stable)
public static final class CfnMailManagerRelayMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMailManagerRelayMixinProps>
A builder for
CfnMailManagerRelayMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnMailManagerRelayMixinProps.getAuthentication()authentication(IResolvable authentication) Sets the value ofCfnMailManagerRelayMixinProps.getAuthentication()build()Builds the configured instance.Sets the value ofCfnMailManagerRelayMixinProps.getRelayName()serverName(String serverName) Sets the value ofCfnMailManagerRelayMixinProps.getServerName()serverPort(Number serverPort) Sets the value ofCfnMailManagerRelayMixinProps.getServerPort()Sets the value ofCfnMailManagerRelayMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authentication
@Stability(Stable) public CfnMailManagerRelayMixinProps.Builder authentication(IResolvable authentication) Sets the value ofCfnMailManagerRelayMixinProps.getAuthentication()- Parameters:
authentication- Authentication for the relay destination server—specify the secretARN where the SMTP credentials are stored.- Returns:
this
-
authentication
@Stability(Stable) public CfnMailManagerRelayMixinProps.Builder authentication(CfnMailManagerRelayPropsMixin.RelayAuthenticationProperty authentication) Sets the value ofCfnMailManagerRelayMixinProps.getAuthentication()- Parameters:
authentication- Authentication for the relay destination server—specify the secretARN where the SMTP credentials are stored.- Returns:
this
-
relayName
Sets the value ofCfnMailManagerRelayMixinProps.getRelayName()- Parameters:
relayName- The unique relay name.- Returns:
this
-
serverName
Sets the value ofCfnMailManagerRelayMixinProps.getServerName()- Parameters:
serverName- The destination relay server address.- Returns:
this
-
serverPort
Sets the value ofCfnMailManagerRelayMixinProps.getServerPort()- Parameters:
serverPort- The destination relay server port.- Returns:
this
-
tags
Sets the value ofCfnMailManagerRelayMixinProps.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<CfnMailManagerRelayMixinProps>- Returns:
- a new instance of
CfnMailManagerRelayMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-