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

com.pulumi.azurenative.confluent.OrganizationArgs 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.confluent;

import com.pulumi.azurenative.confluent.inputs.OfferDetailArgs;
import com.pulumi.azurenative.confluent.inputs.UserDetailArgs;
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 OrganizationArgs extends com.pulumi.resources.ResourceArgs {

    public static final OrganizationArgs Empty = new OrganizationArgs();

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

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

    /**
     * Confluent offer detail
     * 
     */
    @Import(name="offerDetail", required=true)
    private Output offerDetail;

    /**
     * @return Confluent offer detail
     * 
     */
    public Output offerDetail() {
        return this.offerDetail;
    }

    /**
     * Organization resource name
     * 
     */
    @Import(name="organizationName")
    private @Nullable Output organizationName;

    /**
     * @return Organization resource name
     * 
     */
    public Optional> organizationName() {
        return Optional.ofNullable(this.organizationName);
    }

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

    /**
     * @return Resource group name
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * Organization resource tags
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

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

    /**
     * Subscriber detail
     * 
     */
    @Import(name="userDetail", required=true)
    private Output userDetail;

    /**
     * @return Subscriber detail
     * 
     */
    public Output userDetail() {
        return this.userDetail;
    }

    private OrganizationArgs() {}

    private OrganizationArgs(OrganizationArgs $) {
        this.location = $.location;
        this.offerDetail = $.offerDetail;
        this.organizationName = $.organizationName;
        this.resourceGroupName = $.resourceGroupName;
        this.tags = $.tags;
        this.userDetail = $.userDetail;
    }

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

    public static final class Builder {
        private OrganizationArgs $;

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

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

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

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

        /**
         * @param offerDetail Confluent offer detail
         * 
         * @return builder
         * 
         */
        public Builder offerDetail(Output offerDetail) {
            $.offerDetail = offerDetail;
            return this;
        }

        /**
         * @param offerDetail Confluent offer detail
         * 
         * @return builder
         * 
         */
        public Builder offerDetail(OfferDetailArgs offerDetail) {
            return offerDetail(Output.of(offerDetail));
        }

        /**
         * @param organizationName Organization resource name
         * 
         * @return builder
         * 
         */
        public Builder organizationName(@Nullable Output organizationName) {
            $.organizationName = organizationName;
            return this;
        }

        /**
         * @param organizationName Organization resource name
         * 
         * @return builder
         * 
         */
        public Builder organizationName(String organizationName) {
            return organizationName(Output.of(organizationName));
        }

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

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

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

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

        /**
         * @param userDetail Subscriber detail
         * 
         * @return builder
         * 
         */
        public Builder userDetail(Output userDetail) {
            $.userDetail = userDetail;
            return this;
        }

        /**
         * @param userDetail Subscriber detail
         * 
         * @return builder
         * 
         */
        public Builder userDetail(UserDetailArgs userDetail) {
            return userDetail(Output.of(userDetail));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy