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

com.pulumi.azurenative.appplatform.outputs.AppVNetAddonsResponse Maven / Gradle / Ivy

There is a newer version: 2.78.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.appplatform.outputs;

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

@CustomType
public final class AppVNetAddonsResponse {
    /**
     * @return Indicates whether the App in vnet injection instance exposes endpoint which could be accessed from internet.
     * 
     */
    private @Nullable Boolean publicEndpoint;
    /**
     * @return URL of the App in vnet injection instance which could be accessed from internet
     * 
     */
    private String publicEndpointUrl;

    private AppVNetAddonsResponse() {}
    /**
     * @return Indicates whether the App in vnet injection instance exposes endpoint which could be accessed from internet.
     * 
     */
    public Optional publicEndpoint() {
        return Optional.ofNullable(this.publicEndpoint);
    }
    /**
     * @return URL of the App in vnet injection instance which could be accessed from internet
     * 
     */
    public String publicEndpointUrl() {
        return this.publicEndpointUrl;
    }

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

    public static Builder builder(AppVNetAddonsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Boolean publicEndpoint;
        private String publicEndpointUrl;
        public Builder() {}
        public Builder(AppVNetAddonsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.publicEndpoint = defaults.publicEndpoint;
    	      this.publicEndpointUrl = defaults.publicEndpointUrl;
        }

        @CustomType.Setter
        public Builder publicEndpoint(@Nullable Boolean publicEndpoint) {

            this.publicEndpoint = publicEndpoint;
            return this;
        }
        @CustomType.Setter
        public Builder publicEndpointUrl(String publicEndpointUrl) {
            if (publicEndpointUrl == null) {
              throw new MissingRequiredPropertyException("AppVNetAddonsResponse", "publicEndpointUrl");
            }
            this.publicEndpointUrl = publicEndpointUrl;
            return this;
        }
        public AppVNetAddonsResponse build() {
            final var _resultValue = new AppVNetAddonsResponse();
            _resultValue.publicEndpoint = publicEndpoint;
            _resultValue.publicEndpointUrl = publicEndpointUrl;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy