public static interface CreateListenerRequest.Builder extends ElasticLoadBalancingv2Request.Builder, CopyableBuilder<CreateListenerRequest.Builder,CreateListenerRequest>
Modifier and Type | Method and Description |
---|---|
CreateListenerRequest.Builder |
certificates(Certificate... certificates)
[HTTPS listeners] The SSL server certificate.
|
CreateListenerRequest.Builder |
certificates(Collection<Certificate> certificates)
[HTTPS listeners] The SSL server certificate.
|
CreateListenerRequest.Builder |
defaultActions(Action... defaultActions)
The default action for the listener.
|
CreateListenerRequest.Builder |
defaultActions(Collection<Action> defaultActions)
The default action for the listener.
|
CreateListenerRequest.Builder |
loadBalancerArn(String loadBalancerArn)
The Amazon Resource Name (ARN) of the load balancer.
|
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 |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
CreateListenerRequest.Builder |
sslPolicy(String sslPolicy)
[HTTPS listeners] The security policy that defines which ciphers and protocols are supported.
|
build
requestOverrideConfig, requestOverrideConfig
copy
apply, build
CreateListenerRequest.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 protocol is TCP.
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 protocol is TCP.ProtocolEnum
,
ProtocolEnum
CreateListenerRequest.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 protocol is TCP.
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 protocol is TCP.ProtocolEnum
,
ProtocolEnum
CreateListenerRequest.Builder port(Integer port)
The port on which the load balancer is listening.
port
- The port on which the load balancer is listening.CreateListenerRequest.Builder sslPolicy(String sslPolicy)
[HTTPS listeners] The security policy that defines which ciphers and protocols are supported. The default is the current predefined security policy.
sslPolicy
- [HTTPS listeners] The security policy that defines which ciphers and protocols are supported. The
default is the current predefined security policy.CreateListenerRequest.Builder certificates(Collection<Certificate> certificates)
[HTTPS listeners] The SSL server certificate. You must provide exactly one certificate.
certificates
- [HTTPS listeners] The SSL server certificate. You must provide exactly one certificate.CreateListenerRequest.Builder certificates(Certificate... certificates)
[HTTPS listeners] The SSL server certificate. You must provide exactly one certificate.
certificates
- [HTTPS listeners] The SSL server certificate. You must provide exactly one certificate.CreateListenerRequest.Builder defaultActions(Collection<Action> defaultActions)
The default action for the listener. For Application Load Balancers, the protocol of the specified target group must be HTTP or HTTPS. For Network Load Balancers, the protocol of the specified target group must be TCP.
defaultActions
- The default action for the listener. For Application Load Balancers, the protocol of the specified
target group must be HTTP or HTTPS. For Network Load Balancers, the protocol of the specified target
group must be TCP.CreateListenerRequest.Builder defaultActions(Action... defaultActions)
The default action for the listener. For Application Load Balancers, the protocol of the specified target group must be HTTP or HTTPS. For Network Load Balancers, the protocol of the specified target group must be TCP.
defaultActions
- The default action for the listener. For Application Load Balancers, the protocol of the specified
target group must be HTTP or HTTPS. For Network Load Balancers, the protocol of the specified target
group must be TCP.CreateListenerRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.