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

com.pulumi.azurenative.webpubsub.WebPubSubSharedPrivateLinkResourceArgs 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.webpubsub;

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 WebPubSubSharedPrivateLinkResourceArgs extends com.pulumi.resources.ResourceArgs {

    public static final WebPubSubSharedPrivateLinkResourceArgs Empty = new WebPubSubSharedPrivateLinkResourceArgs();

    /**
     * The group id from the provider of resource the shared private link resource is for
     * 
     */
    @Import(name="groupId", required=true)
    private Output groupId;

    /**
     * @return The group id from the provider of resource the shared private link resource is for
     * 
     */
    public Output groupId() {
        return this.groupId;
    }

    /**
     * The resource id of the resource the shared private link resource is for
     * 
     */
    @Import(name="privateLinkResourceId", required=true)
    private Output privateLinkResourceId;

    /**
     * @return The resource id of the resource the shared private link resource is for
     * 
     */
    public Output privateLinkResourceId() {
        return this.privateLinkResourceId;
    }

    /**
     * The request message for requesting approval of the shared private link resource
     * 
     */
    @Import(name="requestMessage")
    private @Nullable Output requestMessage;

    /**
     * @return The request message for requesting approval of the shared private link resource
     * 
     */
    public Optional> requestMessage() {
        return Optional.ofNullable(this.requestMessage);
    }

    /**
     * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * The name of the resource.
     * 
     */
    @Import(name="resourceName", required=true)
    private Output resourceName;

    /**
     * @return The name of the resource.
     * 
     */
    public Output resourceName() {
        return this.resourceName;
    }

    /**
     * The name of the shared private link resource
     * 
     */
    @Import(name="sharedPrivateLinkResourceName")
    private @Nullable Output sharedPrivateLinkResourceName;

    /**
     * @return The name of the shared private link resource
     * 
     */
    public Optional> sharedPrivateLinkResourceName() {
        return Optional.ofNullable(this.sharedPrivateLinkResourceName);
    }

    private WebPubSubSharedPrivateLinkResourceArgs() {}

    private WebPubSubSharedPrivateLinkResourceArgs(WebPubSubSharedPrivateLinkResourceArgs $) {
        this.groupId = $.groupId;
        this.privateLinkResourceId = $.privateLinkResourceId;
        this.requestMessage = $.requestMessage;
        this.resourceGroupName = $.resourceGroupName;
        this.resourceName = $.resourceName;
        this.sharedPrivateLinkResourceName = $.sharedPrivateLinkResourceName;
    }

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

    public static final class Builder {
        private WebPubSubSharedPrivateLinkResourceArgs $;

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

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

        /**
         * @param groupId The group id from the provider of resource the shared private link resource is for
         * 
         * @return builder
         * 
         */
        public Builder groupId(Output groupId) {
            $.groupId = groupId;
            return this;
        }

        /**
         * @param groupId The group id from the provider of resource the shared private link resource is for
         * 
         * @return builder
         * 
         */
        public Builder groupId(String groupId) {
            return groupId(Output.of(groupId));
        }

        /**
         * @param privateLinkResourceId The resource id of the resource the shared private link resource is for
         * 
         * @return builder
         * 
         */
        public Builder privateLinkResourceId(Output privateLinkResourceId) {
            $.privateLinkResourceId = privateLinkResourceId;
            return this;
        }

        /**
         * @param privateLinkResourceId The resource id of the resource the shared private link resource is for
         * 
         * @return builder
         * 
         */
        public Builder privateLinkResourceId(String privateLinkResourceId) {
            return privateLinkResourceId(Output.of(privateLinkResourceId));
        }

        /**
         * @param requestMessage The request message for requesting approval of the shared private link resource
         * 
         * @return builder
         * 
         */
        public Builder requestMessage(@Nullable Output requestMessage) {
            $.requestMessage = requestMessage;
            return this;
        }

        /**
         * @param requestMessage The request message for requesting approval of the shared private link resource
         * 
         * @return builder
         * 
         */
        public Builder requestMessage(String requestMessage) {
            return requestMessage(Output.of(requestMessage));
        }

        /**
         * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param resourceName The name of the resource.
         * 
         * @return builder
         * 
         */
        public Builder resourceName(Output resourceName) {
            $.resourceName = resourceName;
            return this;
        }

        /**
         * @param resourceName The name of the resource.
         * 
         * @return builder
         * 
         */
        public Builder resourceName(String resourceName) {
            return resourceName(Output.of(resourceName));
        }

        /**
         * @param sharedPrivateLinkResourceName The name of the shared private link resource
         * 
         * @return builder
         * 
         */
        public Builder sharedPrivateLinkResourceName(@Nullable Output sharedPrivateLinkResourceName) {
            $.sharedPrivateLinkResourceName = sharedPrivateLinkResourceName;
            return this;
        }

        /**
         * @param sharedPrivateLinkResourceName The name of the shared private link resource
         * 
         * @return builder
         * 
         */
        public Builder sharedPrivateLinkResourceName(String sharedPrivateLinkResourceName) {
            return sharedPrivateLinkResourceName(Output.of(sharedPrivateLinkResourceName));
        }

        public WebPubSubSharedPrivateLinkResourceArgs build() {
            if ($.groupId == null) {
                throw new MissingRequiredPropertyException("WebPubSubSharedPrivateLinkResourceArgs", "groupId");
            }
            if ($.privateLinkResourceId == null) {
                throw new MissingRequiredPropertyException("WebPubSubSharedPrivateLinkResourceArgs", "privateLinkResourceId");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("WebPubSubSharedPrivateLinkResourceArgs", "resourceGroupName");
            }
            if ($.resourceName == null) {
                throw new MissingRequiredPropertyException("WebPubSubSharedPrivateLinkResourceArgs", "resourceName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy