@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()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<Certificate> |
getCertificates()
[HTTPS listeners] 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()
[HTTPS listeners] The security policy that defines which ciphers and protocols are supported.
|
int |
hashCode() |
void |
setCertificates(Collection<Certificate> certificates)
[HTTPS listeners] 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)
[HTTPS listeners] 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)
[HTTPS listeners] The SSL server certificate.
|
CreateListenerRequest |
withCertificates(Collection<Certificate> certificates)
[HTTPS listeners] 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)
[HTTPS listeners] The security policy that defines which ciphers and protocols are supported.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
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 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. 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
public String getProtocol()
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
public CreateListenerRequest withProtocol(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
public void setProtocol(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
public CreateListenerRequest withProtocol(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
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 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)
[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.public String getSslPolicy()
[HTTPS listeners] The security policy that defines which ciphers and protocols are supported. The default is the current predefined security policy.
public CreateListenerRequest withSslPolicy(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.public List<Certificate> getCertificates()
[HTTPS listeners] The SSL server certificate. You must provide exactly one certificate.
public void setCertificates(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.public CreateListenerRequest withCertificates(Certificate... certificates)
[HTTPS listeners] The SSL server certificate. You must provide exactly one certificate.
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
- [HTTPS listeners] The SSL server certificate. You must provide exactly one certificate.public CreateListenerRequest withCertificates(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.public List<Action> getDefaultActions()
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.
public void setDefaultActions(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.public CreateListenerRequest withDefaultActions(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.
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. 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.public CreateListenerRequest withDefaultActions(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.public String toString()
toString
in class Object
Object.toString()
public CreateListenerRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.