@Stability(value=Deprecated) @Deprecated public static final class FixedResponse.Builder extends Object implements software.amazon.jsii.Builder<FixedResponse>
FixedResponse| Constructor and Description |
|---|
Builder()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
FixedResponse |
build()
Deprecated.
|
FixedResponse.Builder |
contentType(ContentType contentType)
Deprecated.
|
FixedResponse.Builder |
messageBody(String messageBody)
Deprecated.
|
FixedResponse.Builder |
statusCode(String statusCode)
Deprecated.
|
@Stability(value=Deprecated) @Deprecated public FixedResponse.Builder statusCode(String statusCode)
FixedResponse.getStatusCode()statusCode - The HTTP response code (2XX, 4XX or 5XX). This parameter is required.this@Stability(value=Deprecated) @Deprecated public FixedResponse.Builder contentType(ContentType contentType)
FixedResponse.getContentType()contentType - The content type.this@Stability(value=Deprecated) @Deprecated public FixedResponse.Builder messageBody(String messageBody)
FixedResponse.getMessageBody()messageBody - The message.this@Stability(value=Deprecated) @Deprecated public FixedResponse build()
build in interface software.amazon.jsii.Builder<FixedResponse>FixedResponseNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.