@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsElbLoadBalancerListener extends Object implements Serializable, Cloneable, StructuredPojo
Information about a load balancer listener.
Constructor and Description |
---|
AwsElbLoadBalancerListener() |
Modifier and Type | Method and Description |
---|---|
AwsElbLoadBalancerListener |
clone() |
boolean |
equals(Object obj) |
Integer |
getInstancePort()
The port on which the instance is listening.
|
String |
getInstanceProtocol()
The protocol to use to route traffic to instances.
|
Integer |
getLoadBalancerPort()
The port on which the load balancer is listening.
|
String |
getProtocol()
The load balancer transport protocol to use for routing.
|
String |
getSslCertificateId()
The ARN of the server certificate.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setInstancePort(Integer instancePort)
The port on which the instance is listening.
|
void |
setInstanceProtocol(String instanceProtocol)
The protocol to use to route traffic to instances.
|
void |
setLoadBalancerPort(Integer loadBalancerPort)
The port on which the load balancer is listening.
|
void |
setProtocol(String protocol)
The load balancer transport protocol to use for routing.
|
void |
setSslCertificateId(String sslCertificateId)
The ARN of the server certificate.
|
String |
toString()
Returns a string representation of this object.
|
AwsElbLoadBalancerListener |
withInstancePort(Integer instancePort)
The port on which the instance is listening.
|
AwsElbLoadBalancerListener |
withInstanceProtocol(String instanceProtocol)
The protocol to use to route traffic to instances.
|
AwsElbLoadBalancerListener |
withLoadBalancerPort(Integer loadBalancerPort)
The port on which the load balancer is listening.
|
AwsElbLoadBalancerListener |
withProtocol(String protocol)
The load balancer transport protocol to use for routing.
|
AwsElbLoadBalancerListener |
withSslCertificateId(String sslCertificateId)
The ARN of the server certificate.
|
public void setInstancePort(Integer instancePort)
The port on which the instance is listening.
instancePort
- The port on which the instance is listening.public Integer getInstancePort()
The port on which the instance is listening.
public AwsElbLoadBalancerListener withInstancePort(Integer instancePort)
The port on which the instance is listening.
instancePort
- The port on which the instance is listening.public void setInstanceProtocol(String instanceProtocol)
The protocol to use to route traffic to instances.
Valid values: HTTP
| HTTPS
| TCP
| SSL
instanceProtocol
- The protocol to use to route traffic to instances.
Valid values: HTTP
| HTTPS
| TCP
| SSL
public String getInstanceProtocol()
The protocol to use to route traffic to instances.
Valid values: HTTP
| HTTPS
| TCP
| SSL
Valid values: HTTP
| HTTPS
| TCP
| SSL
public AwsElbLoadBalancerListener withInstanceProtocol(String instanceProtocol)
The protocol to use to route traffic to instances.
Valid values: HTTP
| HTTPS
| TCP
| SSL
instanceProtocol
- The protocol to use to route traffic to instances.
Valid values: HTTP
| HTTPS
| TCP
| SSL
public void setLoadBalancerPort(Integer loadBalancerPort)
The port on which the load balancer is listening.
On EC2-VPC, you can specify any port from the range 1-65535.
On EC2-Classic, you can specify any port from the following list: 25, 80, 443, 465, 587, 1024-65535.
loadBalancerPort
- The port on which the load balancer is listening.
On EC2-VPC, you can specify any port from the range 1-65535.
On EC2-Classic, you can specify any port from the following list: 25, 80, 443, 465, 587, 1024-65535.
public Integer getLoadBalancerPort()
The port on which the load balancer is listening.
On EC2-VPC, you can specify any port from the range 1-65535.
On EC2-Classic, you can specify any port from the following list: 25, 80, 443, 465, 587, 1024-65535.
On EC2-VPC, you can specify any port from the range 1-65535.
On EC2-Classic, you can specify any port from the following list: 25, 80, 443, 465, 587, 1024-65535.
public AwsElbLoadBalancerListener withLoadBalancerPort(Integer loadBalancerPort)
The port on which the load balancer is listening.
On EC2-VPC, you can specify any port from the range 1-65535.
On EC2-Classic, you can specify any port from the following list: 25, 80, 443, 465, 587, 1024-65535.
loadBalancerPort
- The port on which the load balancer is listening.
On EC2-VPC, you can specify any port from the range 1-65535.
On EC2-Classic, you can specify any port from the following list: 25, 80, 443, 465, 587, 1024-65535.
public void setProtocol(String protocol)
The load balancer transport protocol to use for routing.
Valid values: HTTP
| HTTPS
| TCP
| SSL
protocol
- The load balancer transport protocol to use for routing.
Valid values: HTTP
| HTTPS
| TCP
| SSL
public String getProtocol()
The load balancer transport protocol to use for routing.
Valid values: HTTP
| HTTPS
| TCP
| SSL
Valid values: HTTP
| HTTPS
| TCP
| SSL
public AwsElbLoadBalancerListener withProtocol(String protocol)
The load balancer transport protocol to use for routing.
Valid values: HTTP
| HTTPS
| TCP
| SSL
protocol
- The load balancer transport protocol to use for routing.
Valid values: HTTP
| HTTPS
| TCP
| SSL
public void setSslCertificateId(String sslCertificateId)
The ARN of the server certificate.
sslCertificateId
- The ARN of the server certificate.public String getSslCertificateId()
The ARN of the server certificate.
public AwsElbLoadBalancerListener withSslCertificateId(String sslCertificateId)
The ARN of the server certificate.
sslCertificateId
- The ARN of the server certificate.public String toString()
toString
in class Object
Object.toString()
public AwsElbLoadBalancerListener clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.