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

com.pulumi.azure.iotcentral.OrganizationArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
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.azure.iotcentral;

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

    public static final OrganizationArgs Empty = new OrganizationArgs();

    /**
     * Custom `display_name` for the organization.
     * 
     */
    @Import(name="displayName", required=true)
    private Output displayName;

    /**
     * @return Custom `display_name` for the organization.
     * 
     */
    public Output displayName() {
        return this.displayName;
    }

    /**
     * The application `id`. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="iotcentralApplicationId", required=true)
    private Output iotcentralApplicationId;

    /**
     * @return The application `id`. Changing this forces a new resource to be created.
     * 
     */
    public Output iotcentralApplicationId() {
        return this.iotcentralApplicationId;
    }

    /**
     * The ID of the organization. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="organizationId", required=true)
    private Output organizationId;

    /**
     * @return The ID of the organization. Changing this forces a new resource to be created.
     * 
     */
    public Output organizationId() {
        return this.organizationId;
    }

    /**
     * The `organization_id` of the parent organization. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="parentOrganizationId")
    private @Nullable Output parentOrganizationId;

    /**
     * @return The `organization_id` of the parent organization. Changing this forces a new resource to be created.
     * 
     */
    public Optional> parentOrganizationId() {
        return Optional.ofNullable(this.parentOrganizationId);
    }

    private OrganizationArgs() {}

    private OrganizationArgs(OrganizationArgs $) {
        this.displayName = $.displayName;
        this.iotcentralApplicationId = $.iotcentralApplicationId;
        this.organizationId = $.organizationId;
        this.parentOrganizationId = $.parentOrganizationId;
    }

    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 displayName Custom `display_name` for the organization.
         * 
         * @return builder
         * 
         */
        public Builder displayName(Output displayName) {
            $.displayName = displayName;
            return this;
        }

        /**
         * @param displayName Custom `display_name` for the organization.
         * 
         * @return builder
         * 
         */
        public Builder displayName(String displayName) {
            return displayName(Output.of(displayName));
        }

        /**
         * @param iotcentralApplicationId The application `id`. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder iotcentralApplicationId(Output iotcentralApplicationId) {
            $.iotcentralApplicationId = iotcentralApplicationId;
            return this;
        }

        /**
         * @param iotcentralApplicationId The application `id`. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder iotcentralApplicationId(String iotcentralApplicationId) {
            return iotcentralApplicationId(Output.of(iotcentralApplicationId));
        }

        /**
         * @param organizationId The ID of the organization. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder organizationId(Output organizationId) {
            $.organizationId = organizationId;
            return this;
        }

        /**
         * @param organizationId The ID of the organization. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder organizationId(String organizationId) {
            return organizationId(Output.of(organizationId));
        }

        /**
         * @param parentOrganizationId The `organization_id` of the parent organization. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder parentOrganizationId(@Nullable Output parentOrganizationId) {
            $.parentOrganizationId = parentOrganizationId;
            return this;
        }

        /**
         * @param parentOrganizationId The `organization_id` of the parent organization. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder parentOrganizationId(String parentOrganizationId) {
            return parentOrganizationId(Output.of(parentOrganizationId));
        }

        public OrganizationArgs build() {
            if ($.displayName == null) {
                throw new MissingRequiredPropertyException("OrganizationArgs", "displayName");
            }
            if ($.iotcentralApplicationId == null) {
                throw new MissingRequiredPropertyException("OrganizationArgs", "iotcentralApplicationId");
            }
            if ($.organizationId == null) {
                throw new MissingRequiredPropertyException("OrganizationArgs", "organizationId");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy