@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-07T23:47:06.606Z") @Stability(value=Deprecated) @Deprecated public interface FixedResponse extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.elasticloadbalancingv2.*;
FixedResponse fixedResponse = FixedResponse.builder()
.statusCode("statusCode")
// the properties below are optional
.contentType(ContentType.TEXT_PLAIN)
.messageBody("messageBody")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
FixedResponse.Builder
Deprecated.
|
static class |
FixedResponse.Jsii$Proxy
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static FixedResponse.Builder |
builder()
Deprecated.
|
default ContentType |
getContentType()
Deprecated.
|
default String |
getMessageBody()
Deprecated.
|
String |
getStatusCode()
Deprecated.
|
@Stability(value=Deprecated) @Deprecated @NotNull String getStatusCode()
@Stability(value=Deprecated) @Deprecated @Nullable default ContentType getContentType()
Default: text/plain
@Stability(value=Deprecated) @Deprecated @Nullable default String getMessageBody()
Default: no message
@Stability(value=Deprecated) @Deprecated static FixedResponse.Builder builder()
FixedResponse.Builder of FixedResponseCopyright © 2022. All rights reserved.