Interface FixedResponseActionConfig.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<FixedResponseActionConfig.Builder,FixedResponseActionConfig>
,SdkBuilder<FixedResponseActionConfig.Builder,FixedResponseActionConfig>
,SdkPojo
- Enclosing class:
- FixedResponseActionConfig
public static interface FixedResponseActionConfig.Builder extends SdkPojo, CopyableBuilder<FixedResponseActionConfig.Builder,FixedResponseActionConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FixedResponseActionConfig.Builder
contentType(String contentType)
The content type.FixedResponseActionConfig.Builder
messageBody(String messageBody)
The message.FixedResponseActionConfig.Builder
statusCode(String statusCode)
The HTTP response code (2XX, 4XX, or 5XX).-
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 Detail
-
messageBody
FixedResponseActionConfig.Builder messageBody(String messageBody)
The message.
- Parameters:
messageBody
- The message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusCode
FixedResponseActionConfig.Builder statusCode(String statusCode)
The HTTP response code (2XX, 4XX, or 5XX).
- Parameters:
statusCode
- The HTTP response code (2XX, 4XX, or 5XX).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentType
FixedResponseActionConfig.Builder contentType(String contentType)
The content type.
Valid Values: text/plain | text/css | text/html | application/javascript | application/json
- Parameters:
contentType
- The content type.Valid Values: text/plain | text/css | text/html | application/javascript | application/json
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-