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

com.azure.resourcemanager.appplatform.models.AppVNetAddons Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure App Platform Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt

There is a newer version: 2.42.0
Show newest version
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.appplatform.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * Additional App settings in vnet injection instance.
 */
@Fluent
public final class AppVNetAddons {
    /*
     * Indicates whether the App in vnet injection instance exposes endpoint which could be accessed from internet.
     */
    @JsonProperty(value = "publicEndpoint")
    private Boolean publicEndpoint;

    /*
     * URL of the App in vnet injection instance which could be accessed from internet
     */
    @JsonProperty(value = "publicEndpointUrl", access = JsonProperty.Access.WRITE_ONLY)
    private String publicEndpointUrl;

    /**
     * Creates an instance of AppVNetAddons class.
     */
    public AppVNetAddons() {
    }

    /**
     * Get the publicEndpoint property: Indicates whether the App in vnet injection instance exposes endpoint which
     * could be accessed from internet.
     * 
     * @return the publicEndpoint value.
     */
    public Boolean publicEndpoint() {
        return this.publicEndpoint;
    }

    /**
     * Set the publicEndpoint property: Indicates whether the App in vnet injection instance exposes endpoint which
     * could be accessed from internet.
     * 
     * @param publicEndpoint the publicEndpoint value to set.
     * @return the AppVNetAddons object itself.
     */
    public AppVNetAddons withPublicEndpoint(Boolean publicEndpoint) {
        this.publicEndpoint = publicEndpoint;
        return this;
    }

    /**
     * Get the publicEndpointUrl property: URL of the App in vnet injection instance which could be accessed from
     * internet.
     * 
     * @return the publicEndpointUrl value.
     */
    public String publicEndpointUrl() {
        return this.publicEndpointUrl;
    }

    /**
     * Validates the instance.
     * 
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    public void validate() {
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy