@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CustomRoutingListener extends Object implements Serializable, Cloneable, StructuredPojo
A complex type for a listener for a custom routing accelerator.
Constructor and Description |
---|
CustomRoutingListener() |
Modifier and Type | Method and Description |
---|---|
CustomRoutingListener |
clone() |
boolean |
equals(Object obj) |
String |
getListenerArn()
The Amazon Resource Name (ARN) of the listener.
|
List<PortRange> |
getPortRanges()
The port range to support for connections from clients to your accelerator.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setListenerArn(String listenerArn)
The Amazon Resource Name (ARN) of the listener.
|
void |
setPortRanges(Collection<PortRange> portRanges)
The port range to support for connections from clients to your accelerator.
|
String |
toString()
Returns a string representation of this object.
|
CustomRoutingListener |
withListenerArn(String listenerArn)
The Amazon Resource Name (ARN) of the listener.
|
CustomRoutingListener |
withPortRanges(Collection<PortRange> portRanges)
The port range to support for connections from clients to your accelerator.
|
CustomRoutingListener |
withPortRanges(PortRange... portRanges)
The port range to support for connections from clients to your accelerator.
|
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 CustomRoutingListener withListenerArn(String listenerArn)
The Amazon Resource Name (ARN) of the listener.
listenerArn
- The Amazon Resource Name (ARN) of the listener.public List<PortRange> getPortRanges()
The port range to support for connections from clients to your accelerator.
Separately, you set port ranges for endpoints. For more information, see About endpoints for custom routing accelerators.
Separately, you set port ranges for endpoints. For more information, see About endpoints for custom routing accelerators.
public void setPortRanges(Collection<PortRange> portRanges)
The port range to support for connections from clients to your accelerator.
Separately, you set port ranges for endpoints. For more information, see About endpoints for custom routing accelerators.
portRanges
- The port range to support for connections from clients to your accelerator.
Separately, you set port ranges for endpoints. For more information, see About endpoints for custom routing accelerators.
public CustomRoutingListener withPortRanges(PortRange... portRanges)
The port range to support for connections from clients to your accelerator.
Separately, you set port ranges for endpoints. For more information, see About endpoints for custom routing accelerators.
NOTE: This method appends the values to the existing list (if any). Use
setPortRanges(java.util.Collection)
or withPortRanges(java.util.Collection)
if you want to
override the existing values.
portRanges
- The port range to support for connections from clients to your accelerator.
Separately, you set port ranges for endpoints. For more information, see About endpoints for custom routing accelerators.
public CustomRoutingListener withPortRanges(Collection<PortRange> portRanges)
The port range to support for connections from clients to your accelerator.
Separately, you set port ranges for endpoints. For more information, see About endpoints for custom routing accelerators.
portRanges
- The port range to support for connections from clients to your accelerator.
Separately, you set port ranges for endpoints. For more information, see About endpoints for custom routing accelerators.
public String toString()
toString
in class Object
Object.toString()
public CustomRoutingListener clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.