@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateEndpointGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateEndpointGroupRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateEndpointGroupRequest |
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 |
getEndpointGroupArn()
The Amazon Resource Name (ARN) of the endpoint group.
|
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.
|
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 |
setEndpointGroupArn(String endpointGroupArn)
The Amazon Resource Name (ARN) of the endpoint group.
|
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 |
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.
|
UpdateEndpointGroupRequest |
withEndpointConfigurations(Collection<EndpointConfiguration> endpointConfigurations)
The list of endpoint objects.
|
UpdateEndpointGroupRequest |
withEndpointConfigurations(EndpointConfiguration... endpointConfigurations)
The list of endpoint objects.
|
UpdateEndpointGroupRequest |
withEndpointGroupArn(String endpointGroupArn)
The Amazon Resource Name (ARN) of the endpoint group.
|
UpdateEndpointGroupRequest |
withHealthCheckIntervalSeconds(Integer healthCheckIntervalSeconds)
The time—10 seconds or 30 seconds—between each health check for an endpoint.
|
UpdateEndpointGroupRequest |
withHealthCheckPath(String healthCheckPath)
If the protocol is HTTP/S, then this specifies the path that is the destination for health check targets.
|
UpdateEndpointGroupRequest |
withHealthCheckPort(Integer healthCheckPort)
The port that Global Accelerator uses to check the health of endpoints that are part of this endpoint group.
|
UpdateEndpointGroupRequest |
withHealthCheckProtocol(HealthCheckProtocol healthCheckProtocol)
The protocol that Global Accelerator uses to check the health of endpoints that are part of this endpoint group.
|
UpdateEndpointGroupRequest |
withHealthCheckProtocol(String healthCheckProtocol)
The protocol that Global Accelerator uses to check the health of endpoints that are part of this endpoint group.
|
UpdateEndpointGroupRequest |
withPortOverrides(Collection<PortOverride> portOverrides)
Override specific listener ports used to route traffic to endpoints that are part of this endpoint group.
|
UpdateEndpointGroupRequest |
withPortOverrides(PortOverride... portOverrides)
Override specific listener ports used to route traffic to endpoints that are part of this endpoint group.
|
UpdateEndpointGroupRequest |
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.
|
UpdateEndpointGroupRequest |
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 setEndpointGroupArn(String endpointGroupArn)
The Amazon Resource Name (ARN) of the endpoint group.
endpointGroupArn
- The Amazon Resource Name (ARN) of the endpoint group.public String getEndpointGroupArn()
The Amazon Resource Name (ARN) of the endpoint group.
public UpdateEndpointGroupRequest withEndpointGroupArn(String endpointGroupArn)
The Amazon Resource Name (ARN) of the endpoint group.
endpointGroupArn
- The Amazon Resource Name (ARN) of the endpoint group.public List<EndpointConfiguration> getEndpointConfigurations()
The list of endpoint objects. A resource must be valid and active when you add it as an endpoint.
public void setEndpointConfigurations(Collection<EndpointConfiguration> endpointConfigurations)
The list of endpoint objects. A resource must be valid and active when you add it as an endpoint.
endpointConfigurations
- The list of endpoint objects. A resource must be valid and active when you add it as an endpoint.public UpdateEndpointGroupRequest withEndpointConfigurations(EndpointConfiguration... endpointConfigurations)
The list of endpoint objects. A resource must be valid and active when you add it as an endpoint.
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. A resource must be valid and active when you add it as an endpoint.public UpdateEndpointGroupRequest withEndpointConfigurations(Collection<EndpointConfiguration> endpointConfigurations)
The list of endpoint objects. A resource must be valid and active when you add it as an endpoint.
endpointConfigurations
- The list of endpoint objects. A resource must be valid and active when you add it as an endpoint.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 UpdateEndpointGroupRequest 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 the 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 the 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 the listener port is a list of ports, Global Accelerator uses the first port in the list.
public UpdateEndpointGroupRequest 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 the 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 the 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 UpdateEndpointGroupRequest 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 UpdateEndpointGroupRequest 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 UpdateEndpointGroupRequest 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 UpdateEndpointGroupRequest 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 UpdateEndpointGroupRequest 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 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 UpdateEndpointGroupRequest 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 UpdateEndpointGroupRequest 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 UpdateEndpointGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()