Class CfnMailManagerRelay.Builder
java.lang.Object
software.amazon.awscdk.services.ses.CfnMailManagerRelay.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMailManagerRelay>
- Enclosing class:
CfnMailManagerRelay
@Stability(Stable)
public static final class CfnMailManagerRelay.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMailManagerRelay>
A fluent builder for
CfnMailManagerRelay
.-
Method Summary
Modifier and TypeMethodDescriptionauthentication
(IResolvable authentication) Authentication for the relay destination server—specify the secretARN where the SMTP credentials are stored.authentication
(CfnMailManagerRelay.RelayAuthenticationProperty authentication) Authentication for the relay destination server—specify the secretARN where the SMTP credentials are stored.build()
static CfnMailManagerRelay.Builder
The unique relay name.serverName
(String serverName) The destination relay server address.serverPort
(Number serverPort) The destination relay server port.The tags used to organize, track, or control access for the resource.
-
Method Details
-
create
@Stability(Stable) public static CfnMailManagerRelay.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnMailManagerRelay.Builder
.
-
authentication
Authentication for the relay destination server—specify the secretARN where the SMTP credentials are stored.- Parameters:
authentication
- Authentication for the relay destination server—specify the secretARN where the SMTP credentials are stored. This parameter is required.- Returns:
this
- See Also:
-
authentication
@Stability(Stable) public CfnMailManagerRelay.Builder authentication(CfnMailManagerRelay.RelayAuthenticationProperty authentication) Authentication for the relay destination server—specify the secretARN where the SMTP credentials are stored.- Parameters:
authentication
- Authentication for the relay destination server—specify the secretARN where the SMTP credentials are stored. This parameter is required.- Returns:
this
- See Also:
-
serverName
The destination relay server address.- Parameters:
serverName
- The destination relay server address. This parameter is required.- Returns:
this
- See Also:
-
serverPort
The destination relay server port.- Parameters:
serverPort
- The destination relay server port. This parameter is required.- Returns:
this
- See Also:
-
relayName
The unique relay name.- Parameters:
relayName
- The unique relay name. This parameter is required.- Returns:
this
- See Also:
-
tags
The tags used to organize, track, or control access for the resource.For example, { "tags": {"key1":"value1", "key2":"value2"} }.
- Parameters:
tags
- The tags used to organize, track, or control access for the resource. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnMailManagerRelay>
- Returns:
- a newly built instance of
CfnMailManagerRelay
.
-