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

com.pulumi.azurenative.web.inputs.ListConnectionConsentLinksArgs 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.web.inputs;

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


public final class ListConnectionConsentLinksArgs extends com.pulumi.resources.InvokeArgs {

    public static final ListConnectionConsentLinksArgs Empty = new ListConnectionConsentLinksArgs();

    /**
     * Connection name
     * 
     */
    @Import(name="connectionName", required=true)
    private Output connectionName;

    /**
     * @return Connection name
     * 
     */
    public Output connectionName() {
        return this.connectionName;
    }

    /**
     * Collection of resources
     * 
     */
    @Import(name="parameters")
    private @Nullable Output> parameters;

    /**
     * @return Collection of resources
     * 
     */
    public Optional>> parameters() {
        return Optional.ofNullable(this.parameters);
    }

    /**
     * The resource group
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The resource group
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * Subscription Id
     * 
     */
    @Import(name="subscriptionId")
    private @Nullable Output subscriptionId;

    /**
     * @return Subscription Id
     * 
     */
    public Optional> subscriptionId() {
        return Optional.ofNullable(this.subscriptionId);
    }

    private ListConnectionConsentLinksArgs() {}

    private ListConnectionConsentLinksArgs(ListConnectionConsentLinksArgs $) {
        this.connectionName = $.connectionName;
        this.parameters = $.parameters;
        this.resourceGroupName = $.resourceGroupName;
        this.subscriptionId = $.subscriptionId;
    }

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

    public static final class Builder {
        private ListConnectionConsentLinksArgs $;

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

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

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

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

        /**
         * @param parameters Collection of resources
         * 
         * @return builder
         * 
         */
        public Builder parameters(@Nullable Output> parameters) {
            $.parameters = parameters;
            return this;
        }

        /**
         * @param parameters Collection of resources
         * 
         * @return builder
         * 
         */
        public Builder parameters(List parameters) {
            return parameters(Output.of(parameters));
        }

        /**
         * @param parameters Collection of resources
         * 
         * @return builder
         * 
         */
        public Builder parameters(ConsentLinkParameterDefinitionArgs... parameters) {
            return parameters(List.of(parameters));
        }

        /**
         * @param resourceGroupName The resource group
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The resource group
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param subscriptionId Subscription Id
         * 
         * @return builder
         * 
         */
        public Builder subscriptionId(@Nullable Output subscriptionId) {
            $.subscriptionId = subscriptionId;
            return this;
        }

        /**
         * @param subscriptionId Subscription Id
         * 
         * @return builder
         * 
         */
        public Builder subscriptionId(String subscriptionId) {
            return subscriptionId(Output.of(subscriptionId));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy