@Stability(value=Stable) public static final class CfnListener.FixedResponseConfigProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnListener.FixedResponseConfigProperty>
CfnListener.FixedResponseConfigProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnListener.FixedResponseConfigProperty |
build()
Builds the configured instance.
|
CfnListener.FixedResponseConfigProperty.Builder |
contentType(String contentType)
Sets the value of
CfnListener.FixedResponseConfigProperty.getContentType() |
CfnListener.FixedResponseConfigProperty.Builder |
messageBody(String messageBody)
Sets the value of
CfnListener.FixedResponseConfigProperty.getMessageBody() |
CfnListener.FixedResponseConfigProperty.Builder |
statusCode(String statusCode)
Sets the value of
CfnListener.FixedResponseConfigProperty.getStatusCode() |
@Stability(value=Stable) public CfnListener.FixedResponseConfigProperty.Builder statusCode(String statusCode)
CfnListener.FixedResponseConfigProperty.getStatusCode()statusCode - The HTTP response code (2XX, 4XX, or 5XX). This parameter is required.this@Stability(value=Stable) public CfnListener.FixedResponseConfigProperty.Builder contentType(String contentType)
CfnListener.FixedResponseConfigProperty.getContentType()contentType - The content type.
Valid Values: text/plain | text/css | text/html | application/javascript | application/jsonthis@Stability(value=Stable) public CfnListener.FixedResponseConfigProperty.Builder messageBody(String messageBody)
CfnListener.FixedResponseConfigProperty.getMessageBody()messageBody - The message.this@Stability(value=Stable) public CfnListener.FixedResponseConfigProperty build()
build in interface software.amazon.jsii.Builder<CfnListener.FixedResponseConfigProperty>CfnListener.FixedResponseConfigPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.