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