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

com.pulumi.azurenative.apimanagement.inputs.RemotePrivateEndpointConnectionWrapperArgs Maven / Gradle / Ivy

There is a newer version: 2.82.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.apimanagement.inputs;

import com.pulumi.azurenative.apimanagement.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;


/**
 * Remote Private Endpoint Connection resource.
 * 
 */
public final class RemotePrivateEndpointConnectionWrapperArgs extends com.pulumi.resources.ResourceArgs {

    public static final RemotePrivateEndpointConnectionWrapperArgs Empty = new RemotePrivateEndpointConnectionWrapperArgs();

    /**
     * Private Endpoint connection resource id
     * 
     */
    @Import(name="id")
    private @Nullable Output id;

    /**
     * @return Private Endpoint connection resource id
     * 
     */
    public Optional> id() {
        return Optional.ofNullable(this.id);
    }

    /**
     * Private Endpoint Connection Name
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Private Endpoint Connection Name
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * A collection of information about the state of the connection between service consumer and provider.
     * 
     */
    @Import(name="privateLinkServiceConnectionState", required=true)
    private Output privateLinkServiceConnectionState;

    /**
     * @return A collection of information about the state of the connection between service consumer and provider.
     * 
     */
    public Output privateLinkServiceConnectionState() {
        return this.privateLinkServiceConnectionState;
    }

    /**
     * Private Endpoint Connection Resource Type
     * 
     */
    @Import(name="type")
    private @Nullable Output type;

    /**
     * @return Private Endpoint Connection Resource Type
     * 
     */
    public Optional> type() {
        return Optional.ofNullable(this.type);
    }

    private RemotePrivateEndpointConnectionWrapperArgs() {}

    private RemotePrivateEndpointConnectionWrapperArgs(RemotePrivateEndpointConnectionWrapperArgs $) {
        this.id = $.id;
        this.name = $.name;
        this.privateLinkServiceConnectionState = $.privateLinkServiceConnectionState;
        this.type = $.type;
    }

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

    public static final class Builder {
        private RemotePrivateEndpointConnectionWrapperArgs $;

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

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

        /**
         * @param id Private Endpoint connection resource id
         * 
         * @return builder
         * 
         */
        public Builder id(@Nullable Output id) {
            $.id = id;
            return this;
        }

        /**
         * @param id Private Endpoint connection resource id
         * 
         * @return builder
         * 
         */
        public Builder id(String id) {
            return id(Output.of(id));
        }

        /**
         * @param name Private Endpoint Connection Name
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Private Endpoint Connection Name
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param privateLinkServiceConnectionState A collection of information about the state of the connection between service consumer and provider.
         * 
         * @return builder
         * 
         */
        public Builder privateLinkServiceConnectionState(Output privateLinkServiceConnectionState) {
            $.privateLinkServiceConnectionState = privateLinkServiceConnectionState;
            return this;
        }

        /**
         * @param privateLinkServiceConnectionState A collection of information about the state of the connection between service consumer and provider.
         * 
         * @return builder
         * 
         */
        public Builder privateLinkServiceConnectionState(PrivateLinkServiceConnectionStateArgs privateLinkServiceConnectionState) {
            return privateLinkServiceConnectionState(Output.of(privateLinkServiceConnectionState));
        }

        /**
         * @param type Private Endpoint Connection Resource Type
         * 
         * @return builder
         * 
         */
        public Builder type(@Nullable Output type) {
            $.type = type;
            return this;
        }

        /**
         * @param type Private Endpoint Connection Resource Type
         * 
         * @return builder
         * 
         */
        public Builder type(String type) {
            return type(Output.of(type));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy