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

com.pulumi.azurenative.cdn.outputs.HealthProbeParametersResponse Maven / Gradle / Ivy

There is a newer version: 2.72.0
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.azurenative.cdn.outputs;

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

@CustomType
public final class HealthProbeParametersResponse {
    /**
     * @return The number of seconds between health probes.Default is 240sec.
     * 
     */
    private @Nullable Integer probeIntervalInSeconds;
    /**
     * @return The path relative to the origin that is used to determine the health of the origin.
     * 
     */
    private @Nullable String probePath;
    /**
     * @return Protocol to use for health probe.
     * 
     */
    private @Nullable String probeProtocol;
    /**
     * @return The type of health probe request that is made.
     * 
     */
    private @Nullable String probeRequestType;

    private HealthProbeParametersResponse() {}
    /**
     * @return The number of seconds between health probes.Default is 240sec.
     * 
     */
    public Optional probeIntervalInSeconds() {
        return Optional.ofNullable(this.probeIntervalInSeconds);
    }
    /**
     * @return The path relative to the origin that is used to determine the health of the origin.
     * 
     */
    public Optional probePath() {
        return Optional.ofNullable(this.probePath);
    }
    /**
     * @return Protocol to use for health probe.
     * 
     */
    public Optional probeProtocol() {
        return Optional.ofNullable(this.probeProtocol);
    }
    /**
     * @return The type of health probe request that is made.
     * 
     */
    public Optional probeRequestType() {
        return Optional.ofNullable(this.probeRequestType);
    }

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

    public static Builder builder(HealthProbeParametersResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Integer probeIntervalInSeconds;
        private @Nullable String probePath;
        private @Nullable String probeProtocol;
        private @Nullable String probeRequestType;
        public Builder() {}
        public Builder(HealthProbeParametersResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.probeIntervalInSeconds = defaults.probeIntervalInSeconds;
    	      this.probePath = defaults.probePath;
    	      this.probeProtocol = defaults.probeProtocol;
    	      this.probeRequestType = defaults.probeRequestType;
        }

        @CustomType.Setter
        public Builder probeIntervalInSeconds(@Nullable Integer probeIntervalInSeconds) {

            this.probeIntervalInSeconds = probeIntervalInSeconds;
            return this;
        }
        @CustomType.Setter
        public Builder probePath(@Nullable String probePath) {

            this.probePath = probePath;
            return this;
        }
        @CustomType.Setter
        public Builder probeProtocol(@Nullable String probeProtocol) {

            this.probeProtocol = probeProtocol;
            return this;
        }
        @CustomType.Setter
        public Builder probeRequestType(@Nullable String probeRequestType) {

            this.probeRequestType = probeRequestType;
            return this;
        }
        public HealthProbeParametersResponse build() {
            final var _resultValue = new HealthProbeParametersResponse();
            _resultValue.probeIntervalInSeconds = probeIntervalInSeconds;
            _resultValue.probePath = probePath;
            _resultValue.probeProtocol = probeProtocol;
            _resultValue.probeRequestType = probeRequestType;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy