Interface AddHeaderAction.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AddHeaderAction.Builder,
,AddHeaderAction> SdkBuilder<AddHeaderAction.Builder,
,AddHeaderAction> SdkPojo
- Enclosing class:
AddHeaderAction
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 the incoming message.headerValue
(String headerValue) The content to include in the header.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 Details
-
headerName
The name of the header to add to the incoming message. The name must contain at least one character, and can contain up to 50 characters. It consists of alphanumeric (a–z, A–Z, 0–9) characters and dashes.
- Parameters:
headerName
- The name of the header to add to the incoming message. The name must contain at least one character, and can contain up to 50 characters. It consists of alphanumeric (a–z, A–Z, 0–9) characters and dashes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
headerValue
The content to include in the header. This value can contain up to 2048 characters. It can't contain newline (
\n
) or carriage return (\r
) characters.- Parameters:
headerValue
- The content to include in the header. This value can contain up to 2048 characters. It can't contain newline (\n
) or carriage return (\r
) characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-