CopyableBuilder<CreateListenerRequest.Builder,CreateListenerRequest>
, SdkBuilder<CreateListenerRequest.Builder,CreateListenerRequest>
public static interface CreateListenerRequest.Builder extends CopyableBuilder<CreateListenerRequest.Builder,CreateListenerRequest>
Modifier and Type | Method | Description |
---|---|---|
CreateListenerRequest.Builder |
certificates(Collection<Certificate> certificates) |
The SSL server certificate.
|
CreateListenerRequest.Builder |
certificates(Certificate... certificates) |
The SSL server certificate.
|
CreateListenerRequest.Builder |
defaultActions(Collection<Action> defaultActions) |
The default action for the listener.
|
CreateListenerRequest.Builder |
defaultActions(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(String protocol) |
The protocol for connections from clients to the load balancer.
|
CreateListenerRequest.Builder |
protocol(ProtocolEnum protocol) |
The protocol for connections from clients to the load balancer.
|
CreateListenerRequest.Builder |
sslPolicy(String sslPolicy) |
The security policy that defines which ciphers and protocols are supported.
|
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.
protocol
- The protocol for connections from clients to the load balancer.ProtocolEnum
CreateListenerRequest.Builder protocol(ProtocolEnum protocol)
The protocol for connections from clients to the load balancer.
protocol
- The protocol for connections from clients to the load balancer.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)
The security policy that defines which ciphers and protocols are supported. The default is the current predefined security policy.
sslPolicy
- 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)
The SSL server certificate. You must provide exactly one certificate if the protocol is HTTPS.
certificates
- The SSL server certificate. You must provide exactly one certificate if the protocol is HTTPS.CreateListenerRequest.Builder certificates(Certificate... certificates)
The SSL server certificate. You must provide exactly one certificate if the protocol is HTTPS.
NOTE: This method appends the values to the existing list (if any). Use
#setCertificates(java.util.Collection)
or #withCertificates(java.util.Collection)
if you want
to override the existing values.
certificates
- The SSL server certificate. You must provide exactly one certificate if the protocol is HTTPS.CreateListenerRequest.Builder defaultActions(Collection<Action> defaultActions)
The default action for the listener.
defaultActions
- The default action for the listener.CreateListenerRequest.Builder defaultActions(Action... defaultActions)
The default action for the listener.
NOTE: This method appends the values to the existing list (if any). Use
#setDefaultActions(java.util.Collection)
or #withDefaultActions(java.util.Collection)
if you
want to override the existing values.
defaultActions
- The default action for the listener.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.