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

com.pulumi.azure.containerservice.outputs.GroupContainerReadinessProbeHttpGet Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
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.azure.containerservice.outputs;

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

@CustomType
public final class GroupContainerReadinessProbeHttpGet {
    /**
     * @return A map of HTTP headers used to access on the container. Changing this forces a new resource to be created.
     * 
     */
    private @Nullable Map httpHeaders;
    /**
     * @return Path to access on the HTTP server. Changing this forces a new resource to be created.
     * 
     */
    private @Nullable String path;
    /**
     * @return Number of the port to access on the container. Changing this forces a new resource to be created.
     * 
     */
    private @Nullable Integer port;
    /**
     * @return Scheme to use for connecting to the host. Possible values are `Http` and `Https`. Changing this forces a new resource to be created.
     * 
     */
    private @Nullable String scheme;

    private GroupContainerReadinessProbeHttpGet() {}
    /**
     * @return A map of HTTP headers used to access on the container. Changing this forces a new resource to be created.
     * 
     */
    public Map httpHeaders() {
        return this.httpHeaders == null ? Map.of() : this.httpHeaders;
    }
    /**
     * @return Path to access on the HTTP server. Changing this forces a new resource to be created.
     * 
     */
    public Optional path() {
        return Optional.ofNullable(this.path);
    }
    /**
     * @return Number of the port to access on the container. Changing this forces a new resource to be created.
     * 
     */
    public Optional port() {
        return Optional.ofNullable(this.port);
    }
    /**
     * @return Scheme to use for connecting to the host. Possible values are `Http` and `Https`. Changing this forces a new resource to be created.
     * 
     */
    public Optional scheme() {
        return Optional.ofNullable(this.scheme);
    }

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

    public static Builder builder(GroupContainerReadinessProbeHttpGet defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Map httpHeaders;
        private @Nullable String path;
        private @Nullable Integer port;
        private @Nullable String scheme;
        public Builder() {}
        public Builder(GroupContainerReadinessProbeHttpGet defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.httpHeaders = defaults.httpHeaders;
    	      this.path = defaults.path;
    	      this.port = defaults.port;
    	      this.scheme = defaults.scheme;
        }

        @CustomType.Setter
        public Builder httpHeaders(@Nullable Map httpHeaders) {

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

            this.path = path;
            return this;
        }
        @CustomType.Setter
        public Builder port(@Nullable Integer port) {

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

            this.scheme = scheme;
            return this;
        }
        public GroupContainerReadinessProbeHttpGet build() {
            final var _resultValue = new GroupContainerReadinessProbeHttpGet();
            _resultValue.httpHeaders = httpHeaders;
            _resultValue.path = path;
            _resultValue.port = port;
            _resultValue.scheme = scheme;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy