public static interface ModifyListenerRequest.Builder extends ElasticLoadBalancingV2Request.Builder, SdkPojo, CopyableBuilder<ModifyListenerRequest.Builder,ModifyListenerRequest>
| Modifier and Type | Method and Description |
|---|---|
ModifyListenerRequest.Builder |
alpnPolicy(Collection<String> alpnPolicy)
[TLS listeners] The name of the Application-Layer Protocol Negotiation (ALPN) policy.
|
ModifyListenerRequest.Builder |
alpnPolicy(String... alpnPolicy)
[TLS listeners] The name of the Application-Layer Protocol Negotiation (ALPN) policy.
|
ModifyListenerRequest.Builder |
certificates(Certificate... certificates)
[HTTPS and TLS listeners] The default certificate for the listener.
|
ModifyListenerRequest.Builder |
certificates(Collection<Certificate> certificates)
[HTTPS and TLS listeners] The default certificate for the listener.
|
ModifyListenerRequest.Builder |
certificates(Consumer<Certificate.Builder>... certificates)
[HTTPS and TLS listeners] The default certificate for the listener.
|
ModifyListenerRequest.Builder |
defaultActions(Action... defaultActions)
The actions for the default rule.
|
ModifyListenerRequest.Builder |
defaultActions(Collection<Action> defaultActions)
The actions for the default rule.
|
ModifyListenerRequest.Builder |
defaultActions(Consumer<Action.Builder>... defaultActions)
The actions for the default rule.
|
ModifyListenerRequest.Builder |
listenerArn(String listenerArn)
The Amazon Resource Name (ARN) of the listener.
|
ModifyListenerRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
ModifyListenerRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
ModifyListenerRequest.Builder |
port(Integer port)
The port for connections from clients to the load balancer.
|
ModifyListenerRequest.Builder |
protocol(ProtocolEnum protocol)
The protocol for connections from clients to the load balancer.
|
ModifyListenerRequest.Builder |
protocol(String protocol)
The protocol for connections from clients to the load balancer.
|
ModifyListenerRequest.Builder |
sslPolicy(String sslPolicy)
[HTTPS and TLS listeners] The security policy that defines which protocols and ciphers are supported.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildModifyListenerRequest.Builder listenerArn(String listenerArn)
The Amazon Resource Name (ARN) of the listener.
listenerArn - The Amazon Resource Name (ARN) of the listener.ModifyListenerRequest.Builder port(Integer port)
The port for connections from clients to the load balancer. You cannot specify a port for a Gateway Load Balancer.
port - The port for connections from clients to the load balancer. You cannot specify a port for a Gateway
Load Balancer.ModifyListenerRequest.Builder protocol(String protocol)
The protocol for connections from clients to the load balancer. Application Load Balancers support the HTTP and HTTPS protocols. Network Load Balancers support the TCP, TLS, UDP, and TCP_UDP protocols. You can’t change the protocol to UDP or TCP_UDP 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. Application Load Balancers support the
HTTP and HTTPS protocols. Network Load Balancers support the TCP, TLS, UDP, and TCP_UDP protocols. You
can’t change the protocol to UDP or TCP_UDP if dual-stack mode is enabled. You cannot specify a
protocol for a Gateway Load Balancer.ProtocolEnum,
ProtocolEnumModifyListenerRequest.Builder protocol(ProtocolEnum protocol)
The protocol for connections from clients to the load balancer. Application Load Balancers support the HTTP and HTTPS protocols. Network Load Balancers support the TCP, TLS, UDP, and TCP_UDP protocols. You can’t change the protocol to UDP or TCP_UDP 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. Application Load Balancers support the
HTTP and HTTPS protocols. Network Load Balancers support the TCP, TLS, UDP, and TCP_UDP protocols. You
can’t change the protocol to UDP or TCP_UDP if dual-stack mode is enabled. You cannot specify a
protocol for a Gateway Load Balancer.ProtocolEnum,
ProtocolEnumModifyListenerRequest.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 or 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 or Security policies in the Network Load Balancers Guide.
ModifyListenerRequest.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.ModifyListenerRequest.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.ModifyListenerRequest.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.
Certificate.Builder avoiding the need to
create one manually via
Certificate.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #certificates(List.
certificates - a consumer that will call methods on
Certificate.Builder#certificates(java.util.Collection) ModifyListenerRequest.Builder defaultActions(Collection<Action> defaultActions)
The actions for the default rule.
defaultActions - The actions for the default rule.ModifyListenerRequest.Builder defaultActions(Action... defaultActions)
The actions for the default rule.
defaultActions - The actions for the default rule.ModifyListenerRequest.Builder defaultActions(Consumer<Action.Builder>... defaultActions)
The actions for the default rule.
This is a convenience method that creates an instance of theAction.Builder avoiding the need to
create one manually via Action.builder()
.
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #defaultActions(List.
defaultActions - a consumer that will call methods on
Action.Builder#defaultActions(java.util.Collection) ModifyListenerRequest.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.
ModifyListenerRequest.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.
ModifyListenerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderModifyListenerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.