public static interface CreateListenerRequest.Builder extends ElasticLoadBalancingV2Request.Builder, SdkPojo, CopyableBuilder<CreateListenerRequest.Builder,CreateListenerRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateListenerRequest.Builder |
alpnPolicy(Collection<String> alpnPolicy)
[TLS listeners] The name of the Application-Layer Protocol Negotiation (ALPN) policy.
|
CreateListenerRequest.Builder |
alpnPolicy(String... alpnPolicy)
[TLS listeners] The name of the Application-Layer Protocol Negotiation (ALPN) policy.
|
CreateListenerRequest.Builder |
certificates(Certificate... certificates)
[HTTPS and TLS listeners] The default certificate for the listener.
|
CreateListenerRequest.Builder |
certificates(Collection<Certificate> certificates)
[HTTPS and TLS listeners] The default certificate for the listener.
|
CreateListenerRequest.Builder |
certificates(Consumer<Certificate.Builder>... certificates)
[HTTPS and TLS listeners] The default certificate for the listener.
|
CreateListenerRequest.Builder |
defaultActions(Action... defaultActions)
The actions for the default rule.
|
CreateListenerRequest.Builder |
defaultActions(Collection<Action> defaultActions)
The actions for the default rule.
|
CreateListenerRequest.Builder |
defaultActions(Consumer<Action.Builder>... defaultActions)
The actions for the default rule.
|
CreateListenerRequest.Builder |
loadBalancerArn(String loadBalancerArn)
The Amazon Resource Name (ARN) of the load balancer.
|
CreateListenerRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateListenerRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateListenerRequest.Builder |
port(Integer port)
The port on which the load balancer is listening.
|
CreateListenerRequest.Builder |
protocol(ProtocolEnum protocol)
The protocol for connections from clients to the load balancer.
|
CreateListenerRequest.Builder |
protocol(String protocol)
The protocol for connections from clients to the load balancer.
|
CreateListenerRequest.Builder |
sslPolicy(String sslPolicy)
[HTTPS and TLS listeners] The security policy that defines which protocols and ciphers are supported.
|
CreateListenerRequest.Builder |
tags(Collection<Tag> tags)
The tags to assign to the listener.
|
CreateListenerRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
The tags to assign to the listener.
|
CreateListenerRequest.Builder |
tags(Tag... tags)
The tags to assign to the listener.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateListenerRequest.Builder loadBalancerArn(String loadBalancerArn)
The Amazon Resource Name (ARN) of the load balancer.
loadBalancerArn - The Amazon Resource Name (ARN) of the load balancer.CreateListenerRequest.Builder protocol(String protocol)
The protocol for connections from clients to the load balancer. For Application Load Balancers, the supported protocols are HTTP and HTTPS. For Network Load Balancers, the supported protocols are TCP, TLS, UDP, and TCP_UDP. You can’t specify the UDP or TCP_UDP protocol if dual-stack mode is enabled. You cannot specify a protocol for a Gateway Load Balancer.
protocol - The protocol for connections from clients to the load balancer. For Application Load Balancers, the
supported protocols are HTTP and HTTPS. For Network Load Balancers, the supported protocols are TCP,
TLS, UDP, and TCP_UDP. You can’t specify the UDP or TCP_UDP protocol if dual-stack mode is enabled.
You cannot specify a protocol for a Gateway Load Balancer.ProtocolEnum,
ProtocolEnumCreateListenerRequest.Builder protocol(ProtocolEnum protocol)
The protocol for connections from clients to the load balancer. For Application Load Balancers, the supported protocols are HTTP and HTTPS. For Network Load Balancers, the supported protocols are TCP, TLS, UDP, and TCP_UDP. You can’t specify the UDP or TCP_UDP protocol if dual-stack mode is enabled. You cannot specify a protocol for a Gateway Load Balancer.
protocol - The protocol for connections from clients to the load balancer. For Application Load Balancers, the
supported protocols are HTTP and HTTPS. For Network Load Balancers, the supported protocols are TCP,
TLS, UDP, and TCP_UDP. You can’t specify the UDP or TCP_UDP protocol if dual-stack mode is enabled.
You cannot specify a protocol for a Gateway Load Balancer.ProtocolEnum,
ProtocolEnumCreateListenerRequest.Builder port(Integer port)
The port on which the load balancer is listening. You cannot specify a port for a Gateway Load Balancer.
port - The port on which the load balancer is listening. You cannot specify a port for a Gateway Load
Balancer.CreateListenerRequest.Builder sslPolicy(String sslPolicy)
[HTTPS and TLS listeners] The security policy that defines which protocols and ciphers are supported.
For more information, see Security policies in the Application Load Balancers Guide and Security policies in the Network Load Balancers Guide.
sslPolicy - [HTTPS and TLS listeners] The security policy that defines which protocols and ciphers are
supported.
For more information, see Security policies in the Application Load Balancers Guide and Security policies in the Network Load Balancers Guide.
CreateListenerRequest.Builder certificates(Collection<Certificate> certificates)
[HTTPS and TLS listeners] The default certificate for the listener. You must provide exactly one certificate.
Set CertificateArn to the certificate ARN but do not set IsDefault.
certificates - [HTTPS and TLS listeners] The default certificate for the listener. You must provide exactly one
certificate. Set CertificateArn to the certificate ARN but do not set
IsDefault.CreateListenerRequest.Builder certificates(Certificate... certificates)
[HTTPS and TLS listeners] The default certificate for the listener. You must provide exactly one certificate.
Set CertificateArn to the certificate ARN but do not set IsDefault.
certificates - [HTTPS and TLS listeners] The default certificate for the listener. You must provide exactly one
certificate. Set CertificateArn to the certificate ARN but do not set
IsDefault.CreateListenerRequest.Builder certificates(Consumer<Certificate.Builder>... certificates)
[HTTPS and TLS listeners] The default certificate for the listener. You must provide exactly one certificate.
Set CertificateArn to the certificate ARN but do not set IsDefault.
List.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #certificates(List) .certificates - a consumer that will call methods on List.Builder #certificates(List) CreateListenerRequest.Builder defaultActions(Collection<Action> defaultActions)
The actions for the default rule.
defaultActions - The actions for the default rule.CreateListenerRequest.Builder defaultActions(Action... defaultActions)
The actions for the default rule.
defaultActions - The actions for the default rule.CreateListenerRequest.Builder defaultActions(Consumer<Action.Builder>... defaultActions)
The actions for the default rule.
This is a convenience that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #defaultActions(List) .defaultActions - a consumer that will call methods on List.Builder #defaultActions(List) CreateListenerRequest.Builder alpnPolicy(Collection<String> alpnPolicy)
[TLS listeners] The name of the Application-Layer Protocol Negotiation (ALPN) policy. You can specify one policy name. The following are the possible values:
HTTP1Only
HTTP2Only
HTTP2Optional
HTTP2Preferred
None
For more information, see ALPN policies in the Network Load Balancers Guide.
alpnPolicy - [TLS listeners] The name of the Application-Layer Protocol Negotiation (ALPN) policy. You can specify
one policy name. The following are the possible values:
HTTP1Only
HTTP2Only
HTTP2Optional
HTTP2Preferred
None
For more information, see ALPN policies in the Network Load Balancers Guide.
CreateListenerRequest.Builder alpnPolicy(String... alpnPolicy)
[TLS listeners] The name of the Application-Layer Protocol Negotiation (ALPN) policy. You can specify one policy name. The following are the possible values:
HTTP1Only
HTTP2Only
HTTP2Optional
HTTP2Preferred
None
For more information, see ALPN policies in the Network Load Balancers Guide.
alpnPolicy - [TLS listeners] The name of the Application-Layer Protocol Negotiation (ALPN) policy. You can specify
one policy name. The following are the possible values:
HTTP1Only
HTTP2Only
HTTP2Optional
HTTP2Preferred
None
For more information, see ALPN policies in the Network Load Balancers Guide.
CreateListenerRequest.Builder tags(Collection<Tag> tags)
The tags to assign to the listener.
tags - The tags to assign to the listener.CreateListenerRequest.Builder tags(Tag... tags)
The tags to assign to the listener.
tags - The tags to assign to the listener.CreateListenerRequest.Builder tags(Consumer<Tag.Builder>... tags)
The tags to assign to the listener.
This is a convenience that creates an instance of theList.Builder avoiding the need to create
one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its result
is passed to #tags(List) .tags - a consumer that will call methods on List.Builder #tags(List) CreateListenerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateListenerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.