@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateEndpointGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateEndpointGroupRequest() |
Modifier and Type | Method and Description |
---|---|
CreateEndpointGroupRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<EndpointConfiguration> |
getEndpointConfigurations()
The list of endpoint objects.
|
String |
getEndpointGroupRegion()
The Amazon Web Services Region where the endpoint group is located.
|
Integer |
getHealthCheckIntervalSeconds()
The time—10 seconds or 30 seconds—between each health check for an endpoint.
|
String |
getHealthCheckPath()
If the protocol is HTTP/S, then this specifies the path that is the destination for health check targets.
|
Integer |
getHealthCheckPort()
The port that Global Accelerator uses to check the health of endpoints that are part of this endpoint group.
|
String |
getHealthCheckProtocol()
The protocol that Global Accelerator uses to check the health of endpoints that are part of this endpoint group.
|
String |
getIdempotencyToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of the
request.
|
String |
getListenerArn()
The Amazon Resource Name (ARN) of the listener.
|
List<PortOverride> |
getPortOverrides()
Override specific listener ports used to route traffic to endpoints that are part of this endpoint group.
|
Integer |
getThresholdCount()
The number of consecutive health checks required to set the state of a healthy endpoint to unhealthy, or to set
an unhealthy endpoint to healthy.
|
Float |
getTrafficDialPercentage()
The percentage of traffic to send to an Amazon Web Services Region.
|
int |
hashCode() |
void |
setEndpointConfigurations(Collection<EndpointConfiguration> endpointConfigurations)
The list of endpoint objects.
|
void |
setEndpointGroupRegion(String endpointGroupRegion)
The Amazon Web Services Region where the endpoint group is located.
|
void |
setHealthCheckIntervalSeconds(Integer healthCheckIntervalSeconds)
The time—10 seconds or 30 seconds—between each health check for an endpoint.
|
void |
setHealthCheckPath(String healthCheckPath)
If the protocol is HTTP/S, then this specifies the path that is the destination for health check targets.
|
void |
setHealthCheckPort(Integer healthCheckPort)
The port that Global Accelerator uses to check the health of endpoints that are part of this endpoint group.
|
void |
setHealthCheckProtocol(String healthCheckProtocol)
The protocol that Global Accelerator uses to check the health of endpoints that are part of this endpoint group.
|
void |
setIdempotencyToken(String idempotencyToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of the
request.
|
void |
setListenerArn(String listenerArn)
The Amazon Resource Name (ARN) of the listener.
|
void |
setPortOverrides(Collection<PortOverride> portOverrides)
Override specific listener ports used to route traffic to endpoints that are part of this endpoint group.
|
void |
setThresholdCount(Integer thresholdCount)
The number of consecutive health checks required to set the state of a healthy endpoint to unhealthy, or to set
an unhealthy endpoint to healthy.
|
void |
setTrafficDialPercentage(Float trafficDialPercentage)
The percentage of traffic to send to an Amazon Web Services Region.
|
String |
toString()
Returns a string representation of this object.
|
CreateEndpointGroupRequest |
withEndpointConfigurations(Collection<EndpointConfiguration> endpointConfigurations)
The list of endpoint objects.
|
CreateEndpointGroupRequest |
withEndpointConfigurations(EndpointConfiguration... endpointConfigurations)
The list of endpoint objects.
|
CreateEndpointGroupRequest |
withEndpointGroupRegion(String endpointGroupRegion)
The Amazon Web Services Region where the endpoint group is located.
|
CreateEndpointGroupRequest |
withHealthCheckIntervalSeconds(Integer healthCheckIntervalSeconds)
The time—10 seconds or 30 seconds—between each health check for an endpoint.
|
CreateEndpointGroupRequest |
withHealthCheckPath(String healthCheckPath)
If the protocol is HTTP/S, then this specifies the path that is the destination for health check targets.
|
CreateEndpointGroupRequest |
withHealthCheckPort(Integer healthCheckPort)
The port that Global Accelerator uses to check the health of endpoints that are part of this endpoint group.
|
CreateEndpointGroupRequest |
withHealthCheckProtocol(HealthCheckProtocol healthCheckProtocol)
The protocol that Global Accelerator uses to check the health of endpoints that are part of this endpoint group.
|
CreateEndpointGroupRequest |
withHealthCheckProtocol(String healthCheckProtocol)
The protocol that Global Accelerator uses to check the health of endpoints that are part of this endpoint group.
|
CreateEndpointGroupRequest |
withIdempotencyToken(String idempotencyToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of the
request.
|
CreateEndpointGroupRequest |
withListenerArn(String listenerArn)
The Amazon Resource Name (ARN) of the listener.
|
CreateEndpointGroupRequest |
withPortOverrides(Collection<PortOverride> portOverrides)
Override specific listener ports used to route traffic to endpoints that are part of this endpoint group.
|
CreateEndpointGroupRequest |
withPortOverrides(PortOverride... portOverrides)
Override specific listener ports used to route traffic to endpoints that are part of this endpoint group.
|
CreateEndpointGroupRequest |
withThresholdCount(Integer thresholdCount)
The number of consecutive health checks required to set the state of a healthy endpoint to unhealthy, or to set
an unhealthy endpoint to healthy.
|
CreateEndpointGroupRequest |
withTrafficDialPercentage(Float trafficDialPercentage)
The percentage of traffic to send to an Amazon Web Services Region.
|
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.
listenerArn
- The Amazon Resource Name (ARN) of the listener.public String getListenerArn()
The Amazon Resource Name (ARN) of the listener.
public CreateEndpointGroupRequest withListenerArn(String listenerArn)
The Amazon Resource Name (ARN) of the listener.
listenerArn
- The Amazon Resource Name (ARN) of the listener.public void setEndpointGroupRegion(String endpointGroupRegion)
The Amazon Web Services Region where the endpoint group is located. A listener can have only one endpoint group in a specific Region.
endpointGroupRegion
- The Amazon Web Services Region where the endpoint group is located. A listener can have only one endpoint
group in a specific Region.public String getEndpointGroupRegion()
The Amazon Web Services Region where the endpoint group is located. A listener can have only one endpoint group in a specific Region.
public CreateEndpointGroupRequest withEndpointGroupRegion(String endpointGroupRegion)
The Amazon Web Services Region where the endpoint group is located. A listener can have only one endpoint group in a specific Region.
endpointGroupRegion
- The Amazon Web Services Region where the endpoint group is located. A listener can have only one endpoint
group in a specific Region.public List<EndpointConfiguration> getEndpointConfigurations()
The list of endpoint objects.
public void setEndpointConfigurations(Collection<EndpointConfiguration> endpointConfigurations)
The list of endpoint objects.
endpointConfigurations
- The list of endpoint objects.public CreateEndpointGroupRequest withEndpointConfigurations(EndpointConfiguration... endpointConfigurations)
The list of endpoint objects.
NOTE: This method appends the values to the existing list (if any). Use
setEndpointConfigurations(java.util.Collection)
or
withEndpointConfigurations(java.util.Collection)
if you want to override the existing values.
endpointConfigurations
- The list of endpoint objects.public CreateEndpointGroupRequest withEndpointConfigurations(Collection<EndpointConfiguration> endpointConfigurations)
The list of endpoint objects.
endpointConfigurations
- The list of endpoint objects.public void setTrafficDialPercentage(Float trafficDialPercentage)
The percentage of traffic to send to an Amazon Web Services Region. Additional traffic is distributed to other endpoint groups for this listener.
Use this action to increase (dial up) or decrease (dial down) traffic to a specific Region. The percentage is applied to the traffic that would otherwise have been routed to the Region based on optimal routing.
The default value is 100.
trafficDialPercentage
- The percentage of traffic to send to an Amazon Web Services Region. Additional traffic is distributed to
other endpoint groups for this listener.
Use this action to increase (dial up) or decrease (dial down) traffic to a specific Region. The percentage is applied to the traffic that would otherwise have been routed to the Region based on optimal routing.
The default value is 100.
public Float getTrafficDialPercentage()
The percentage of traffic to send to an Amazon Web Services Region. Additional traffic is distributed to other endpoint groups for this listener.
Use this action to increase (dial up) or decrease (dial down) traffic to a specific Region. The percentage is applied to the traffic that would otherwise have been routed to the Region based on optimal routing.
The default value is 100.
Use this action to increase (dial up) or decrease (dial down) traffic to a specific Region. The percentage is applied to the traffic that would otherwise have been routed to the Region based on optimal routing.
The default value is 100.
public CreateEndpointGroupRequest withTrafficDialPercentage(Float trafficDialPercentage)
The percentage of traffic to send to an Amazon Web Services Region. Additional traffic is distributed to other endpoint groups for this listener.
Use this action to increase (dial up) or decrease (dial down) traffic to a specific Region. The percentage is applied to the traffic that would otherwise have been routed to the Region based on optimal routing.
The default value is 100.
trafficDialPercentage
- The percentage of traffic to send to an Amazon Web Services Region. Additional traffic is distributed to
other endpoint groups for this listener.
Use this action to increase (dial up) or decrease (dial down) traffic to a specific Region. The percentage is applied to the traffic that would otherwise have been routed to the Region based on optimal routing.
The default value is 100.
public void setHealthCheckPort(Integer healthCheckPort)
The port that Global Accelerator uses to check the health of endpoints that are part of this endpoint group. The default port is the listener port that this endpoint group is associated with. If listener port is a list of ports, Global Accelerator uses the first port in the list.
healthCheckPort
- The port that Global Accelerator uses to check the health of endpoints that are part of this endpoint
group. The default port is the listener port that this endpoint group is associated with. If listener port
is a list of ports, Global Accelerator uses the first port in the list.public Integer getHealthCheckPort()
The port that Global Accelerator uses to check the health of endpoints that are part of this endpoint group. The default port is the listener port that this endpoint group is associated with. If listener port is a list of ports, Global Accelerator uses the first port in the list.
public CreateEndpointGroupRequest withHealthCheckPort(Integer healthCheckPort)
The port that Global Accelerator uses to check the health of endpoints that are part of this endpoint group. The default port is the listener port that this endpoint group is associated with. If listener port is a list of ports, Global Accelerator uses the first port in the list.
healthCheckPort
- The port that Global Accelerator uses to check the health of endpoints that are part of this endpoint
group. The default port is the listener port that this endpoint group is associated with. If listener port
is a list of ports, Global Accelerator uses the first port in the list.public void setHealthCheckProtocol(String healthCheckProtocol)
The protocol that Global Accelerator uses to check the health of endpoints that are part of this endpoint group. The default value is TCP.
healthCheckProtocol
- The protocol that Global Accelerator uses to check the health of endpoints that are part of this endpoint
group. The default value is TCP.HealthCheckProtocol
public String getHealthCheckProtocol()
The protocol that Global Accelerator uses to check the health of endpoints that are part of this endpoint group. The default value is TCP.
HealthCheckProtocol
public CreateEndpointGroupRequest withHealthCheckProtocol(String healthCheckProtocol)
The protocol that Global Accelerator uses to check the health of endpoints that are part of this endpoint group. The default value is TCP.
healthCheckProtocol
- The protocol that Global Accelerator uses to check the health of endpoints that are part of this endpoint
group. The default value is TCP.HealthCheckProtocol
public CreateEndpointGroupRequest withHealthCheckProtocol(HealthCheckProtocol healthCheckProtocol)
The protocol that Global Accelerator uses to check the health of endpoints that are part of this endpoint group. The default value is TCP.
healthCheckProtocol
- The protocol that Global Accelerator uses to check the health of endpoints that are part of this endpoint
group. The default value is TCP.HealthCheckProtocol
public void setHealthCheckPath(String healthCheckPath)
If the protocol is HTTP/S, then this specifies the path that is the destination for health check targets. The default value is slash (/).
healthCheckPath
- If the protocol is HTTP/S, then this specifies the path that is the destination for health check targets.
The default value is slash (/).public String getHealthCheckPath()
If the protocol is HTTP/S, then this specifies the path that is the destination for health check targets. The default value is slash (/).
public CreateEndpointGroupRequest withHealthCheckPath(String healthCheckPath)
If the protocol is HTTP/S, then this specifies the path that is the destination for health check targets. The default value is slash (/).
healthCheckPath
- If the protocol is HTTP/S, then this specifies the path that is the destination for health check targets.
The default value is slash (/).public void setHealthCheckIntervalSeconds(Integer healthCheckIntervalSeconds)
The time—10 seconds or 30 seconds—between each health check for an endpoint. The default value is 30.
healthCheckIntervalSeconds
- The time—10 seconds or 30 seconds—between each health check for an endpoint. The default value is 30.public Integer getHealthCheckIntervalSeconds()
The time—10 seconds or 30 seconds—between each health check for an endpoint. The default value is 30.
public CreateEndpointGroupRequest withHealthCheckIntervalSeconds(Integer healthCheckIntervalSeconds)
The time—10 seconds or 30 seconds—between each health check for an endpoint. The default value is 30.
healthCheckIntervalSeconds
- The time—10 seconds or 30 seconds—between each health check for an endpoint. The default value is 30.public void setThresholdCount(Integer thresholdCount)
The number of consecutive health checks required to set the state of a healthy endpoint to unhealthy, or to set an unhealthy endpoint to healthy. The default value is 3.
thresholdCount
- The number of consecutive health checks required to set the state of a healthy endpoint to unhealthy, or
to set an unhealthy endpoint to healthy. The default value is 3.public Integer getThresholdCount()
The number of consecutive health checks required to set the state of a healthy endpoint to unhealthy, or to set an unhealthy endpoint to healthy. The default value is 3.
public CreateEndpointGroupRequest withThresholdCount(Integer thresholdCount)
The number of consecutive health checks required to set the state of a healthy endpoint to unhealthy, or to set an unhealthy endpoint to healthy. The default value is 3.
thresholdCount
- The number of consecutive health checks required to set the state of a healthy endpoint to unhealthy, or
to set an unhealthy endpoint to healthy. The default value is 3.public 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 CreateEndpointGroupRequest 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 List<PortOverride> getPortOverrides()
Override specific listener ports used to route traffic to endpoints that are part of this endpoint group. For example, you can create a port override in which the listener receives user traffic on ports 80 and 443, but your accelerator routes that traffic to ports 1080 and 1443, respectively, on the endpoints.
For more information, see Overriding listener ports in the Global Accelerator Developer Guide.
For more information, see Overriding listener ports in the Global Accelerator Developer Guide.
public void setPortOverrides(Collection<PortOverride> portOverrides)
Override specific listener ports used to route traffic to endpoints that are part of this endpoint group. For example, you can create a port override in which the listener receives user traffic on ports 80 and 443, but your accelerator routes that traffic to ports 1080 and 1443, respectively, on the endpoints.
For more information, see Overriding listener ports in the Global Accelerator Developer Guide.
portOverrides
- Override specific listener ports used to route traffic to endpoints that are part of this endpoint group.
For example, you can create a port override in which the listener receives user traffic on ports 80 and
443, but your accelerator routes that traffic to ports 1080 and 1443, respectively, on the endpoints.
For more information, see Overriding listener ports in the Global Accelerator Developer Guide.
public CreateEndpointGroupRequest withPortOverrides(PortOverride... portOverrides)
Override specific listener ports used to route traffic to endpoints that are part of this endpoint group. For example, you can create a port override in which the listener receives user traffic on ports 80 and 443, but your accelerator routes that traffic to ports 1080 and 1443, respectively, on the endpoints.
For more information, see Overriding listener ports in the Global Accelerator Developer Guide.
NOTE: This method appends the values to the existing list (if any). Use
setPortOverrides(java.util.Collection)
or withPortOverrides(java.util.Collection)
if you want
to override the existing values.
portOverrides
- Override specific listener ports used to route traffic to endpoints that are part of this endpoint group.
For example, you can create a port override in which the listener receives user traffic on ports 80 and
443, but your accelerator routes that traffic to ports 1080 and 1443, respectively, on the endpoints.
For more information, see Overriding listener ports in the Global Accelerator Developer Guide.
public CreateEndpointGroupRequest withPortOverrides(Collection<PortOverride> portOverrides)
Override specific listener ports used to route traffic to endpoints that are part of this endpoint group. For example, you can create a port override in which the listener receives user traffic on ports 80 and 443, but your accelerator routes that traffic to ports 1080 and 1443, respectively, on the endpoints.
For more information, see Overriding listener ports in the Global Accelerator Developer Guide.
portOverrides
- Override specific listener ports used to route traffic to endpoints that are part of this endpoint group.
For example, you can create a port override in which the listener receives user traffic on ports 80 and
443, but your accelerator routes that traffic to ports 1080 and 1443, respectively, on the endpoints.
For more information, see Overriding listener ports in the Global Accelerator Developer Guide.
public String toString()
toString
in class Object
Object.toString()
public CreateEndpointGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Privacy | Site terms | Cookie preferences | © 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.