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

com.microsoft.azure.management.containerinstance.ContainerHttpGet Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure Container Instance SDK. This package has been deprecated. A replacement package com.azure.resourcemanager:azure-resourcemanager-containerinstance is available as of 31-March-2022. We strongly encourage you to upgrade to continue receiving updates. See Migration Guide https://aka.ms/java-track2-migration-guide for guidance on upgrading. Refer to our deprecation policy https://azure.github.io/azure-sdk/policies_support.html for more details.

There is a newer version: 1.41.4
Show newest version
/**
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License. See License.txt in the project root for
 * license information.
 *
 * Code generated by Microsoft (R) AutoRest Code Generator.
 */

package com.microsoft.azure.management.containerinstance;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * The container Http Get settings, for liveness or readiness probe.
 */
public class ContainerHttpGet {
    /**
     * The path to probe.
     */
    @JsonProperty(value = "path")
    private String path;

    /**
     * The port number to probe.
     */
    @JsonProperty(value = "port", required = true)
    private int port;

    /**
     * The scheme. Possible values include: 'http', 'https'.
     */
    @JsonProperty(value = "scheme")
    private String scheme;

    /**
     * Get the path to probe.
     *
     * @return the path value
     */
    public String path() {
        return this.path;
    }

    /**
     * Set the path to probe.
     *
     * @param path the path value to set
     * @return the ContainerHttpGet object itself.
     */
    public ContainerHttpGet withPath(String path) {
        this.path = path;
        return this;
    }

    /**
     * Get the port number to probe.
     *
     * @return the port value
     */
    public int port() {
        return this.port;
    }

    /**
     * Set the port number to probe.
     *
     * @param port the port value to set
     * @return the ContainerHttpGet object itself.
     */
    public ContainerHttpGet withPort(int port) {
        this.port = port;
        return this;
    }

    /**
     * Get the scheme. Possible values include: 'http', 'https'.
     *
     * @return the scheme value
     */
    public String scheme() {
        return this.scheme;
    }

    /**
     * Set the scheme. Possible values include: 'http', 'https'.
     *
     * @param scheme the scheme value to set
     * @return the ContainerHttpGet object itself.
     */
    public ContainerHttpGet withScheme(String scheme) {
        this.scheme = scheme;
        return this;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy