@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 - `CfnListenerRule.FixedResponseConfigProperty.StatusCode`. This parameter is required.this@Stability(value=Stable) public CfnListenerRule.FixedResponseConfigProperty.Builder contentType(String contentType)
CfnListenerRule.FixedResponseConfigProperty.getContentType()contentType - `CfnListenerRule.FixedResponseConfigProperty.ContentType`.this@Stability(value=Stable) public CfnListenerRule.FixedResponseConfigProperty.Builder messageBody(String messageBody)
CfnListenerRule.FixedResponseConfigProperty.getMessageBody()messageBody - `CfnListenerRule.FixedResponseConfigProperty.MessageBody`.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 © 2021. All rights reserved.