Interface UpdateEndpointGroupRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<UpdateEndpointGroupRequest.Builder,UpdateEndpointGroupRequest>, GlobalAcceleratorRequest.Builder, SdkBuilder<UpdateEndpointGroupRequest.Builder,UpdateEndpointGroupRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
UpdateEndpointGroupRequest

  • Method Details

    • endpointGroupArn

      UpdateEndpointGroupRequest.Builder endpointGroupArn(String endpointGroupArn)

      The Amazon Resource Name (ARN) of the endpoint group.

      Parameters:
      endpointGroupArn - The Amazon Resource Name (ARN) of the endpoint group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endpointConfigurations

      UpdateEndpointGroupRequest.Builder endpointConfigurations(Collection<EndpointConfiguration> endpointConfigurations)

      The list of endpoint objects. A resource must be valid and active when you add it as an endpoint.

      Parameters:
      endpointConfigurations - The list of endpoint objects. A resource must be valid and active when you add it as an endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endpointConfigurations

      UpdateEndpointGroupRequest.Builder endpointConfigurations(EndpointConfiguration... endpointConfigurations)

      The list of endpoint objects. A resource must be valid and active when you add it as an endpoint.

      Parameters:
      endpointConfigurations - The list of endpoint objects. A resource must be valid and active when you add it as an endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endpointConfigurations

      UpdateEndpointGroupRequest.Builder endpointConfigurations(Consumer<EndpointConfiguration.Builder>... endpointConfigurations)

      The list of endpoint objects. A resource must be valid and active when you add it as an endpoint.

      This is a convenience method that creates an instance of the EndpointConfiguration.Builder avoiding the need to create one manually via EndpointConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to endpointConfigurations(List<EndpointConfiguration>).

      Parameters:
      endpointConfigurations - a consumer that will call methods on EndpointConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • trafficDialPercentage

      UpdateEndpointGroupRequest.Builder trafficDialPercentage(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.

      Parameters:
      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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • healthCheckPort

      UpdateEndpointGroupRequest.Builder healthCheckPort(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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • healthCheckProtocol

      UpdateEndpointGroupRequest.Builder healthCheckProtocol(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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • healthCheckProtocol

      UpdateEndpointGroupRequest.Builder healthCheckProtocol(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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • healthCheckPath

      UpdateEndpointGroupRequest.Builder healthCheckPath(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 (/).

      Parameters:
      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 (/).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • healthCheckIntervalSeconds

      UpdateEndpointGroupRequest.Builder healthCheckIntervalSeconds(Integer healthCheckIntervalSeconds)

      The time—10 seconds or 30 seconds—between each health check for an endpoint. The default value is 30.

      Parameters:
      healthCheckIntervalSeconds - The time—10 seconds or 30 seconds—between each health check for an endpoint. The default value is 30.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • thresholdCount

      UpdateEndpointGroupRequest.Builder thresholdCount(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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.

      Parameters:
      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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • portOverrides

      UpdateEndpointGroupRequest.Builder portOverrides(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.

      Parameters:
      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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.

      This is a convenience method that creates an instance of the PortOverride.Builder avoiding the need to create one manually via PortOverride.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to portOverrides(List<PortOverride>).

      Parameters:
      portOverrides - a consumer that will call methods on PortOverride.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      UpdateEndpointGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.