@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Listener extends Object implements Serializable, Cloneable
Information about a listener.
Constructor and Description |
---|
Listener() |
Modifier and Type | Method and Description |
---|---|
Listener |
clone() |
boolean |
equals(Object obj) |
List<Certificate> |
getCertificates()
The SSL server certificate.
|
List<Action> |
getDefaultActions()
The default actions for the listener.
|
String |
getListenerArn()
The Amazon Resource Name (ARN) of the listener.
|
String |
getLoadBalancerArn()
The Amazon Resource Name (ARN) of the load balancer.
|
Integer |
getPort()
The port on which the load balancer is listening.
|
String |
getProtocol()
The protocol for connections from clients to the load balancer.
|
String |
getSslPolicy()
The security policy that defines which ciphers and protocols are supported.
|
int |
hashCode() |
void |
setCertificates(Collection<Certificate> certificates)
The SSL server certificate.
|
void |
setDefaultActions(Collection<Action> defaultActions)
The default actions for the listener.
|
void |
setListenerArn(String listenerArn)
The Amazon Resource Name (ARN) of the listener.
|
void |
setLoadBalancerArn(String loadBalancerArn)
The Amazon Resource Name (ARN) of the load balancer.
|
void |
setPort(Integer port)
The port on which the load balancer is listening.
|
void |
setProtocol(ProtocolEnum protocol)
The protocol for connections from clients to the load balancer.
|
void |
setProtocol(String protocol)
The protocol for connections from clients to the load balancer.
|
void |
setSslPolicy(String sslPolicy)
The security policy that defines which ciphers and protocols are supported.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Listener |
withCertificates(Certificate... certificates)
The SSL server certificate.
|
Listener |
withCertificates(Collection<Certificate> certificates)
The SSL server certificate.
|
Listener |
withDefaultActions(Action... defaultActions)
The default actions for the listener.
|
Listener |
withDefaultActions(Collection<Action> defaultActions)
The default actions for the listener.
|
Listener |
withListenerArn(String listenerArn)
The Amazon Resource Name (ARN) of the listener.
|
Listener |
withLoadBalancerArn(String loadBalancerArn)
The Amazon Resource Name (ARN) of the load balancer.
|
Listener |
withPort(Integer port)
The port on which the load balancer is listening.
|
Listener |
withProtocol(ProtocolEnum protocol)
The protocol for connections from clients to the load balancer.
|
Listener |
withProtocol(String protocol)
The protocol for connections from clients to the load balancer.
|
Listener |
withSslPolicy(String sslPolicy)
The security policy that defines which ciphers and protocols are supported.
|
public void setListenerArn(String listenerArn)
The Amazon Resource Name (ARN) of the listener.
listenerArn
- The Amazon Resource Name (ARN) of the listener.public String getListenerArn()
The Amazon Resource Name (ARN) of the listener.
public Listener withListenerArn(String listenerArn)
The Amazon Resource Name (ARN) of the listener.
listenerArn
- The Amazon Resource Name (ARN) of the listener.public void setLoadBalancerArn(String loadBalancerArn)
The Amazon Resource Name (ARN) of the load balancer.
loadBalancerArn
- The Amazon Resource Name (ARN) of the load balancer.public String getLoadBalancerArn()
The Amazon Resource Name (ARN) of the load balancer.
public Listener withLoadBalancerArn(String loadBalancerArn)
The Amazon Resource Name (ARN) of the load balancer.
loadBalancerArn
- The Amazon Resource Name (ARN) of the load balancer.public void setPort(Integer port)
The port on which the load balancer is listening.
port
- The port on which the load balancer is listening.public Integer getPort()
The port on which the load balancer is listening.
public Listener withPort(Integer port)
The port on which the load balancer is listening.
port
- The port on which the load balancer is listening.public void setProtocol(String protocol)
The protocol for connections from clients to the load balancer.
protocol
- The protocol for connections from clients to the load balancer.ProtocolEnum
public String getProtocol()
The protocol for connections from clients to the load balancer.
ProtocolEnum
public Listener withProtocol(String protocol)
The protocol for connections from clients to the load balancer.
protocol
- The protocol for connections from clients to the load balancer.ProtocolEnum
public void setProtocol(ProtocolEnum protocol)
The protocol for connections from clients to the load balancer.
protocol
- The protocol for connections from clients to the load balancer.ProtocolEnum
public Listener withProtocol(ProtocolEnum protocol)
The protocol for connections from clients to the load balancer.
protocol
- The protocol for connections from clients to the load balancer.ProtocolEnum
public List<Certificate> getCertificates()
The SSL server certificate. You must provide a certificate if the protocol is HTTPS.
public void setCertificates(Collection<Certificate> certificates)
The SSL server certificate. You must provide a certificate if the protocol is HTTPS.
certificates
- The SSL server certificate. You must provide a certificate if the protocol is HTTPS.public Listener withCertificates(Certificate... certificates)
The SSL server certificate. You must provide a 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 a certificate if the protocol is HTTPS.public Listener withCertificates(Collection<Certificate> certificates)
The SSL server certificate. You must provide a certificate if the protocol is HTTPS.
certificates
- The SSL server certificate. You must provide a certificate if the protocol is HTTPS.public void setSslPolicy(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.public String getSslPolicy()
The security policy that defines which ciphers and protocols are supported. The default is the current predefined security policy.
public Listener withSslPolicy(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.public List<Action> getDefaultActions()
The default actions for the listener.
public void setDefaultActions(Collection<Action> defaultActions)
The default actions for the listener.
defaultActions
- The default actions for the listener.public Listener withDefaultActions(Action... defaultActions)
The default actions 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 actions for the listener.public Listener withDefaultActions(Collection<Action> defaultActions)
The default actions for the listener.
defaultActions
- The default actions for the listener.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.