Interface RelayAuthentication.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RelayAuthentication.Builder,
,RelayAuthentication> SdkBuilder<RelayAuthentication.Builder,
,RelayAuthentication> SdkPojo
- Enclosing class:
RelayAuthentication
@Mutable
@NotThreadSafe
public static interface RelayAuthentication.Builder
extends SdkPojo, CopyableBuilder<RelayAuthentication.Builder,RelayAuthentication>
-
Method Summary
Modifier and TypeMethodDescriptiondefault RelayAuthentication.Builder
noAuthentication
(Consumer<NoAuthentication.Builder> noAuthentication) Keep an empty structure if the relay destination server does not require SMTP credential authentication.noAuthentication
(NoAuthentication noAuthentication) Keep an empty structure if the relay destination server does not require SMTP credential authentication.The ARN of the secret created in secrets manager where the relay server's SMTP credentials are stored.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
noAuthentication
Keep an empty structure if the relay destination server does not require SMTP credential authentication.
- Parameters:
noAuthentication
- Keep an empty structure if the relay destination server does not require SMTP credential authentication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
noAuthentication
default RelayAuthentication.Builder noAuthentication(Consumer<NoAuthentication.Builder> noAuthentication) Keep an empty structure if the relay destination server does not require SMTP credential authentication.
This is a convenience method that creates an instance of theNoAuthentication.Builder
avoiding the need to create one manually viaNoAuthentication.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonoAuthentication(NoAuthentication)
.- Parameters:
noAuthentication
- a consumer that will call methods onNoAuthentication.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
secretArn
The ARN of the secret created in secrets manager where the relay server's SMTP credentials are stored.
- Parameters:
secretArn
- The ARN of the secret created in secrets manager where the relay server's SMTP credentials are stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-