Class HealthCheckState.Builder

  • Enclosing class:
    HealthCheckState

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

      • Builder

        public Builder()
    • Method Detail

      • checkIntervalSec

        public HealthCheckState.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 HealthCheckState.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
      • creationTimestamp

        public HealthCheckState.Builder creationTimestamp​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> creationTimestamp)
        Parameters:
        creationTimestamp - Creation timestamp in RFC3339 text format.
        Returns:
        builder
      • creationTimestamp

        public HealthCheckState.Builder creationTimestamp​(java.lang.String creationTimestamp)
        Parameters:
        creationTimestamp - Creation timestamp in RFC3339 text format.
        Returns:
        builder
      • description

        public HealthCheckState.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 HealthCheckState.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 HealthCheckState.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 HealthCheckState.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 HealthCheckState.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 HealthCheckState.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 HealthCheckState.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 HealthCheckState.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 HealthCheckState.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
      • selfLink

        public HealthCheckState.Builder selfLink​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> selfLink)
        Parameters:
        selfLink - The URI of the created resource.
        Returns:
        builder
      • selfLink

        public HealthCheckState.Builder selfLink​(java.lang.String selfLink)
        Parameters:
        selfLink - The URI of the created resource.
        Returns:
        builder
      • timeoutSec

        public HealthCheckState.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 HealthCheckState.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
      • type

        public HealthCheckState.Builder type​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> type)
        Parameters:
        type - The type of the health check. One of HTTP, HTTPS, TCP, or SSL.
        Returns:
        builder
      • type

        public HealthCheckState.Builder type​(java.lang.String type)
        Parameters:
        type - The type of the health check. One of HTTP, HTTPS, TCP, or SSL.
        Returns:
        builder
      • unhealthyThreshold

        public HealthCheckState.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 HealthCheckState.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