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
Modifier and TypeMethodDescriptioncontentType(String contentType) The content type.messageBody(String messageBody) The message.statusCode(String statusCode) The HTTP response code (2XX, 4XX, or 5XX).Methods 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, sdkFields
-
Method Details
-
messageBody
The message.
- Parameters:
messageBody- The message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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.
-