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

com.pulumi.azurenative.app.ConnectedEnvironmentArgs 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.app;

import com.pulumi.azurenative.app.inputs.CustomDomainConfigurationArgs;
import com.pulumi.azurenative.app.inputs.ExtendedLocationArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class ConnectedEnvironmentArgs extends com.pulumi.resources.ResourceArgs {

    public static final ConnectedEnvironmentArgs Empty = new ConnectedEnvironmentArgs();

    /**
     * Name of the connectedEnvironment.
     * 
     */
    @Import(name="connectedEnvironmentName")
    private @Nullable Output connectedEnvironmentName;

    /**
     * @return Name of the connectedEnvironment.
     * 
     */
    public Optional> connectedEnvironmentName() {
        return Optional.ofNullable(this.connectedEnvironmentName);
    }

    /**
     * Custom domain configuration for the environment
     * 
     */
    @Import(name="customDomainConfiguration")
    private @Nullable Output customDomainConfiguration;

    /**
     * @return Custom domain configuration for the environment
     * 
     */
    public Optional> customDomainConfiguration() {
        return Optional.ofNullable(this.customDomainConfiguration);
    }

    /**
     * Application Insights connection string used by Dapr to export Service to Service communication telemetry
     * 
     */
    @Import(name="daprAIConnectionString")
    private @Nullable Output daprAIConnectionString;

    /**
     * @return Application Insights connection string used by Dapr to export Service to Service communication telemetry
     * 
     */
    public Optional> daprAIConnectionString() {
        return Optional.ofNullable(this.daprAIConnectionString);
    }

    /**
     * The complex type of the extended location.
     * 
     */
    @Import(name="extendedLocation")
    private @Nullable Output extendedLocation;

    /**
     * @return The complex type of the extended location.
     * 
     */
    public Optional> extendedLocation() {
        return Optional.ofNullable(this.extendedLocation);
    }

    /**
     * The geo-location where the resource lives
     * 
     */
    @Import(name="location")
    private @Nullable Output location;

    /**
     * @return The geo-location where the resource lives
     * 
     */
    public Optional> location() {
        return Optional.ofNullable(this.location);
    }

    /**
     * The name of the resource group. The name is case insensitive.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The name of the resource group. The name is case insensitive.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * Static IP of the connectedEnvironment
     * 
     */
    @Import(name="staticIp")
    private @Nullable Output staticIp;

    /**
     * @return Static IP of the connectedEnvironment
     * 
     */
    public Optional> staticIp() {
        return Optional.ofNullable(this.staticIp);
    }

    /**
     * Resource tags.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return Resource tags.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    private ConnectedEnvironmentArgs() {}

    private ConnectedEnvironmentArgs(ConnectedEnvironmentArgs $) {
        this.connectedEnvironmentName = $.connectedEnvironmentName;
        this.customDomainConfiguration = $.customDomainConfiguration;
        this.daprAIConnectionString = $.daprAIConnectionString;
        this.extendedLocation = $.extendedLocation;
        this.location = $.location;
        this.resourceGroupName = $.resourceGroupName;
        this.staticIp = $.staticIp;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private ConnectedEnvironmentArgs $;

        public Builder() {
            $ = new ConnectedEnvironmentArgs();
        }

        public Builder(ConnectedEnvironmentArgs defaults) {
            $ = new ConnectedEnvironmentArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param connectedEnvironmentName Name of the connectedEnvironment.
         * 
         * @return builder
         * 
         */
        public Builder connectedEnvironmentName(@Nullable Output connectedEnvironmentName) {
            $.connectedEnvironmentName = connectedEnvironmentName;
            return this;
        }

        /**
         * @param connectedEnvironmentName Name of the connectedEnvironment.
         * 
         * @return builder
         * 
         */
        public Builder connectedEnvironmentName(String connectedEnvironmentName) {
            return connectedEnvironmentName(Output.of(connectedEnvironmentName));
        }

        /**
         * @param customDomainConfiguration Custom domain configuration for the environment
         * 
         * @return builder
         * 
         */
        public Builder customDomainConfiguration(@Nullable Output customDomainConfiguration) {
            $.customDomainConfiguration = customDomainConfiguration;
            return this;
        }

        /**
         * @param customDomainConfiguration Custom domain configuration for the environment
         * 
         * @return builder
         * 
         */
        public Builder customDomainConfiguration(CustomDomainConfigurationArgs customDomainConfiguration) {
            return customDomainConfiguration(Output.of(customDomainConfiguration));
        }

        /**
         * @param daprAIConnectionString Application Insights connection string used by Dapr to export Service to Service communication telemetry
         * 
         * @return builder
         * 
         */
        public Builder daprAIConnectionString(@Nullable Output daprAIConnectionString) {
            $.daprAIConnectionString = daprAIConnectionString;
            return this;
        }

        /**
         * @param daprAIConnectionString Application Insights connection string used by Dapr to export Service to Service communication telemetry
         * 
         * @return builder
         * 
         */
        public Builder daprAIConnectionString(String daprAIConnectionString) {
            return daprAIConnectionString(Output.of(daprAIConnectionString));
        }

        /**
         * @param extendedLocation The complex type of the extended location.
         * 
         * @return builder
         * 
         */
        public Builder extendedLocation(@Nullable Output extendedLocation) {
            $.extendedLocation = extendedLocation;
            return this;
        }

        /**
         * @param extendedLocation The complex type of the extended location.
         * 
         * @return builder
         * 
         */
        public Builder extendedLocation(ExtendedLocationArgs extendedLocation) {
            return extendedLocation(Output.of(extendedLocation));
        }

        /**
         * @param location The geo-location where the resource lives
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location The geo-location where the resource lives
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param staticIp Static IP of the connectedEnvironment
         * 
         * @return builder
         * 
         */
        public Builder staticIp(@Nullable Output staticIp) {
            $.staticIp = staticIp;
            return this;
        }

        /**
         * @param staticIp Static IP of the connectedEnvironment
         * 
         * @return builder
         * 
         */
        public Builder staticIp(String staticIp) {
            return staticIp(Output.of(staticIp));
        }

        /**
         * @param tags Resource tags.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags Resource tags.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        public ConnectedEnvironmentArgs build() {
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("ConnectedEnvironmentArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy