@Stability(value=Deprecated) @Deprecated public static final class AddFixedResponseProps.Builder extends Object implements software.amazon.jsii.Builder<AddFixedResponseProps>
AddFixedResponseProps| Constructor and Description |
|---|
Builder()
Deprecated.
|
@Stability(value=Experimental) public AddFixedResponseProps.Builder conditions(List<? extends ListenerCondition> conditions)
AddRuleProps.getConditions()conditions - Rule applies if matches the conditions.this@Stability(value=Deprecated) @Deprecated public AddFixedResponseProps.Builder hostHeader(String hostHeader)
AddRuleProps.getHostHeader()hostHeader - Rule applies if the requested host matches the indicated host.
May contain up to three '*' wildcards.
Requires that priority is set.
this@Stability(value=Deprecated) @Deprecated public AddFixedResponseProps.Builder pathPattern(String pathPattern)
AddRuleProps.getPathPattern()pathPattern - Rule applies if the requested path matches the given path pattern.
May contain up to three '*' wildcards.
Requires that priority is set.
this@Stability(value=Deprecated) @Deprecated public AddFixedResponseProps.Builder pathPatterns(List<String> pathPatterns)
AddRuleProps.getPathPatterns()pathPatterns - Rule applies if the requested path matches any of the given patterns.
May contain up to three '*' wildcards.
Requires that priority is set.
this@Stability(value=Experimental) public AddFixedResponseProps.Builder priority(Number priority)
AddRuleProps.getPriority()priority - Priority of this target group.
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.
this@Stability(value=Experimental) public AddFixedResponseProps.Builder statusCode(String statusCode)
FixedResponse.getStatusCode()statusCode - The HTTP response code (2XX, 4XX or 5XX). This parameter is required.this@Stability(value=Experimental) public AddFixedResponseProps.Builder contentType(ContentType contentType)
FixedResponse.getContentType()contentType - The content type.this@Stability(value=Experimental) public AddFixedResponseProps.Builder messageBody(String messageBody)
FixedResponse.getMessageBody()messageBody - The message.this@Stability(value=Deprecated) @Deprecated public AddFixedResponseProps build()
build in interface software.amazon.jsii.Builder<AddFixedResponseProps>AddFixedResponsePropsNullPointerException - if any required attribute was not providedCopyright © 2020. All rights reserved.