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

com.pulumi.azurenative.offazure.PrivateEndpointConnectionControllerArgs Maven / Gradle / Ivy

There is a newer version: 2.72.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.offazure;

import com.pulumi.azurenative.offazure.inputs.PrivateLinkServiceConnectionStateArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final PrivateEndpointConnectionControllerArgs Empty = new PrivateEndpointConnectionControllerArgs();

    /**
     *  Private link resource name.
     * 
     */
    @Import(name="peConnectionName")
    private @Nullable Output peConnectionName;

    /**
     * @return  Private link resource name.
     * 
     */
    public Optional> peConnectionName() {
        return Optional.ofNullable(this.peConnectionName);
    }

    /**
     * private endpoints connection state
     * 
     */
    @Import(name="privateLinkServiceConnectionState")
    private @Nullable Output privateLinkServiceConnectionState;

    /**
     * @return private endpoints connection state
     * 
     */
    public Optional> privateLinkServiceConnectionState() {
        return Optional.ofNullable(this.privateLinkServiceConnectionState);
    }

    /**
     * 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;
    }

    /**
     * Site name
     * 
     */
    @Import(name="siteName", required=true)
    private Output siteName;

    /**
     * @return Site name
     * 
     */
    public Output siteName() {
        return this.siteName;
    }

    private PrivateEndpointConnectionControllerArgs() {}

    private PrivateEndpointConnectionControllerArgs(PrivateEndpointConnectionControllerArgs $) {
        this.peConnectionName = $.peConnectionName;
        this.privateLinkServiceConnectionState = $.privateLinkServiceConnectionState;
        this.resourceGroupName = $.resourceGroupName;
        this.siteName = $.siteName;
    }

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

    public static final class Builder {
        private PrivateEndpointConnectionControllerArgs $;

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

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

        /**
         * @param peConnectionName  Private link resource name.
         * 
         * @return builder
         * 
         */
        public Builder peConnectionName(@Nullable Output peConnectionName) {
            $.peConnectionName = peConnectionName;
            return this;
        }

        /**
         * @param peConnectionName  Private link resource name.
         * 
         * @return builder
         * 
         */
        public Builder peConnectionName(String peConnectionName) {
            return peConnectionName(Output.of(peConnectionName));
        }

        /**
         * @param privateLinkServiceConnectionState private endpoints connection state
         * 
         * @return builder
         * 
         */
        public Builder privateLinkServiceConnectionState(@Nullable Output privateLinkServiceConnectionState) {
            $.privateLinkServiceConnectionState = privateLinkServiceConnectionState;
            return this;
        }

        /**
         * @param privateLinkServiceConnectionState private endpoints connection state
         * 
         * @return builder
         * 
         */
        public Builder privateLinkServiceConnectionState(PrivateLinkServiceConnectionStateArgs privateLinkServiceConnectionState) {
            return privateLinkServiceConnectionState(Output.of(privateLinkServiceConnectionState));
        }

        /**
         * @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 siteName Site name
         * 
         * @return builder
         * 
         */
        public Builder siteName(Output siteName) {
            $.siteName = siteName;
            return this;
        }

        /**
         * @param siteName Site name
         * 
         * @return builder
         * 
         */
        public Builder siteName(String siteName) {
            return siteName(Output.of(siteName));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy