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

com.pulumi.azurenative.eventgrid.PartnerRegistrationArgs 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.eventgrid;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class PartnerRegistrationArgs extends com.pulumi.resources.ResourceArgs {

    public static final PartnerRegistrationArgs Empty = new PartnerRegistrationArgs();

    /**
     * Location of the resource.
     * 
     */
    @Import(name="location")
    private @Nullable Output location;

    /**
     * @return Location of the resource.
     * 
     */
    public Optional> location() {
        return Optional.ofNullable(this.location);
    }

    /**
     * The immutableId of the corresponding partner registration.
     * Note: This property is marked for deprecation and is not supported in any future GA API version
     * 
     */
    @Import(name="partnerRegistrationImmutableId")
    private @Nullable Output partnerRegistrationImmutableId;

    /**
     * @return The immutableId of the corresponding partner registration.
     * Note: This property is marked for deprecation and is not supported in any future GA API version
     * 
     */
    public Optional> partnerRegistrationImmutableId() {
        return Optional.ofNullable(this.partnerRegistrationImmutableId);
    }

    /**
     * Name of the partner registration.
     * 
     */
    @Import(name="partnerRegistrationName")
    private @Nullable Output partnerRegistrationName;

    /**
     * @return Name of the partner registration.
     * 
     */
    public Optional> partnerRegistrationName() {
        return Optional.ofNullable(this.partnerRegistrationName);
    }

    /**
     * The name of the resource group within the user's subscription.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The name of the resource group within the user's subscription.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * Tags of the resource.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return Tags of the resource.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    private PartnerRegistrationArgs() {}

    private PartnerRegistrationArgs(PartnerRegistrationArgs $) {
        this.location = $.location;
        this.partnerRegistrationImmutableId = $.partnerRegistrationImmutableId;
        this.partnerRegistrationName = $.partnerRegistrationName;
        this.resourceGroupName = $.resourceGroupName;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private PartnerRegistrationArgs $;

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

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

        /**
         * @param location Location of the resource.
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location Location of the resource.
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @param partnerRegistrationImmutableId The immutableId of the corresponding partner registration.
         * Note: This property is marked for deprecation and is not supported in any future GA API version
         * 
         * @return builder
         * 
         */
        public Builder partnerRegistrationImmutableId(@Nullable Output partnerRegistrationImmutableId) {
            $.partnerRegistrationImmutableId = partnerRegistrationImmutableId;
            return this;
        }

        /**
         * @param partnerRegistrationImmutableId The immutableId of the corresponding partner registration.
         * Note: This property is marked for deprecation and is not supported in any future GA API version
         * 
         * @return builder
         * 
         */
        public Builder partnerRegistrationImmutableId(String partnerRegistrationImmutableId) {
            return partnerRegistrationImmutableId(Output.of(partnerRegistrationImmutableId));
        }

        /**
         * @param partnerRegistrationName Name of the partner registration.
         * 
         * @return builder
         * 
         */
        public Builder partnerRegistrationName(@Nullable Output partnerRegistrationName) {
            $.partnerRegistrationName = partnerRegistrationName;
            return this;
        }

        /**
         * @param partnerRegistrationName Name of the partner registration.
         * 
         * @return builder
         * 
         */
        public Builder partnerRegistrationName(String partnerRegistrationName) {
            return partnerRegistrationName(Output.of(partnerRegistrationName));
        }

        /**
         * @param resourceGroupName The name of the resource group within the user's subscription.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group within the user's subscription.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param tags Tags of the resource.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags Tags of the resource.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy