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

com.pulumi.azurenative.migrate.PrivateEndpointConnectionControllerPrivateEndpointConnectionArgs 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.migrate;

import com.pulumi.azurenative.migrate.inputs.ConnectionStateRequestBodyPropertiesArgs;
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 PrivateEndpointConnectionControllerPrivateEndpointConnectionArgs extends com.pulumi.resources.ResourceArgs {

    public static final PrivateEndpointConnectionControllerPrivateEndpointConnectionArgs Empty = new PrivateEndpointConnectionControllerPrivateEndpointConnectionArgs();

    /**
     * Gets the tag for optimistic concurrency control.
     * 
     */
    @Import(name="eTag")
    private @Nullable Output eTag;

    /**
     * @return Gets the tag for optimistic concurrency control.
     * 
     */
    public Optional> eTag() {
        return Optional.ofNullable(this.eTag);
    }

    /**
     * Migrate project name.
     * 
     */
    @Import(name="migrateProjectName", required=true)
    private Output migrateProjectName;

    /**
     * @return Migrate project name.
     * 
     */
    public Output migrateProjectName() {
        return this.migrateProjectName;
    }

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

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

    /**
     * Properties of Connection state request.
     * 
     */
    @Import(name="properties")
    private @Nullable Output properties;

    /**
     * @return Properties of Connection state request.
     * 
     */
    public Optional> properties() {
        return Optional.ofNullable(this.properties);
    }

    /**
     * Name of the Azure Resource Group that project is part of.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return Name of the Azure Resource Group that project is part of.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    private PrivateEndpointConnectionControllerPrivateEndpointConnectionArgs() {}

    private PrivateEndpointConnectionControllerPrivateEndpointConnectionArgs(PrivateEndpointConnectionControllerPrivateEndpointConnectionArgs $) {
        this.eTag = $.eTag;
        this.migrateProjectName = $.migrateProjectName;
        this.peConnectionName = $.peConnectionName;
        this.properties = $.properties;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private PrivateEndpointConnectionControllerPrivateEndpointConnectionArgs $;

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

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

        /**
         * @param eTag Gets the tag for optimistic concurrency control.
         * 
         * @return builder
         * 
         */
        public Builder eTag(@Nullable Output eTag) {
            $.eTag = eTag;
            return this;
        }

        /**
         * @param eTag Gets the tag for optimistic concurrency control.
         * 
         * @return builder
         * 
         */
        public Builder eTag(String eTag) {
            return eTag(Output.of(eTag));
        }

        /**
         * @param migrateProjectName Migrate project name.
         * 
         * @return builder
         * 
         */
        public Builder migrateProjectName(Output migrateProjectName) {
            $.migrateProjectName = migrateProjectName;
            return this;
        }

        /**
         * @param migrateProjectName Migrate project name.
         * 
         * @return builder
         * 
         */
        public Builder migrateProjectName(String migrateProjectName) {
            return migrateProjectName(Output.of(migrateProjectName));
        }

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

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

        /**
         * @param properties Properties of Connection state request.
         * 
         * @return builder
         * 
         */
        public Builder properties(@Nullable Output properties) {
            $.properties = properties;
            return this;
        }

        /**
         * @param properties Properties of Connection state request.
         * 
         * @return builder
         * 
         */
        public Builder properties(ConnectionStateRequestBodyPropertiesArgs properties) {
            return properties(Output.of(properties));
        }

        /**
         * @param resourceGroupName Name of the Azure Resource Group that project is part of.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName Name of the Azure Resource Group that project is part of.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy