@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) |
String |
getAcceleratorArn()
The Amazon Resource Name (ARN) of your accelerator.
|
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 |
getIdempotencyToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of the
request.
|
List<PortRange> |
getPortRanges()
The list of port ranges to support for connections from clients to your accelerator.
|
String |
getProtocol()
The protocol for connections from clients to your accelerator.
|
int |
hashCode() |
void |
setAcceleratorArn(String acceleratorArn)
The Amazon Resource Name (ARN) of your accelerator.
|
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 |
setIdempotencyToken(String idempotencyToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of the
request.
|
void |
setPortRanges(Collection<PortRange> portRanges)
The list of port ranges to support for connections from clients to your accelerator.
|
void |
setProtocol(String protocol)
The protocol for connections from clients to your accelerator.
|
String |
toString()
Returns a string representation of this object.
|
CreateListenerRequest |
withAcceleratorArn(String acceleratorArn)
The Amazon Resource Name (ARN) of your accelerator.
|
CreateListenerRequest |
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.
|
CreateListenerRequest |
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.
|
CreateListenerRequest |
withIdempotencyToken(String idempotencyToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of the
request.
|
CreateListenerRequest |
withPortRanges(Collection<PortRange> portRanges)
The list of port ranges to support for connections from clients to your accelerator.
|
CreateListenerRequest |
withPortRanges(PortRange... portRanges)
The list of port ranges to support for connections from clients to your accelerator.
|
CreateListenerRequest |
withProtocol(Protocol protocol)
The protocol for connections from clients to your accelerator.
|
CreateListenerRequest |
withProtocol(String protocol)
The protocol for connections from clients to your accelerator.
|
addHandlerContext, copyBaseTo, 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, withSdkRequestTimeoutpublic void setAcceleratorArn(String acceleratorArn)
The Amazon Resource Name (ARN) of your accelerator.
acceleratorArn - The Amazon Resource Name (ARN) of your accelerator.public String getAcceleratorArn()
The Amazon Resource Name (ARN) of your accelerator.
public CreateListenerRequest withAcceleratorArn(String acceleratorArn)
The Amazon Resource Name (ARN) of your accelerator.
acceleratorArn - The Amazon Resource Name (ARN) of your accelerator.public List<PortRange> getPortRanges()
The list of port ranges to support for connections from clients to your accelerator.
public void setPortRanges(Collection<PortRange> portRanges)
The list of port ranges to support for connections from clients to your accelerator.
portRanges - The list of port ranges to support for connections from clients to your accelerator.public CreateListenerRequest withPortRanges(PortRange... portRanges)
The list of port ranges to support for connections from clients to your 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 list of port ranges to support for connections from clients to your accelerator.public CreateListenerRequest withPortRanges(Collection<PortRange> portRanges)
The list of port ranges to support for connections from clients to your accelerator.
portRanges - The list of port ranges to support for connections from clients to your accelerator.public void setProtocol(String protocol)
The protocol for connections from clients to your accelerator.
protocol - The protocol for connections from clients to your accelerator.Protocolpublic String getProtocol()
The protocol for connections from clients to your accelerator.
Protocolpublic CreateListenerRequest withProtocol(String protocol)
The protocol for connections from clients to your accelerator.
protocol - The protocol for connections from clients to your accelerator.Protocolpublic CreateListenerRequest withProtocol(Protocol protocol)
The protocol for connections from clients to your accelerator.
protocol - The protocol for connections from clients to your accelerator.Protocolpublic 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. Clienty affinity gives you control over whether to always route each client to the same specific endpoint.
AWS 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. Clienty affinity gives you
control over whether to always route each client to the same specific endpoint.
AWS 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.
ClientAffinitypublic 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. Clienty affinity gives you control over whether to always route each client to the same specific endpoint.
AWS 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.
AWS 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.
ClientAffinitypublic CreateListenerRequest 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. Clienty affinity gives you control over whether to always route each client to the same specific endpoint.
AWS 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. Clienty affinity gives you
control over whether to always route each client to the same specific endpoint.
AWS 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.
ClientAffinitypublic CreateListenerRequest 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. Clienty affinity gives you control over whether to always route each client to the same specific endpoint.
AWS 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. Clienty affinity gives you
control over whether to always route each client to the same specific endpoint.
AWS 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.
ClientAffinitypublic void setIdempotencyToken(String idempotencyToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of the request.
idempotencyToken - A unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of
the request.public String getIdempotencyToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of the request.
public CreateListenerRequest withIdempotencyToken(String idempotencyToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of the request.
idempotencyToken - A unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of
the request.public String toString()
toString in class ObjectObject.toString()public CreateListenerRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2019. All rights reserved.