@Stability(value=Deprecated) @Deprecated @Internal public static final class AddFixedResponseProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements AddFixedResponseProps
AddFixedResponseProps
software.amazon.jsii.JsiiObject.InitializationMode
AddFixedResponseProps.Builder, AddFixedResponseProps.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(AddFixedResponseProps.Builder builder)
Deprecated.
Constructor that initializes the object based on literal property values passed by the
AddFixedResponseProps.Builder . |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Deprecated.
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson()
Deprecated.
|
boolean |
equals(Object o)
Deprecated.
|
List<ListenerCondition> |
getConditions()
Deprecated.
Rule applies if matches the conditions.
|
ContentType |
getContentType()
Deprecated.
(deprecated) The content type.
|
String |
getHostHeader()
Deprecated.
(deprecated) Rule applies if the requested host matches the indicated host.
|
String |
getMessageBody()
Deprecated.
(deprecated) The message.
|
String |
getPathPattern()
Deprecated.
(deprecated) Rule applies if the requested path matches the given path pattern.
|
List<String> |
getPathPatterns()
Deprecated.
(deprecated) Rule applies if the requested path matches any of the given patterns.
|
Number |
getPriority()
Deprecated.
Priority of this target group.
|
String |
getStatusCode()
Deprecated.
(deprecated) The HTTP response code (2XX, 4XX or 5XX).
|
int |
hashCode()
Deprecated.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.protected Jsii$Proxy(AddFixedResponseProps.Builder builder)
AddFixedResponseProps.Builder
.public final List<ListenerCondition> getConditions()
AddRuleProps
Default: - No conditions.
getConditions
in interface AddRuleProps
public final String getHostHeader()
AddRuleProps
May contain up to three '*' wildcards.
Requires that priority is set.
Default: No host condition
getHostHeader
in interface AddRuleProps
public final String getPathPattern()
AddRuleProps
May contain up to three '*' wildcards.
Requires that priority is set.
Default: No path condition
getPathPattern
in interface AddRuleProps
public final List<String> getPathPatterns()
AddRuleProps
May contain up to three '*' wildcards.
Requires that priority is set.
Default: - No path condition.
getPathPatterns
in interface AddRuleProps
public final Number getPriority()
AddRuleProps
The rule with the lowest priority will be used for every request. If priority is not given, these target groups will be added as defaults, and must not have conditions.
Priorities must be unique.
Default: Target groups are used as defaults
getPriority
in interface AddRuleProps
public final String getStatusCode()
FixedResponse
getStatusCode
in interface FixedResponse
public final ContentType getContentType()
FixedResponse
Default: text/plain
getContentType
in interface FixedResponse
public final String getMessageBody()
FixedResponse
Default: no message
getMessageBody
in interface FixedResponse
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson
in interface software.amazon.jsii.JsiiSerializable
Copyright © 2023. All rights reserved.