All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.alicloud.fc.inputs.V3FunctionCustomContainerConfigHealthCheckConfigArgs Maven / Gradle / Ivy

There is a newer version: 3.63.0-alpha.1727424957
Show newest version
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.alicloud.fc.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class V3FunctionCustomContainerConfigHealthCheckConfigArgs extends com.pulumi.resources.ResourceArgs {

    public static final V3FunctionCustomContainerConfigHealthCheckConfigArgs Empty = new V3FunctionCustomContainerConfigHealthCheckConfigArgs();

    @Import(name="failureThreshold")
    private @Nullable Output failureThreshold;

    public Optional> failureThreshold() {
        return Optional.ofNullable(this.failureThreshold);
    }

    @Import(name="httpGetUrl")
    private @Nullable Output httpGetUrl;

    public Optional> httpGetUrl() {
        return Optional.ofNullable(this.httpGetUrl);
    }

    @Import(name="initialDelaySeconds")
    private @Nullable Output initialDelaySeconds;

    public Optional> initialDelaySeconds() {
        return Optional.ofNullable(this.initialDelaySeconds);
    }

    @Import(name="periodSeconds")
    private @Nullable Output periodSeconds;

    public Optional> periodSeconds() {
        return Optional.ofNullable(this.periodSeconds);
    }

    @Import(name="successThreshold")
    private @Nullable Output successThreshold;

    public Optional> successThreshold() {
        return Optional.ofNullable(this.successThreshold);
    }

    @Import(name="timeoutSeconds")
    private @Nullable Output timeoutSeconds;

    public Optional> timeoutSeconds() {
        return Optional.ofNullable(this.timeoutSeconds);
    }

    private V3FunctionCustomContainerConfigHealthCheckConfigArgs() {}

    private V3FunctionCustomContainerConfigHealthCheckConfigArgs(V3FunctionCustomContainerConfigHealthCheckConfigArgs $) {
        this.failureThreshold = $.failureThreshold;
        this.httpGetUrl = $.httpGetUrl;
        this.initialDelaySeconds = $.initialDelaySeconds;
        this.periodSeconds = $.periodSeconds;
        this.successThreshold = $.successThreshold;
        this.timeoutSeconds = $.timeoutSeconds;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(V3FunctionCustomContainerConfigHealthCheckConfigArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private V3FunctionCustomContainerConfigHealthCheckConfigArgs $;

        public Builder() {
            $ = new V3FunctionCustomContainerConfigHealthCheckConfigArgs();
        }

        public Builder(V3FunctionCustomContainerConfigHealthCheckConfigArgs defaults) {
            $ = new V3FunctionCustomContainerConfigHealthCheckConfigArgs(Objects.requireNonNull(defaults));
        }

        public Builder failureThreshold(@Nullable Output failureThreshold) {
            $.failureThreshold = failureThreshold;
            return this;
        }

        public Builder failureThreshold(Integer failureThreshold) {
            return failureThreshold(Output.of(failureThreshold));
        }

        public Builder httpGetUrl(@Nullable Output httpGetUrl) {
            $.httpGetUrl = httpGetUrl;
            return this;
        }

        public Builder httpGetUrl(String httpGetUrl) {
            return httpGetUrl(Output.of(httpGetUrl));
        }

        public Builder initialDelaySeconds(@Nullable Output initialDelaySeconds) {
            $.initialDelaySeconds = initialDelaySeconds;
            return this;
        }

        public Builder initialDelaySeconds(Integer initialDelaySeconds) {
            return initialDelaySeconds(Output.of(initialDelaySeconds));
        }

        public Builder periodSeconds(@Nullable Output periodSeconds) {
            $.periodSeconds = periodSeconds;
            return this;
        }

        public Builder periodSeconds(Integer periodSeconds) {
            return periodSeconds(Output.of(periodSeconds));
        }

        public Builder successThreshold(@Nullable Output successThreshold) {
            $.successThreshold = successThreshold;
            return this;
        }

        public Builder successThreshold(Integer successThreshold) {
            return successThreshold(Output.of(successThreshold));
        }

        public Builder timeoutSeconds(@Nullable Output timeoutSeconds) {
            $.timeoutSeconds = timeoutSeconds;
            return this;
        }

        public Builder timeoutSeconds(Integer timeoutSeconds) {
            return timeoutSeconds(Output.of(timeoutSeconds));
        }

        public V3FunctionCustomContainerConfigHealthCheckConfigArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy