@Stability(value=Experimental) public static final class ApplicationTargetProps.Builder extends Object implements software.amazon.jsii.Builder<ApplicationTargetProps>
ApplicationTargetProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ApplicationTargetProps |
build()
Builds the configured instance.
|
ApplicationTargetProps.Builder |
containerPort(Number containerPort)
Sets the value of
ApplicationTargetProps.getContainerPort() |
ApplicationTargetProps.Builder |
hostHeader(String hostHeader)
Sets the value of
ApplicationTargetProps.getHostHeader() |
ApplicationTargetProps.Builder |
listener(String listener)
Sets the value of
ApplicationTargetProps.getListener() |
ApplicationTargetProps.Builder |
pathPattern(String pathPattern)
Sets the value of
ApplicationTargetProps.getPathPattern() |
ApplicationTargetProps.Builder |
priority(Number priority)
Sets the value of
ApplicationTargetProps.getPriority() |
ApplicationTargetProps.Builder |
protocol(Protocol protocol)
Sets the value of
ApplicationTargetProps.getProtocol() |
@Stability(value=Experimental) public ApplicationTargetProps.Builder containerPort(Number containerPort)
ApplicationTargetProps.getContainerPort()containerPort - The port number of the container. This parameter is required.
Only applicable when using application/network load balancers.this@Stability(value=Experimental) public ApplicationTargetProps.Builder hostHeader(String hostHeader)
ApplicationTargetProps.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=Experimental) public ApplicationTargetProps.Builder listener(String listener)
ApplicationTargetProps.getListener()listener - Name of the listener the target group attached to.this@Stability(value=Experimental) public ApplicationTargetProps.Builder pathPattern(String pathPattern)
ApplicationTargetProps.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=Experimental) public ApplicationTargetProps.Builder priority(Number priority)
ApplicationTargetProps.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 ApplicationTargetProps.Builder protocol(Protocol protocol)
ApplicationTargetProps.getProtocol()protocol - The protocol used for the port mapping.
Only applicable when using application load balancers.this@Stability(value=Experimental) public ApplicationTargetProps build()
build in interface software.amazon.jsii.Builder<ApplicationTargetProps>ApplicationTargetPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.