@Generated(value="software.amazon.awssdk:codegen") public final class CreateEndpointGroupRequest extends GlobalAcceleratorRequest implements ToCopyableBuilder<CreateEndpointGroupRequest.Builder,CreateEndpointGroupRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
CreateEndpointGroupRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static CreateEndpointGroupRequest.Builder |
builder() |
List<EndpointConfiguration> |
endpointConfigurations()
The list of endpoint objects.
|
String |
endpointGroupRegion()
The name of the AWS Region where the endpoint group is located.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
Integer |
healthCheckIntervalSeconds()
The time, in seconds, between each health check for an endpoint.
|
String |
healthCheckPath()
If the protocol is HTTP/S, then this specifies the path that is the destination for health check targets.
|
Integer |
healthCheckPort()
The port that AWS Global Accelerator uses to check the health of endpoints that are part of this endpoint group.
|
HealthCheckProtocol |
healthCheckProtocol()
The protocol that AWS Global Accelerator uses to check the health of endpoints that are part of this endpoint
group.
|
String |
healthCheckProtocolAsString()
The protocol that AWS Global Accelerator uses to check the health of endpoints that are part of this endpoint
group.
|
String |
idempotencyToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of the
request.
|
String |
listenerArn()
The Amazon Resource Name (ARN) of the listener.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateEndpointGroupRequest.Builder> |
serializableBuilderClass() |
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.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
Float |
trafficDialPercentage()
The percentage of traffic to send to an AWS Region.
|
overrideConfiguration
copy
public String listenerArn()
The Amazon Resource Name (ARN) of the listener.
public String endpointGroupRegion()
The name of the AWS Region where the endpoint group is located. A listener can have only one endpoint group in a specific Region.
public List<EndpointConfiguration> endpointConfigurations()
The list of endpoint objects.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Float trafficDialPercentage()
The percentage of traffic to send to an AWS 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 Integer healthCheckPort()
The port that AWS 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 HealthCheckProtocol healthCheckProtocol()
The protocol that AWS Global Accelerator uses to check the health of endpoints that are part of this endpoint group. The default value is TCP.
If the service returns an enum value that is not available in the current SDK version,
healthCheckProtocol
will return HealthCheckProtocol.UNKNOWN_TO_SDK_VERSION
. The raw value
returned by the service is available from healthCheckProtocolAsString()
.
HealthCheckProtocol
public String healthCheckProtocolAsString()
The protocol that AWS Global Accelerator uses to check the health of endpoints that are part of this endpoint group. The default value is TCP.
If the service returns an enum value that is not available in the current SDK version,
healthCheckProtocol
will return HealthCheckProtocol.UNKNOWN_TO_SDK_VERSION
. The raw value
returned by the service is available from healthCheckProtocolAsString()
.
HealthCheckProtocol
public 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 (/).
public Integer healthCheckIntervalSeconds()
The time, in seconds, between each health check for an endpoint. The default value is 30.
public 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.
public String idempotencyToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of the request.
public CreateEndpointGroupRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateEndpointGroupRequest.Builder,CreateEndpointGroupRequest>
toBuilder
in class GlobalAcceleratorRequest
public static CreateEndpointGroupRequest.Builder builder()
public static Class<? extends CreateEndpointGroupRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.