Interface ModifyListenerRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ModifyListenerRequest.Builder,,ModifyListenerRequest> ElasticLoadBalancingV2Request.Builder,SdkBuilder<ModifyListenerRequest.Builder,,ModifyListenerRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
- ModifyListenerRequest
-
Method Summary
Modifier and TypeMethodDescriptionalpnPolicy(String... alpnPolicy) [TLS listeners] The name of the Application-Layer Protocol Negotiation (ALPN) policy.alpnPolicy(Collection<String> alpnPolicy) [TLS listeners] The name of the Application-Layer Protocol Negotiation (ALPN) policy.certificates(Collection<Certificate> certificates) [HTTPS and TLS listeners] The default certificate for the listener.certificates(Consumer<Certificate.Builder>... certificates) [HTTPS and TLS listeners] The default certificate for the listener.certificates(Certificate... certificates) [HTTPS and TLS listeners] The default certificate for the listener.defaultActions(Collection<Action> defaultActions) The actions for the default rule.defaultActions(Consumer<Action.Builder>... defaultActions) The actions for the default rule.defaultActions(Action... defaultActions) The actions for the default rule.listenerArn(String listenerArn) The Amazon Resource Name (ARN) of the listener.default ModifyListenerRequest.BuildermutualAuthentication(Consumer<MutualAuthenticationAttributes.Builder> mutualAuthentication) [HTTPS listeners] The mutual authentication configuration information.mutualAuthentication(MutualAuthenticationAttributes mutualAuthentication) [HTTPS listeners] The mutual authentication configuration information.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) The port for connections from clients to the load balancer.The protocol for connections from clients to the load balancer.protocol(ProtocolEnum protocol) The protocol for connections from clients to the load balancer.[HTTPS and TLS listeners] The security policy that defines which protocols and ciphers are supported.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.elasticloadbalancingv2.model.ElasticLoadBalancingV2Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
listenerArn
The Amazon Resource Name (ARN) of the listener.
- Parameters:
listenerArn- The Amazon Resource Name (ARN) of the listener.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
port
The port for connections from clients to the load balancer. You can't specify a port for a Gateway Load Balancer.
- Parameters:
port- The port for connections from clients to the load balancer. You can't specify a port for a Gateway Load Balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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, TCP_UDP, QUIC, and TCP_QUIC protocols. You can’t change the protocol to UDP, TCP_UDP, QUIC, or TCP_QUIC if dual-stack mode is enabled. You can't specify a protocol for a Gateway Load Balancer.
- Parameters:
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, TCP_UDP, QUIC, and TCP_QUIC protocols. You can’t change the protocol to UDP, TCP_UDP, QUIC, or TCP_QUIC if dual-stack mode is enabled. You can't specify a protocol for a Gateway Load Balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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, TCP_UDP, QUIC, and TCP_QUIC protocols. You can’t change the protocol to UDP, TCP_UDP, QUIC, or TCP_QUIC if dual-stack mode is enabled. You can't specify a protocol for a Gateway Load Balancer.
- Parameters:
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, TCP_UDP, QUIC, and TCP_QUIC protocols. You can’t change the protocol to UDP, TCP_UDP, QUIC, or TCP_QUIC if dual-stack mode is enabled. You can't specify a protocol for a Gateway Load Balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificates
[HTTPS and TLS listeners] The default certificate for the listener. You must provide exactly one certificate. Set
CertificateArnto the certificate ARN but do not setIsDefault.- Parameters:
certificates- [HTTPS and TLS listeners] The default certificate for the listener. You must provide exactly one certificate. SetCertificateArnto the certificate ARN but do not setIsDefault.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificates
[HTTPS and TLS listeners] The default certificate for the listener. You must provide exactly one certificate. Set
CertificateArnto the certificate ARN but do not setIsDefault.- Parameters:
certificates- [HTTPS and TLS listeners] The default certificate for the listener. You must provide exactly one certificate. SetCertificateArnto the certificate ARN but do not setIsDefault.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificates
[HTTPS and TLS listeners] The default certificate for the listener. You must provide exactly one certificate. Set
This is a convenience method that creates an instance of theCertificateArnto the certificate ARN but do not setIsDefault.Certificate.Builderavoiding the need to create one manually viaCertificate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocertificates(List<Certificate>).- Parameters:
certificates- a consumer that will call methods onCertificate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
defaultActions
The actions for the default rule.
- Parameters:
defaultActions- The actions for the default rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultActions
The actions for the default rule.
- Parameters:
defaultActions- The actions for the default rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultActions
The actions for the default rule.
This is a convenience method that creates an instance of theAction.Builderavoiding the need to create one manually viaAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todefaultActions(List<Action>).- Parameters:
defaultActions- a consumer that will call methods onAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
mutualAuthentication
ModifyListenerRequest.Builder mutualAuthentication(MutualAuthenticationAttributes mutualAuthentication) [HTTPS listeners] The mutual authentication configuration information.
- Parameters:
mutualAuthentication- [HTTPS listeners] The mutual authentication configuration information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mutualAuthentication
default ModifyListenerRequest.Builder mutualAuthentication(Consumer<MutualAuthenticationAttributes.Builder> mutualAuthentication) [HTTPS listeners] The mutual authentication configuration information.
This is a convenience method that creates an instance of theMutualAuthenticationAttributes.Builderavoiding the need to create one manually viaMutualAuthenticationAttributes.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomutualAuthentication(MutualAuthenticationAttributes).- Parameters:
mutualAuthentication- a consumer that will call methods onMutualAuthenticationAttributes.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ModifyListenerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ModifyListenerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-