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

com.pulumi.azurenative.machinelearningservices.inputs.RegistryPrivateEndpointConnectionArgs Maven / Gradle / Ivy

// *** 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.machinelearningservices.inputs;

import com.pulumi.azurenative.machinelearningservices.inputs.RegistryPrivateEndpointConnectionPropertiesArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Private endpoint connection definition.
 * 
 */
public final class RegistryPrivateEndpointConnectionArgs extends com.pulumi.resources.ResourceArgs {

    public static final RegistryPrivateEndpointConnectionArgs Empty = new RegistryPrivateEndpointConnectionArgs();

    /**
     * This is the private endpoint connection name created on SRP
     * Full resource id: /subscriptions/{subId}/resourceGroups/{rgName}/providers/Microsoft.MachineLearningServices/{resourceType}/{resourceName}/privateEndpointConnections/{peConnectionName}
     * 
     */
    @Import(name="id")
    private @Nullable Output id;

    /**
     * @return This is the private endpoint connection name created on SRP
     * Full resource id: /subscriptions/{subId}/resourceGroups/{rgName}/providers/Microsoft.MachineLearningServices/{resourceType}/{resourceName}/privateEndpointConnections/{peConnectionName}
     * 
     */
    public Optional> id() {
        return Optional.ofNullable(this.id);
    }

    /**
     * Same as workspace location.
     * 
     */
    @Import(name="location")
    private @Nullable Output location;

    /**
     * @return Same as workspace location.
     * 
     */
    public Optional> location() {
        return Optional.ofNullable(this.location);
    }

    /**
     * Properties of the Private Endpoint Connection
     * 
     */
    @Import(name="properties")
    private @Nullable Output properties;

    /**
     * @return Properties of the Private Endpoint Connection
     * 
     */
    public Optional> properties() {
        return Optional.ofNullable(this.properties);
    }

    private RegistryPrivateEndpointConnectionArgs() {}

    private RegistryPrivateEndpointConnectionArgs(RegistryPrivateEndpointConnectionArgs $) {
        this.id = $.id;
        this.location = $.location;
        this.properties = $.properties;
    }

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

    public static final class Builder {
        private RegistryPrivateEndpointConnectionArgs $;

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

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

        /**
         * @param id This is the private endpoint connection name created on SRP
         * Full resource id: /subscriptions/{subId}/resourceGroups/{rgName}/providers/Microsoft.MachineLearningServices/{resourceType}/{resourceName}/privateEndpointConnections/{peConnectionName}
         * 
         * @return builder
         * 
         */
        public Builder id(@Nullable Output id) {
            $.id = id;
            return this;
        }

        /**
         * @param id This is the private endpoint connection name created on SRP
         * Full resource id: /subscriptions/{subId}/resourceGroups/{rgName}/providers/Microsoft.MachineLearningServices/{resourceType}/{resourceName}/privateEndpointConnections/{peConnectionName}
         * 
         * @return builder
         * 
         */
        public Builder id(String id) {
            return id(Output.of(id));
        }

        /**
         * @param location Same as workspace location.
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location Same as workspace location.
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

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

        /**
         * @param properties Properties of the Private Endpoint Connection
         * 
         * @return builder
         * 
         */
        public Builder properties(RegistryPrivateEndpointConnectionPropertiesArgs properties) {
            return properties(Output.of(properties));
        }

        public RegistryPrivateEndpointConnectionArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy