JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.elasticloadbalancingv2.model

Class ModifyTargetGroupRequest

    • Constructor Detail

      • ModifyTargetGroupRequest

        public ModifyTargetGroupRequest()
    • Method Detail

      • setTargetGroupArn

        public void setTargetGroupArn(String targetGroupArn)

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

        Parameters:
        targetGroupArn - The Amazon Resource Name (ARN) of the target group.
      • getTargetGroupArn

        public String getTargetGroupArn()

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

        Returns:
        The Amazon Resource Name (ARN) of the target group.
      • withTargetGroupArn

        public ModifyTargetGroupRequest withTargetGroupArn(String targetGroupArn)

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

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

        public void setHealthCheckProtocol(String healthCheckProtocol)

        The protocol the load balancer uses when performing health checks on targets. For Application Load Balancers, the default is HTTP. For Network Load Balancers and Gateway Load Balancers, the default is TCP. The TCP protocol is not supported for health checks if the protocol of the target group is HTTP or HTTPS. It is supported for health checks only if the protocol of the target group is TCP, TLS, UDP, or TCP_UDP. The GENEVE, TLS, UDP, and TCP_UDP protocols are not supported for health checks.

        Parameters:
        healthCheckProtocol - The protocol the load balancer uses when performing health checks on targets. For Application Load Balancers, the default is HTTP. For Network Load Balancers and Gateway Load Balancers, the default is TCP. The TCP protocol is not supported for health checks if the protocol of the target group is HTTP or HTTPS. It is supported for health checks only if the protocol of the target group is TCP, TLS, UDP, or TCP_UDP. The GENEVE, TLS, UDP, and TCP_UDP protocols are not supported for health checks.
        See Also:
        ProtocolEnum
      • getHealthCheckProtocol

        public String getHealthCheckProtocol()

        The protocol the load balancer uses when performing health checks on targets. For Application Load Balancers, the default is HTTP. For Network Load Balancers and Gateway Load Balancers, the default is TCP. The TCP protocol is not supported for health checks if the protocol of the target group is HTTP or HTTPS. It is supported for health checks only if the protocol of the target group is TCP, TLS, UDP, or TCP_UDP. The GENEVE, TLS, UDP, and TCP_UDP protocols are not supported for health checks.

        Returns:
        The protocol the load balancer uses when performing health checks on targets. For Application Load Balancers, the default is HTTP. For Network Load Balancers and Gateway Load Balancers, the default is TCP. The TCP protocol is not supported for health checks if the protocol of the target group is HTTP or HTTPS. It is supported for health checks only if the protocol of the target group is TCP, TLS, UDP, or TCP_UDP. The GENEVE, TLS, UDP, and TCP_UDP protocols are not supported for health checks.
        See Also:
        ProtocolEnum
      • withHealthCheckProtocol

        public ModifyTargetGroupRequest withHealthCheckProtocol(String healthCheckProtocol)

        The protocol the load balancer uses when performing health checks on targets. For Application Load Balancers, the default is HTTP. For Network Load Balancers and Gateway Load Balancers, the default is TCP. The TCP protocol is not supported for health checks if the protocol of the target group is HTTP or HTTPS. It is supported for health checks only if the protocol of the target group is TCP, TLS, UDP, or TCP_UDP. The GENEVE, TLS, UDP, and TCP_UDP protocols are not supported for health checks.

        Parameters:
        healthCheckProtocol - The protocol the load balancer uses when performing health checks on targets. For Application Load Balancers, the default is HTTP. For Network Load Balancers and Gateway Load Balancers, the default is TCP. The TCP protocol is not supported for health checks if the protocol of the target group is HTTP or HTTPS. It is supported for health checks only if the protocol of the target group is TCP, TLS, UDP, or TCP_UDP. The GENEVE, TLS, UDP, and TCP_UDP protocols are not supported for health checks.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ProtocolEnum
      • setHealthCheckProtocol

        public void setHealthCheckProtocol(ProtocolEnum healthCheckProtocol)

        The protocol the load balancer uses when performing health checks on targets. For Application Load Balancers, the default is HTTP. For Network Load Balancers and Gateway Load Balancers, the default is TCP. The TCP protocol is not supported for health checks if the protocol of the target group is HTTP or HTTPS. It is supported for health checks only if the protocol of the target group is TCP, TLS, UDP, or TCP_UDP. The GENEVE, TLS, UDP, and TCP_UDP protocols are not supported for health checks.

        Parameters:
        healthCheckProtocol - The protocol the load balancer uses when performing health checks on targets. For Application Load Balancers, the default is HTTP. For Network Load Balancers and Gateway Load Balancers, the default is TCP. The TCP protocol is not supported for health checks if the protocol of the target group is HTTP or HTTPS. It is supported for health checks only if the protocol of the target group is TCP, TLS, UDP, or TCP_UDP. The GENEVE, TLS, UDP, and TCP_UDP protocols are not supported for health checks.
        See Also:
        ProtocolEnum
      • withHealthCheckProtocol

        public ModifyTargetGroupRequest withHealthCheckProtocol(ProtocolEnum healthCheckProtocol)

        The protocol the load balancer uses when performing health checks on targets. For Application Load Balancers, the default is HTTP. For Network Load Balancers and Gateway Load Balancers, the default is TCP. The TCP protocol is not supported for health checks if the protocol of the target group is HTTP or HTTPS. It is supported for health checks only if the protocol of the target group is TCP, TLS, UDP, or TCP_UDP. The GENEVE, TLS, UDP, and TCP_UDP protocols are not supported for health checks.

        Parameters:
        healthCheckProtocol - The protocol the load balancer uses when performing health checks on targets. For Application Load Balancers, the default is HTTP. For Network Load Balancers and Gateway Load Balancers, the default is TCP. The TCP protocol is not supported for health checks if the protocol of the target group is HTTP or HTTPS. It is supported for health checks only if the protocol of the target group is TCP, TLS, UDP, or TCP_UDP. The GENEVE, TLS, UDP, and TCP_UDP protocols are not supported for health checks.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ProtocolEnum
      • setHealthCheckPort

        public void setHealthCheckPort(String healthCheckPort)

        The port the load balancer uses when performing health checks on targets.

        Parameters:
        healthCheckPort - The port the load balancer uses when performing health checks on targets.
      • getHealthCheckPort

        public String getHealthCheckPort()

        The port the load balancer uses when performing health checks on targets.

        Returns:
        The port the load balancer uses when performing health checks on targets.
      • withHealthCheckPort

        public ModifyTargetGroupRequest withHealthCheckPort(String healthCheckPort)

        The port the load balancer uses when performing health checks on targets.

        Parameters:
        healthCheckPort - The port the load balancer uses when performing health checks on targets.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setHealthCheckPath

        public void setHealthCheckPath(String healthCheckPath)

        [HTTP/HTTPS health checks] The destination for health checks on the targets.

        [HTTP1 or HTTP2 protocol version] The ping path. The default is /.

        [GRPC protocol version] The path of a custom health check method with the format /package.service/method. The default is /Amazon Web Services.ALB/healthcheck.

        Parameters:
        healthCheckPath - [HTTP/HTTPS health checks] The destination for health checks on the targets.

        [HTTP1 or HTTP2 protocol version] The ping path. The default is /.

        [GRPC protocol version] The path of a custom health check method with the format /package.service/method. The default is /Amazon Web Services.ALB/healthcheck.

      • getHealthCheckPath

        public String getHealthCheckPath()

        [HTTP/HTTPS health checks] The destination for health checks on the targets.

        [HTTP1 or HTTP2 protocol version] The ping path. The default is /.

        [GRPC protocol version] The path of a custom health check method with the format /package.service/method. The default is /Amazon Web Services.ALB/healthcheck.

        Returns:
        [HTTP/HTTPS health checks] The destination for health checks on the targets.

        [HTTP1 or HTTP2 protocol version] The ping path. The default is /.

        [GRPC protocol version] The path of a custom health check method with the format /package.service/method. The default is /Amazon Web Services.ALB/healthcheck.

      • withHealthCheckPath

        public ModifyTargetGroupRequest withHealthCheckPath(String healthCheckPath)

        [HTTP/HTTPS health checks] The destination for health checks on the targets.

        [HTTP1 or HTTP2 protocol version] The ping path. The default is /.

        [GRPC protocol version] The path of a custom health check method with the format /package.service/method. The default is /Amazon Web Services.ALB/healthcheck.

        Parameters:
        healthCheckPath - [HTTP/HTTPS health checks] The destination for health checks on the targets.

        [HTTP1 or HTTP2 protocol version] The ping path. The default is /.

        [GRPC protocol version] The path of a custom health check method with the format /package.service/method. The default is /Amazon Web Services.ALB/healthcheck.

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

        public void setHealthCheckEnabled(Boolean healthCheckEnabled)

        Indicates whether health checks are enabled.

        Parameters:
        healthCheckEnabled - Indicates whether health checks are enabled.
      • getHealthCheckEnabled

        public Boolean getHealthCheckEnabled()

        Indicates whether health checks are enabled.

        Returns:
        Indicates whether health checks are enabled.
      • withHealthCheckEnabled

        public ModifyTargetGroupRequest withHealthCheckEnabled(Boolean healthCheckEnabled)

        Indicates whether health checks are enabled.

        Parameters:
        healthCheckEnabled - Indicates whether health checks are enabled.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isHealthCheckEnabled

        public Boolean isHealthCheckEnabled()

        Indicates whether health checks are enabled.

        Returns:
        Indicates whether health checks are enabled.
      • setHealthCheckIntervalSeconds

        public void setHealthCheckIntervalSeconds(Integer healthCheckIntervalSeconds)

        The approximate amount of time, in seconds, between health checks of an individual target.

        Parameters:
        healthCheckIntervalSeconds - The approximate amount of time, in seconds, between health checks of an individual target.
      • getHealthCheckIntervalSeconds

        public Integer getHealthCheckIntervalSeconds()

        The approximate amount of time, in seconds, between health checks of an individual target.

        Returns:
        The approximate amount of time, in seconds, between health checks of an individual target.
      • withHealthCheckIntervalSeconds

        public ModifyTargetGroupRequest withHealthCheckIntervalSeconds(Integer healthCheckIntervalSeconds)

        The approximate amount of time, in seconds, between health checks of an individual target.

        Parameters:
        healthCheckIntervalSeconds - The approximate amount of time, in seconds, between health checks of an individual target.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setHealthCheckTimeoutSeconds

        public void setHealthCheckTimeoutSeconds(Integer healthCheckTimeoutSeconds)

        [HTTP/HTTPS health checks] The amount of time, in seconds, during which no response means a failed health check.

        Parameters:
        healthCheckTimeoutSeconds - [HTTP/HTTPS health checks] The amount of time, in seconds, during which no response means a failed health check.
      • getHealthCheckTimeoutSeconds

        public Integer getHealthCheckTimeoutSeconds()

        [HTTP/HTTPS health checks] The amount of time, in seconds, during which no response means a failed health check.

        Returns:
        [HTTP/HTTPS health checks] The amount of time, in seconds, during which no response means a failed health check.
      • withHealthCheckTimeoutSeconds

        public ModifyTargetGroupRequest withHealthCheckTimeoutSeconds(Integer healthCheckTimeoutSeconds)

        [HTTP/HTTPS health checks] The amount of time, in seconds, during which no response means a failed health check.

        Parameters:
        healthCheckTimeoutSeconds - [HTTP/HTTPS health checks] The amount of time, in seconds, during which no response means a failed health check.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setHealthyThresholdCount

        public void setHealthyThresholdCount(Integer healthyThresholdCount)

        The number of consecutive health checks successes required before considering an unhealthy target healthy.

        Parameters:
        healthyThresholdCount - The number of consecutive health checks successes required before considering an unhealthy target healthy.
      • getHealthyThresholdCount

        public Integer getHealthyThresholdCount()

        The number of consecutive health checks successes required before considering an unhealthy target healthy.

        Returns:
        The number of consecutive health checks successes required before considering an unhealthy target healthy.
      • withHealthyThresholdCount

        public ModifyTargetGroupRequest withHealthyThresholdCount(Integer healthyThresholdCount)

        The number of consecutive health checks successes required before considering an unhealthy target healthy.

        Parameters:
        healthyThresholdCount - The number of consecutive health checks successes required before considering an unhealthy target healthy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setUnhealthyThresholdCount

        public void setUnhealthyThresholdCount(Integer unhealthyThresholdCount)

        The number of consecutive health check failures required before considering the target unhealthy.

        Parameters:
        unhealthyThresholdCount - The number of consecutive health check failures required before considering the target unhealthy.
      • getUnhealthyThresholdCount

        public Integer getUnhealthyThresholdCount()

        The number of consecutive health check failures required before considering the target unhealthy.

        Returns:
        The number of consecutive health check failures required before considering the target unhealthy.
      • withUnhealthyThresholdCount

        public ModifyTargetGroupRequest withUnhealthyThresholdCount(Integer unhealthyThresholdCount)

        The number of consecutive health check failures required before considering the target unhealthy.

        Parameters:
        unhealthyThresholdCount - The number of consecutive health check failures required before considering the target unhealthy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setMatcher

        public void setMatcher(Matcher matcher)

        [HTTP/HTTPS health checks] The HTTP or gRPC codes to use when checking for a successful response from a target. For target groups with a protocol of TCP, TCP_UDP, UDP or TLS the range is 200-599. For target groups with a protocol of HTTP or HTTPS, the range is 200-499. For target groups with a protocol of GENEVE, the range is 200-399.

        Parameters:
        matcher - [HTTP/HTTPS health checks] The HTTP or gRPC codes to use when checking for a successful response from a target. For target groups with a protocol of TCP, TCP_UDP, UDP or TLS the range is 200-599. For target groups with a protocol of HTTP or HTTPS, the range is 200-499. For target groups with a protocol of GENEVE, the range is 200-399.
      • getMatcher

        public Matcher getMatcher()

        [HTTP/HTTPS health checks] The HTTP or gRPC codes to use when checking for a successful response from a target. For target groups with a protocol of TCP, TCP_UDP, UDP or TLS the range is 200-599. For target groups with a protocol of HTTP or HTTPS, the range is 200-499. For target groups with a protocol of GENEVE, the range is 200-399.

        Returns:
        [HTTP/HTTPS health checks] The HTTP or gRPC codes to use when checking for a successful response from a target. For target groups with a protocol of TCP, TCP_UDP, UDP or TLS the range is 200-599. For target groups with a protocol of HTTP or HTTPS, the range is 200-499. For target groups with a protocol of GENEVE, the range is 200-399.
      • withMatcher

        public ModifyTargetGroupRequest withMatcher(Matcher matcher)

        [HTTP/HTTPS health checks] The HTTP or gRPC codes to use when checking for a successful response from a target. For target groups with a protocol of TCP, TCP_UDP, UDP or TLS the range is 200-599. For target groups with a protocol of HTTP or HTTPS, the range is 200-499. For target groups with a protocol of GENEVE, the range is 200-399.

        Parameters:
        matcher - [HTTP/HTTPS health checks] The HTTP or gRPC codes to use when checking for a successful response from a target. For target groups with a protocol of TCP, TCP_UDP, UDP or TLS the range is 200-599. For target groups with a protocol of HTTP or HTTPS, the range is 200-499. For target groups with a protocol of GENEVE, the range is 200-399.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /