Interface RelayAuthentication.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RelayAuthentication.Builder,,RelayAuthentication> SdkBuilder<RelayAuthentication.Builder,,RelayAuthentication> SdkPojo
- Enclosing class:
RelayAuthentication
public static interface RelayAuthentication.Builder
extends SdkPojo, CopyableBuilder<RelayAuthentication.Builder,RelayAuthentication>
-
Method Summary
Modifier and TypeMethodDescriptiondefault RelayAuthentication.BuildernoAuthentication(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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.Builderavoiding the need to create one manually viaNoAuthentication.builder().When the
Consumercompletes,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.
-