Class EndpointGroupArgs.Builder

  • Enclosing class:
    EndpointGroupArgs

    public static final class EndpointGroupArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • endpointGroupRegion

        public EndpointGroupArgs.Builder endpointGroupRegion​(@Nullable
                                                             com.pulumi.core.Output<java.lang.String> endpointGroupRegion)
        Parameters:
        endpointGroupRegion - AWS Region where the endpoint group is located.
        Returns:
        builder
      • endpointGroupRegion

        public EndpointGroupArgs.Builder endpointGroupRegion​(java.lang.String endpointGroupRegion)
        Parameters:
        endpointGroupRegion - AWS Region where the endpoint group is located.
        Returns:
        builder
      • healthCheckIntervalSeconds

        public EndpointGroupArgs.Builder healthCheckIntervalSeconds​(@Nullable
                                                                    com.pulumi.core.Output<java.lang.Integer> healthCheckIntervalSeconds)
        Parameters:
        healthCheckIntervalSeconds - Time—10 seconds or 30 seconds—between each health check for an endpoint. The default value is 30.
        Returns:
        builder
      • healthCheckIntervalSeconds

        public EndpointGroupArgs.Builder healthCheckIntervalSeconds​(java.lang.Integer healthCheckIntervalSeconds)
        Parameters:
        healthCheckIntervalSeconds - Time—10 seconds or 30 seconds—between each health check for an endpoint. The default value is 30.
        Returns:
        builder
      • healthCheckPath

        public EndpointGroupArgs.Builder healthCheckPath​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> healthCheckPath)
        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 (`/`). the provider will only perform drift detection of its value when present in a configuration.
        Returns:
        builder
      • healthCheckPath

        public EndpointGroupArgs.Builder healthCheckPath​(java.lang.String healthCheckPath)
        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 (`/`). the provider will only perform drift detection of its value when present in a configuration.
        Returns:
        builder
      • healthCheckPort

        public EndpointGroupArgs.Builder healthCheckPort​(@Nullable
                                                         com.pulumi.core.Output<java.lang.Integer> healthCheckPort)
        Parameters:
        healthCheckPort - 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. the provider will only perform drift detection of its value when present in a configuration.
        Returns:
        builder
      • healthCheckPort

        public EndpointGroupArgs.Builder healthCheckPort​(java.lang.Integer healthCheckPort)
        Parameters:
        healthCheckPort - 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. the provider will only perform drift detection of its value when present in a configuration.
        Returns:
        builder
      • healthCheckProtocol

        public EndpointGroupArgs.Builder healthCheckProtocol​(@Nullable
                                                             com.pulumi.core.Output<java.lang.String> healthCheckProtocol)
        Parameters:
        healthCheckProtocol - Protocol that AWS Global Accelerator uses to check the health of endpoints that are part of this endpoint group. The default value is TCP.
        Returns:
        builder
      • healthCheckProtocol

        public EndpointGroupArgs.Builder healthCheckProtocol​(java.lang.String healthCheckProtocol)
        Parameters:
        healthCheckProtocol - Protocol that AWS Global Accelerator uses to check the health of endpoints that are part of this endpoint group. The default value is TCP.
        Returns:
        builder
      • listenerArn

        public EndpointGroupArgs.Builder listenerArn​(com.pulumi.core.Output<java.lang.String> listenerArn)
        Parameters:
        listenerArn - ARN of the listener.
        Returns:
        builder
      • listenerArn

        public EndpointGroupArgs.Builder listenerArn​(java.lang.String listenerArn)
        Parameters:
        listenerArn - ARN of the listener.
        Returns:
        builder
      • portOverrides

        public EndpointGroupArgs.Builder portOverrides​(@Nullable
                                                       com.pulumi.core.Output<java.util.List<EndpointGroupPortOverrideArgs>> portOverrides)
        Parameters:
        portOverrides - Override specific listener ports used to route traffic to endpoints that are part of this endpoint group. See `portOverride` below.
        Returns:
        builder
      • portOverrides

        public EndpointGroupArgs.Builder portOverrides​(java.util.List<EndpointGroupPortOverrideArgs> portOverrides)
        Parameters:
        portOverrides - Override specific listener ports used to route traffic to endpoints that are part of this endpoint group. See `portOverride` below.
        Returns:
        builder
      • portOverrides

        public EndpointGroupArgs.Builder portOverrides​(EndpointGroupPortOverrideArgs... portOverrides)
        Parameters:
        portOverrides - Override specific listener ports used to route traffic to endpoints that are part of this endpoint group. See `portOverride` below.
        Returns:
        builder
      • thresholdCount

        public EndpointGroupArgs.Builder thresholdCount​(@Nullable
                                                        com.pulumi.core.Output<java.lang.Integer> thresholdCount)
        Parameters:
        thresholdCount - 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:
        builder
      • thresholdCount

        public EndpointGroupArgs.Builder thresholdCount​(java.lang.Integer thresholdCount)
        Parameters:
        thresholdCount - 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:
        builder
      • trafficDialPercentage

        public EndpointGroupArgs.Builder trafficDialPercentage​(@Nullable
                                                               com.pulumi.core.Output<java.lang.Double> trafficDialPercentage)
        Parameters:
        trafficDialPercentage - Percentage of traffic to send to an AWS Region. Additional traffic is distributed to other endpoint groups for this listener. The default value is 100.
        Returns:
        builder
      • trafficDialPercentage

        public EndpointGroupArgs.Builder trafficDialPercentage​(java.lang.Double trafficDialPercentage)
        Parameters:
        trafficDialPercentage - Percentage of traffic to send to an AWS Region. Additional traffic is distributed to other endpoint groups for this listener. The default value is 100.
        Returns:
        builder