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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default RelayAuthentication.BuildernoAuthentication(Consumer<NoAuthentication.Builder> noAuthentication)Keep an empty structure if the relay destination server does not require SMTP credential authentication.RelayAuthentication.BuildernoAuthentication(NoAuthentication noAuthentication)Keep an empty structure if the relay destination server does not require SMTP credential authentication.RelayAuthentication.BuildersecretArn(String secretArn)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, sdkFields
-
-
-
-
Method Detail
-
noAuthentication
RelayAuthentication.Builder noAuthentication(NoAuthentication 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:
noAuthentication(NoAuthentication)
-
secretArn
RelayAuthentication.Builder secretArn(String 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.
-
-