Interface AddHeaderAction.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AddHeaderAction.Builder,
,AddHeaderAction> SdkBuilder<AddHeaderAction.Builder,
,AddHeaderAction> SdkPojo
- Enclosing class:
AddHeaderAction
@Mutable
@NotThreadSafe
public static interface AddHeaderAction.Builder
extends SdkPojo, CopyableBuilder<AddHeaderAction.Builder,AddHeaderAction>
-
Method Summary
Modifier and TypeMethodDescriptionheaderName
(String headerName) The name of the header to add to an email.headerValue
(String headerValue) The value of the header to add to the email.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, sdkFieldNameToField, sdkFields
-
Method Details
-
headerName
The name of the header to add to an email. The header must be prefixed with "X-". Headers are added regardless of whether the header name pre-existed in the email.
- Parameters:
headerName
- The name of the header to add to an email. The header must be prefixed with "X-". Headers are added regardless of whether the header name pre-existed in the email.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
headerValue
The value of the header to add to the email.
- Parameters:
headerValue
- The value of the header to add to the email.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-