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

com.pulumi.azure.purview.inputs.AccountState 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.purview.inputs;

import com.pulumi.azure.purview.inputs.AccountIdentityArgs;
import com.pulumi.azure.purview.inputs.AccountManagedResourceArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final AccountState Empty = new AccountState();

    /**
     * Atlas Kafka endpoint primary connection string.
     * 
     */
    @Import(name="atlasKafkaEndpointPrimaryConnectionString")
    private @Nullable Output atlasKafkaEndpointPrimaryConnectionString;

    /**
     * @return Atlas Kafka endpoint primary connection string.
     * 
     */
    public Optional> atlasKafkaEndpointPrimaryConnectionString() {
        return Optional.ofNullable(this.atlasKafkaEndpointPrimaryConnectionString);
    }

    /**
     * Atlas Kafka endpoint secondary connection string.
     * 
     */
    @Import(name="atlasKafkaEndpointSecondaryConnectionString")
    private @Nullable Output atlasKafkaEndpointSecondaryConnectionString;

    /**
     * @return Atlas Kafka endpoint secondary connection string.
     * 
     */
    public Optional> atlasKafkaEndpointSecondaryConnectionString() {
        return Optional.ofNullable(this.atlasKafkaEndpointSecondaryConnectionString);
    }

    /**
     * Catalog endpoint.
     * 
     */
    @Import(name="catalogEndpoint")
    private @Nullable Output catalogEndpoint;

    /**
     * @return Catalog endpoint.
     * 
     */
    public Optional> catalogEndpoint() {
        return Optional.ofNullable(this.catalogEndpoint);
    }

    /**
     * Guardian endpoint.
     * 
     */
    @Import(name="guardianEndpoint")
    private @Nullable Output guardianEndpoint;

    /**
     * @return Guardian endpoint.
     * 
     */
    public Optional> guardianEndpoint() {
        return Optional.ofNullable(this.guardianEndpoint);
    }

    /**
     * An `identity` block as defined below.
     * 
     */
    @Import(name="identity")
    private @Nullable Output identity;

    /**
     * @return An `identity` block as defined below.
     * 
     */
    public Optional> identity() {
        return Optional.ofNullable(this.identity);
    }

    /**
     * The Azure Region where the Purview Account should exist. Changing this forces a new Purview Account to be created.
     * 
     */
    @Import(name="location")
    private @Nullable Output location;

    /**
     * @return The Azure Region where the Purview Account should exist. Changing this forces a new Purview Account to be created.
     * 
     */
    public Optional> location() {
        return Optional.ofNullable(this.location);
    }

    /**
     * The name which should be used for the new Resource Group where Purview Account creates the managed resources. Changing this forces a new Purview Account to be created.
     * 
     * > **Note:** `managed_resource_group_name` must be a new Resource Group
     * 
     */
    @Import(name="managedResourceGroupName")
    private @Nullable Output managedResourceGroupName;

    /**
     * @return The name which should be used for the new Resource Group where Purview Account creates the managed resources. Changing this forces a new Purview Account to be created.
     * 
     * > **Note:** `managed_resource_group_name` must be a new Resource Group
     * 
     */
    public Optional> managedResourceGroupName() {
        return Optional.ofNullable(this.managedResourceGroupName);
    }

    /**
     * A `managed_resources` block as defined below.
     * 
     */
    @Import(name="managedResources")
    private @Nullable Output> managedResources;

    /**
     * @return A `managed_resources` block as defined below.
     * 
     */
    public Optional>> managedResources() {
        return Optional.ofNullable(this.managedResources);
    }

    /**
     * The name which should be used for this Purview Account. Changing this forces a new Purview Account to be created.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The name which should be used for this Purview Account. Changing this forces a new Purview Account to be created.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * Should the Purview Account be visible to the public network? Defaults to `true`.
     * 
     */
    @Import(name="publicNetworkEnabled")
    private @Nullable Output publicNetworkEnabled;

    /**
     * @return Should the Purview Account be visible to the public network? Defaults to `true`.
     * 
     */
    public Optional> publicNetworkEnabled() {
        return Optional.ofNullable(this.publicNetworkEnabled);
    }

    /**
     * The name of the Resource Group where the Purview Account should exist. Changing this forces a new Purview Account to be created.
     * 
     */
    @Import(name="resourceGroupName")
    private @Nullable Output resourceGroupName;

    /**
     * @return The name of the Resource Group where the Purview Account should exist. Changing this forces a new Purview Account to be created.
     * 
     */
    public Optional> resourceGroupName() {
        return Optional.ofNullable(this.resourceGroupName);
    }

    /**
     * Scan endpoint.
     * 
     */
    @Import(name="scanEndpoint")
    private @Nullable Output scanEndpoint;

    /**
     * @return Scan endpoint.
     * 
     */
    public Optional> scanEndpoint() {
        return Optional.ofNullable(this.scanEndpoint);
    }

    /**
     * A mapping of tags which should be assigned to the Purview Account.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return A mapping of tags which should be assigned to the Purview Account.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    private AccountState() {}

    private AccountState(AccountState $) {
        this.atlasKafkaEndpointPrimaryConnectionString = $.atlasKafkaEndpointPrimaryConnectionString;
        this.atlasKafkaEndpointSecondaryConnectionString = $.atlasKafkaEndpointSecondaryConnectionString;
        this.catalogEndpoint = $.catalogEndpoint;
        this.guardianEndpoint = $.guardianEndpoint;
        this.identity = $.identity;
        this.location = $.location;
        this.managedResourceGroupName = $.managedResourceGroupName;
        this.managedResources = $.managedResources;
        this.name = $.name;
        this.publicNetworkEnabled = $.publicNetworkEnabled;
        this.resourceGroupName = $.resourceGroupName;
        this.scanEndpoint = $.scanEndpoint;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private AccountState $;

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

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

        /**
         * @param atlasKafkaEndpointPrimaryConnectionString Atlas Kafka endpoint primary connection string.
         * 
         * @return builder
         * 
         */
        public Builder atlasKafkaEndpointPrimaryConnectionString(@Nullable Output atlasKafkaEndpointPrimaryConnectionString) {
            $.atlasKafkaEndpointPrimaryConnectionString = atlasKafkaEndpointPrimaryConnectionString;
            return this;
        }

        /**
         * @param atlasKafkaEndpointPrimaryConnectionString Atlas Kafka endpoint primary connection string.
         * 
         * @return builder
         * 
         */
        public Builder atlasKafkaEndpointPrimaryConnectionString(String atlasKafkaEndpointPrimaryConnectionString) {
            return atlasKafkaEndpointPrimaryConnectionString(Output.of(atlasKafkaEndpointPrimaryConnectionString));
        }

        /**
         * @param atlasKafkaEndpointSecondaryConnectionString Atlas Kafka endpoint secondary connection string.
         * 
         * @return builder
         * 
         */
        public Builder atlasKafkaEndpointSecondaryConnectionString(@Nullable Output atlasKafkaEndpointSecondaryConnectionString) {
            $.atlasKafkaEndpointSecondaryConnectionString = atlasKafkaEndpointSecondaryConnectionString;
            return this;
        }

        /**
         * @param atlasKafkaEndpointSecondaryConnectionString Atlas Kafka endpoint secondary connection string.
         * 
         * @return builder
         * 
         */
        public Builder atlasKafkaEndpointSecondaryConnectionString(String atlasKafkaEndpointSecondaryConnectionString) {
            return atlasKafkaEndpointSecondaryConnectionString(Output.of(atlasKafkaEndpointSecondaryConnectionString));
        }

        /**
         * @param catalogEndpoint Catalog endpoint.
         * 
         * @return builder
         * 
         */
        public Builder catalogEndpoint(@Nullable Output catalogEndpoint) {
            $.catalogEndpoint = catalogEndpoint;
            return this;
        }

        /**
         * @param catalogEndpoint Catalog endpoint.
         * 
         * @return builder
         * 
         */
        public Builder catalogEndpoint(String catalogEndpoint) {
            return catalogEndpoint(Output.of(catalogEndpoint));
        }

        /**
         * @param guardianEndpoint Guardian endpoint.
         * 
         * @return builder
         * 
         */
        public Builder guardianEndpoint(@Nullable Output guardianEndpoint) {
            $.guardianEndpoint = guardianEndpoint;
            return this;
        }

        /**
         * @param guardianEndpoint Guardian endpoint.
         * 
         * @return builder
         * 
         */
        public Builder guardianEndpoint(String guardianEndpoint) {
            return guardianEndpoint(Output.of(guardianEndpoint));
        }

        /**
         * @param identity An `identity` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder identity(@Nullable Output identity) {
            $.identity = identity;
            return this;
        }

        /**
         * @param identity An `identity` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder identity(AccountIdentityArgs identity) {
            return identity(Output.of(identity));
        }

        /**
         * @param location The Azure Region where the Purview Account should exist. Changing this forces a new Purview Account to be created.
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location The Azure Region where the Purview Account should exist. Changing this forces a new Purview Account to be created.
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @param managedResourceGroupName The name which should be used for the new Resource Group where Purview Account creates the managed resources. Changing this forces a new Purview Account to be created.
         * 
         * > **Note:** `managed_resource_group_name` must be a new Resource Group
         * 
         * @return builder
         * 
         */
        public Builder managedResourceGroupName(@Nullable Output managedResourceGroupName) {
            $.managedResourceGroupName = managedResourceGroupName;
            return this;
        }

        /**
         * @param managedResourceGroupName The name which should be used for the new Resource Group where Purview Account creates the managed resources. Changing this forces a new Purview Account to be created.
         * 
         * > **Note:** `managed_resource_group_name` must be a new Resource Group
         * 
         * @return builder
         * 
         */
        public Builder managedResourceGroupName(String managedResourceGroupName) {
            return managedResourceGroupName(Output.of(managedResourceGroupName));
        }

        /**
         * @param managedResources A `managed_resources` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder managedResources(@Nullable Output> managedResources) {
            $.managedResources = managedResources;
            return this;
        }

        /**
         * @param managedResources A `managed_resources` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder managedResources(List managedResources) {
            return managedResources(Output.of(managedResources));
        }

        /**
         * @param managedResources A `managed_resources` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder managedResources(AccountManagedResourceArgs... managedResources) {
            return managedResources(List.of(managedResources));
        }

        /**
         * @param name The name which should be used for this Purview Account. Changing this forces a new Purview Account to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name which should be used for this Purview Account. Changing this forces a new Purview Account to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param publicNetworkEnabled Should the Purview Account be visible to the public network? Defaults to `true`.
         * 
         * @return builder
         * 
         */
        public Builder publicNetworkEnabled(@Nullable Output publicNetworkEnabled) {
            $.publicNetworkEnabled = publicNetworkEnabled;
            return this;
        }

        /**
         * @param publicNetworkEnabled Should the Purview Account be visible to the public network? Defaults to `true`.
         * 
         * @return builder
         * 
         */
        public Builder publicNetworkEnabled(Boolean publicNetworkEnabled) {
            return publicNetworkEnabled(Output.of(publicNetworkEnabled));
        }

        /**
         * @param resourceGroupName The name of the Resource Group where the Purview Account should exist. Changing this forces a new Purview Account to be created.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(@Nullable Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the Resource Group where the Purview Account should exist. Changing this forces a new Purview Account to be created.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param scanEndpoint Scan endpoint.
         * 
         * @return builder
         * 
         */
        public Builder scanEndpoint(@Nullable Output scanEndpoint) {
            $.scanEndpoint = scanEndpoint;
            return this;
        }

        /**
         * @param scanEndpoint Scan endpoint.
         * 
         * @return builder
         * 
         */
        public Builder scanEndpoint(String scanEndpoint) {
            return scanEndpoint(Output.of(scanEndpoint));
        }

        /**
         * @param tags A mapping of tags which should be assigned to the Purview Account.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags A mapping of tags which should be assigned to the Purview Account.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        public AccountState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy