public static final class AddHeaderActionConfig.Builder
extends java.lang.Object
AddHeaderActionConfig
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AddHeaderActionConfig |
build()
Builds the configured instance.
|
AddHeaderActionConfig.Builder |
headerName(java.lang.String headerName)
Sets the value of
AddHeaderActionConfig.getHeaderName() |
AddHeaderActionConfig.Builder |
headerValue(java.lang.String headerValue)
Sets the value of
AddHeaderActionConfig.getHeaderValue() |
public AddHeaderActionConfig.Builder headerName(java.lang.String headerName)
AddHeaderActionConfig.getHeaderName()
headerName
- The name of the header that you want to add to the incoming message. This parameter is required.this
public AddHeaderActionConfig.Builder headerValue(java.lang.String headerValue)
AddHeaderActionConfig.getHeaderValue()
headerValue
- The content that you want to include in the header. This parameter is required.this
public AddHeaderActionConfig build()
AddHeaderActionConfig
java.lang.NullPointerException
- if any required attribute was not provided