@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateListenerRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateListenerRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateListenerRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientAffinity()
Client affinity lets you direct all requests from a user to the same endpoint, if you have stateful applications,
regardless of the port and protocol of the client request.
|
String |
getListenerArn()
The Amazon Resource Name (ARN) of the listener to update.
|
List<PortRange> |
getPortRanges()
The updated list of port ranges for the connections from clients to the accelerator.
|
String |
getProtocol()
The updated protocol for the connections from clients to the accelerator.
|
int |
hashCode() |
void |
setClientAffinity(String clientAffinity)
Client affinity lets you direct all requests from a user to the same endpoint, if you have stateful applications,
regardless of the port and protocol of the client request.
|
void |
setListenerArn(String listenerArn)
The Amazon Resource Name (ARN) of the listener to update.
|
void |
setPortRanges(Collection<PortRange> portRanges)
The updated list of port ranges for the connections from clients to the accelerator.
|
void |
setProtocol(String protocol)
The updated protocol for the connections from clients to the accelerator.
|
String |
toString()
Returns a string representation of this object.
|
UpdateListenerRequest |
withClientAffinity(ClientAffinity clientAffinity)
Client affinity lets you direct all requests from a user to the same endpoint, if you have stateful applications,
regardless of the port and protocol of the client request.
|
UpdateListenerRequest |
withClientAffinity(String clientAffinity)
Client affinity lets you direct all requests from a user to the same endpoint, if you have stateful applications,
regardless of the port and protocol of the client request.
|
UpdateListenerRequest |
withListenerArn(String listenerArn)
The Amazon Resource Name (ARN) of the listener to update.
|
UpdateListenerRequest |
withPortRanges(Collection<PortRange> portRanges)
The updated list of port ranges for the connections from clients to the accelerator.
|
UpdateListenerRequest |
withPortRanges(PortRange... portRanges)
The updated list of port ranges for the connections from clients to the accelerator.
|
UpdateListenerRequest |
withProtocol(Protocol protocol)
The updated protocol for the connections from clients to the accelerator.
|
UpdateListenerRequest |
withProtocol(String protocol)
The updated protocol for the connections from clients to the accelerator.
|
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 setListenerArn(String listenerArn)
The Amazon Resource Name (ARN) of the listener to update.
listenerArn
- The Amazon Resource Name (ARN) of the listener to update.public String getListenerArn()
The Amazon Resource Name (ARN) of the listener to update.
public UpdateListenerRequest withListenerArn(String listenerArn)
The Amazon Resource Name (ARN) of the listener to update.
listenerArn
- The Amazon Resource Name (ARN) of the listener to update.public List<PortRange> getPortRanges()
The updated list of port ranges for the connections from clients to the accelerator.
public void setPortRanges(Collection<PortRange> portRanges)
The updated list of port ranges for the connections from clients to the accelerator.
portRanges
- The updated list of port ranges for the connections from clients to the accelerator.public UpdateListenerRequest withPortRanges(PortRange... portRanges)
The updated list of port ranges for the connections from clients to the accelerator.
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 updated list of port ranges for the connections from clients to the accelerator.public UpdateListenerRequest withPortRanges(Collection<PortRange> portRanges)
The updated list of port ranges for the connections from clients to the accelerator.
portRanges
- The updated list of port ranges for the connections from clients to the accelerator.public void setProtocol(String protocol)
The updated protocol for the connections from clients to the accelerator.
protocol
- The updated protocol for the connections from clients to the accelerator.Protocol
public String getProtocol()
The updated protocol for the connections from clients to the accelerator.
Protocol
public UpdateListenerRequest withProtocol(String protocol)
The updated protocol for the connections from clients to the accelerator.
protocol
- The updated protocol for the connections from clients to the accelerator.Protocol
public UpdateListenerRequest withProtocol(Protocol protocol)
The updated protocol for the connections from clients to the accelerator.
protocol
- The updated protocol for the connections from clients to the accelerator.Protocol
public void setClientAffinity(String clientAffinity)
Client affinity lets you direct all requests from a user to the same endpoint, if you have stateful applications, regardless of the port and protocol of the client request. Client affinity gives you control over whether to always route each client to the same specific endpoint.
Global Accelerator uses a consistent-flow hashing algorithm to choose the optimal endpoint for a connection. If
client affinity is NONE
, Global Accelerator uses the "five-tuple" (5-tuple) properties—source IP
address, source port, destination IP address, destination port, and protocol—to select the hash value, and then
chooses the best endpoint. However, with this setting, if someone uses different ports to connect to Global
Accelerator, their connections might not be always routed to the same endpoint because the hash value changes.
If you want a given client to always be routed to the same endpoint, set client affinity to
SOURCE_IP
instead. When you use the SOURCE_IP
setting, Global Accelerator uses the
"two-tuple" (2-tuple) properties— source (client) IP address and destination IP address—to select the hash value.
The default value is NONE
.
clientAffinity
- Client affinity lets you direct all requests from a user to the same endpoint, if you have stateful
applications, regardless of the port and protocol of the client request. Client affinity gives you control
over whether to always route each client to the same specific endpoint.
Global Accelerator uses a consistent-flow hashing algorithm to choose the optimal endpoint for a
connection. If client affinity is NONE
, Global Accelerator uses the "five-tuple" (5-tuple)
properties—source IP address, source port, destination IP address, destination port, and protocol—to
select the hash value, and then chooses the best endpoint. However, with this setting, if someone uses
different ports to connect to Global Accelerator, their connections might not be always routed to the same
endpoint because the hash value changes.
If you want a given client to always be routed to the same endpoint, set client affinity to
SOURCE_IP
instead. When you use the SOURCE_IP
setting, Global Accelerator uses
the "two-tuple" (2-tuple) properties— source (client) IP address and destination IP address—to select the
hash value.
The default value is NONE
.
ClientAffinity
public String getClientAffinity()
Client affinity lets you direct all requests from a user to the same endpoint, if you have stateful applications, regardless of the port and protocol of the client request. Client affinity gives you control over whether to always route each client to the same specific endpoint.
Global Accelerator uses a consistent-flow hashing algorithm to choose the optimal endpoint for a connection. If
client affinity is NONE
, Global Accelerator uses the "five-tuple" (5-tuple) properties—source IP
address, source port, destination IP address, destination port, and protocol—to select the hash value, and then
chooses the best endpoint. However, with this setting, if someone uses different ports to connect to Global
Accelerator, their connections might not be always routed to the same endpoint because the hash value changes.
If you want a given client to always be routed to the same endpoint, set client affinity to
SOURCE_IP
instead. When you use the SOURCE_IP
setting, Global Accelerator uses the
"two-tuple" (2-tuple) properties— source (client) IP address and destination IP address—to select the hash value.
The default value is NONE
.
Global Accelerator uses a consistent-flow hashing algorithm to choose the optimal endpoint for a
connection. If client affinity is NONE
, Global Accelerator uses the "five-tuple" (5-tuple)
properties—source IP address, source port, destination IP address, destination port, and protocol—to
select the hash value, and then chooses the best endpoint. However, with this setting, if someone uses
different ports to connect to Global Accelerator, their connections might not be always routed to the
same endpoint because the hash value changes.
If you want a given client to always be routed to the same endpoint, set client affinity to
SOURCE_IP
instead. When you use the SOURCE_IP
setting, Global Accelerator uses
the "two-tuple" (2-tuple) properties— source (client) IP address and destination IP address—to select the
hash value.
The default value is NONE
.
ClientAffinity
public UpdateListenerRequest withClientAffinity(String clientAffinity)
Client affinity lets you direct all requests from a user to the same endpoint, if you have stateful applications, regardless of the port and protocol of the client request. Client affinity gives you control over whether to always route each client to the same specific endpoint.
Global Accelerator uses a consistent-flow hashing algorithm to choose the optimal endpoint for a connection. If
client affinity is NONE
, Global Accelerator uses the "five-tuple" (5-tuple) properties—source IP
address, source port, destination IP address, destination port, and protocol—to select the hash value, and then
chooses the best endpoint. However, with this setting, if someone uses different ports to connect to Global
Accelerator, their connections might not be always routed to the same endpoint because the hash value changes.
If you want a given client to always be routed to the same endpoint, set client affinity to
SOURCE_IP
instead. When you use the SOURCE_IP
setting, Global Accelerator uses the
"two-tuple" (2-tuple) properties— source (client) IP address and destination IP address—to select the hash value.
The default value is NONE
.
clientAffinity
- Client affinity lets you direct all requests from a user to the same endpoint, if you have stateful
applications, regardless of the port and protocol of the client request. Client affinity gives you control
over whether to always route each client to the same specific endpoint.
Global Accelerator uses a consistent-flow hashing algorithm to choose the optimal endpoint for a
connection. If client affinity is NONE
, Global Accelerator uses the "five-tuple" (5-tuple)
properties—source IP address, source port, destination IP address, destination port, and protocol—to
select the hash value, and then chooses the best endpoint. However, with this setting, if someone uses
different ports to connect to Global Accelerator, their connections might not be always routed to the same
endpoint because the hash value changes.
If you want a given client to always be routed to the same endpoint, set client affinity to
SOURCE_IP
instead. When you use the SOURCE_IP
setting, Global Accelerator uses
the "two-tuple" (2-tuple) properties— source (client) IP address and destination IP address—to select the
hash value.
The default value is NONE
.
ClientAffinity
public UpdateListenerRequest withClientAffinity(ClientAffinity clientAffinity)
Client affinity lets you direct all requests from a user to the same endpoint, if you have stateful applications, regardless of the port and protocol of the client request. Client affinity gives you control over whether to always route each client to the same specific endpoint.
Global Accelerator uses a consistent-flow hashing algorithm to choose the optimal endpoint for a connection. If
client affinity is NONE
, Global Accelerator uses the "five-tuple" (5-tuple) properties—source IP
address, source port, destination IP address, destination port, and protocol—to select the hash value, and then
chooses the best endpoint. However, with this setting, if someone uses different ports to connect to Global
Accelerator, their connections might not be always routed to the same endpoint because the hash value changes.
If you want a given client to always be routed to the same endpoint, set client affinity to
SOURCE_IP
instead. When you use the SOURCE_IP
setting, Global Accelerator uses the
"two-tuple" (2-tuple) properties— source (client) IP address and destination IP address—to select the hash value.
The default value is NONE
.
clientAffinity
- Client affinity lets you direct all requests from a user to the same endpoint, if you have stateful
applications, regardless of the port and protocol of the client request. Client affinity gives you control
over whether to always route each client to the same specific endpoint.
Global Accelerator uses a consistent-flow hashing algorithm to choose the optimal endpoint for a
connection. If client affinity is NONE
, Global Accelerator uses the "five-tuple" (5-tuple)
properties—source IP address, source port, destination IP address, destination port, and protocol—to
select the hash value, and then chooses the best endpoint. However, with this setting, if someone uses
different ports to connect to Global Accelerator, their connections might not be always routed to the same
endpoint because the hash value changes.
If you want a given client to always be routed to the same endpoint, set client affinity to
SOURCE_IP
instead. When you use the SOURCE_IP
setting, Global Accelerator uses
the "two-tuple" (2-tuple) properties— source (client) IP address and destination IP address—to select the
hash value.
The default value is NONE
.
ClientAffinity
public String toString()
toString
in class Object
Object.toString()
public UpdateListenerRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()