Interface UpdateOutboundEmailContactMessageRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectRequest.Builder,CopyableBuilder<UpdateOutboundEmailContactMessageRequest.Builder,,UpdateOutboundEmailContactMessageRequest> SdkBuilder<UpdateOutboundEmailContactMessageRequest.Builder,,UpdateOutboundEmailContactMessageRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateOutboundEmailContactMessageRequest
@Mutable
@NotThreadSafe
public static interface UpdateOutboundEmailContactMessageRequest.Builder
extends ConnectRequest.Builder, SdkPojo, CopyableBuilder<UpdateOutboundEmailContactMessageRequest.Builder,UpdateOutboundEmailContactMessageRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier of the contact in this instance of Connect Customer.emailMessage(Consumer<UpdateOutboundEmailContent.Builder> emailMessage) The email message body to update on the outbound email draft.emailMessage(UpdateOutboundEmailContent emailMessage) The email message body to update on the outbound email draft.instanceId(String instanceId) The identifier of the Connect Customer instance.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.connect.model.ConnectRequest.Builder
buildMethods 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, sdkFieldNameToField, sdkFields
-
Method Details
-
instanceId
The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Parameters:
instanceId- The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contactId
The identifier of the contact in this instance of Connect Customer.
- Parameters:
contactId- The identifier of the contact in this instance of Connect Customer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
emailMessage
UpdateOutboundEmailContactMessageRequest.Builder emailMessage(UpdateOutboundEmailContent emailMessage) The email message body to update on the outbound email draft.
- Parameters:
emailMessage- The email message body to update on the outbound email draft.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
emailMessage
default UpdateOutboundEmailContactMessageRequest.Builder emailMessage(Consumer<UpdateOutboundEmailContent.Builder> emailMessage) The email message body to update on the outbound email draft.
This is a convenience method that creates an instance of theUpdateOutboundEmailContent.Builderavoiding the need to create one manually viaUpdateOutboundEmailContent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toemailMessage(UpdateOutboundEmailContent).- Parameters:
emailMessage- a consumer that will call methods onUpdateOutboundEmailContent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateOutboundEmailContactMessageRequest.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
UpdateOutboundEmailContactMessageRequest.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.
-