Interface UpdateRelayRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateRelayRequest.Builder,,UpdateRelayRequest> MailManagerRequest.Builder,SdkBuilder<UpdateRelayRequest.Builder,,UpdateRelayRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateRelayRequest
public static interface UpdateRelayRequest.Builder
extends MailManagerRequest.Builder, SdkPojo, CopyableBuilder<UpdateRelayRequest.Builder,UpdateRelayRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateRelayRequest.Builderauthentication(Consumer<RelayAuthentication.Builder> authentication) Authentication for the relay destination server—specify the secretARN where the SMTP credentials are stored.authentication(RelayAuthentication authentication) Authentication for the relay destination server—specify the secretARN where the SMTP credentials are stored.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The unique relay identifier.The name of the relay resource.serverName(String serverName) The destination relay server address.serverPort(Integer serverPort) The destination relay server port.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.mailmanager.model.MailManagerRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authentication
default UpdateRelayRequest.Builder authentication(Consumer<RelayAuthentication.Builder> authentication) Authentication for the relay destination server—specify the secretARN where the SMTP credentials are stored.
This is a convenience method that creates an instance of theRelayAuthentication.Builderavoiding the need to create one manually viaRelayAuthentication.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toauthentication(RelayAuthentication).- Parameters:
authentication- a consumer that will call methods onRelayAuthentication.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
relayId
The unique relay identifier.
- Parameters:
relayId- The unique relay identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
relayName
The name of the relay resource.
- Parameters:
relayName- The name of the relay resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverName
The destination relay server address.
- Parameters:
serverName- The destination relay server address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverPort
The destination relay server port.
- Parameters:
serverPort- The destination relay server port.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateRelayRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateRelayRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-