Interface UpdateRelayRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<UpdateRelayRequest.Builder,,- UpdateRelayRequest> - MailManagerRequest.Builder,- SdkBuilder<UpdateRelayRequest.Builder,,- UpdateRelayRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- UpdateRelayRequest
@Mutable
@NotThreadSafe
public static interface UpdateRelayRequest.Builder
extends MailManagerRequest.Builder, SdkPojo, CopyableBuilder<UpdateRelayRequest.Builder,UpdateRelayRequest> 
- 
Method SummaryModifier 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.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.mailmanager.model.MailManagerRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
relayIdThe unique relay identifier. - Parameters:
- relayId- The unique relay identifier.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
relayNameThe 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.
 
- 
serverNameThe 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.
 
- 
serverPortThe 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.
 
- 
authenticationAuthentication 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.
 
- 
authenticationdefault 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 on- RelayAuthentication.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
overrideConfigurationUpdateRelayRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationUpdateRelayRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-