@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateListenerRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateListenerRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateListenerRequest |
clone() |
boolean |
equals(Object obj) |
List<Certificate> |
getCertificates()
The SSL server certificate.
|
List<Action> |
getDefaultActions()
The default action for 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 action for 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.
|
CreateListenerRequest |
withCertificates(Certificate... certificates)
The SSL server certificate.
|
CreateListenerRequest |
withCertificates(Collection<Certificate> certificates)
The SSL server certificate.
|
CreateListenerRequest |
withDefaultActions(Action... defaultActions)
The default action for the listener.
|
CreateListenerRequest |
withDefaultActions(Collection<Action> defaultActions)
The default action for the listener.
|
CreateListenerRequest |
withLoadBalancerArn(String loadBalancerArn)
The Amazon Resource Name (ARN) of the load balancer.
|
CreateListenerRequest |
withPort(Integer port)
The port on which the load balancer is listening.
|
CreateListenerRequest |
withProtocol(ProtocolEnum protocol)
The protocol for connections from clients to the load balancer.
|
CreateListenerRequest |
withProtocol(String protocol)
The protocol for connections from clients to the load balancer.
|
CreateListenerRequest |
withSslPolicy(String sslPolicy)
The security policy that defines which ciphers and protocols are supported.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic 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 CreateListenerRequest withLoadBalancerArn(String loadBalancerArn)
The Amazon Resource Name (ARN) of the load balancer.
loadBalancerArn - The Amazon Resource Name (ARN) of the load balancer.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.ProtocolEnumpublic String getProtocol()
The protocol for connections from clients to the load balancer.
ProtocolEnumpublic CreateListenerRequest withProtocol(String protocol)
The protocol for connections from clients to the load balancer.
protocol - The protocol for connections from clients to the load balancer.ProtocolEnumpublic 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.ProtocolEnumpublic CreateListenerRequest withProtocol(ProtocolEnum protocol)
The protocol for connections from clients to the load balancer.
protocol - The protocol for connections from clients to the load balancer.ProtocolEnumpublic 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 CreateListenerRequest withPort(Integer port)
The port on which the load balancer is listening.
port - The port on which the load balancer is listening.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 CreateListenerRequest 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<Certificate> getCertificates()
The SSL server certificate. You must provide exactly one certificate if the protocol is HTTPS.
public void setCertificates(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.public CreateListenerRequest withCertificates(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.public CreateListenerRequest withCertificates(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.public List<Action> getDefaultActions()
The default action for the listener.
public void setDefaultActions(Collection<Action> defaultActions)
The default action for the listener.
defaultActions - The default action for the listener.public CreateListenerRequest withDefaultActions(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.public CreateListenerRequest withDefaultActions(Collection<Action> defaultActions)
The default action for the listener.
defaultActions - The default action for the listener.public String toString()
toString in class ObjectObject.toString()public CreateListenerRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2017. All rights reserved.