Class HealthCheckArgs.Builder

  • Enclosing class:
    HealthCheckArgs

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

      • Builder

        public Builder()
    • Method Detail

      • checkIntervalSec

        public HealthCheckArgs.Builder checkIntervalSec​(@Nullable
                                                        com.pulumi.core.Output<java.lang.Integer> checkIntervalSec)
        Parameters:
        checkIntervalSec - How often (in seconds) to send a health check. The default value is 5 seconds.
        Returns:
        builder
      • checkIntervalSec

        public HealthCheckArgs.Builder checkIntervalSec​(java.lang.Integer checkIntervalSec)
        Parameters:
        checkIntervalSec - How often (in seconds) to send a health check. The default value is 5 seconds.
        Returns:
        builder
      • description

        public HealthCheckArgs.Builder description​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - An optional description of this resource. Provide this property when you create the resource.
        Returns:
        builder
      • description

        public HealthCheckArgs.Builder description​(java.lang.String description)
        Parameters:
        description - An optional description of this resource. Provide this property when you create the resource.
        Returns:
        builder
      • healthyThreshold

        public HealthCheckArgs.Builder healthyThreshold​(@Nullable
                                                        com.pulumi.core.Output<java.lang.Integer> healthyThreshold)
        Parameters:
        healthyThreshold - A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2.
        Returns:
        builder
      • healthyThreshold

        public HealthCheckArgs.Builder healthyThreshold​(java.lang.Integer healthyThreshold)
        Parameters:
        healthyThreshold - A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2.
        Returns:
        builder
      • logConfig

        public HealthCheckArgs.Builder logConfig​(@Nullable
                                                 com.pulumi.core.Output<HealthCheckLogConfigArgs> logConfig)
        Parameters:
        logConfig - Configure logging on this health check. Structure is documented below.
        Returns:
        builder
      • name

        public HealthCheckArgs.Builder name​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `a-z?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. ***
        Returns:
        builder
      • name

        public HealthCheckArgs.Builder name​(java.lang.String name)
        Parameters:
        name - Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `a-z?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. ***
        Returns:
        builder
      • project

        public HealthCheckArgs.Builder project​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> project)
        Parameters:
        project - The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
        Returns:
        builder
      • project

        public HealthCheckArgs.Builder project​(java.lang.String project)
        Parameters:
        project - The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
        Returns:
        builder
      • timeoutSec

        public HealthCheckArgs.Builder timeoutSec​(@Nullable
                                                  com.pulumi.core.Output<java.lang.Integer> timeoutSec)
        Parameters:
        timeoutSec - How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is invalid for timeoutSec to have greater value than checkIntervalSec.
        Returns:
        builder
      • timeoutSec

        public HealthCheckArgs.Builder timeoutSec​(java.lang.Integer timeoutSec)
        Parameters:
        timeoutSec - How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is invalid for timeoutSec to have greater value than checkIntervalSec.
        Returns:
        builder
      • unhealthyThreshold

        public HealthCheckArgs.Builder unhealthyThreshold​(@Nullable
                                                          com.pulumi.core.Output<java.lang.Integer> unhealthyThreshold)
        Parameters:
        unhealthyThreshold - A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2.
        Returns:
        builder
      • unhealthyThreshold

        public HealthCheckArgs.Builder unhealthyThreshold​(java.lang.Integer unhealthyThreshold)
        Parameters:
        unhealthyThreshold - A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2.
        Returns:
        builder