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

com.pulumi.azure.hdinsight.inputs.HadoopClusterExtensionArgs 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.hdinsight.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


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

    public static final HadoopClusterExtensionArgs Empty = new HadoopClusterExtensionArgs();

    /**
     * The workspace ID of the log analytics extension.
     * 
     */
    @Import(name="logAnalyticsWorkspaceId", required=true)
    private Output logAnalyticsWorkspaceId;

    /**
     * @return The workspace ID of the log analytics extension.
     * 
     */
    public Output logAnalyticsWorkspaceId() {
        return this.logAnalyticsWorkspaceId;
    }

    /**
     * The workspace key of the log analytics extension.
     * 
     */
    @Import(name="primaryKey", required=true)
    private Output primaryKey;

    /**
     * @return The workspace key of the log analytics extension.
     * 
     */
    public Output primaryKey() {
        return this.primaryKey;
    }

    private HadoopClusterExtensionArgs() {}

    private HadoopClusterExtensionArgs(HadoopClusterExtensionArgs $) {
        this.logAnalyticsWorkspaceId = $.logAnalyticsWorkspaceId;
        this.primaryKey = $.primaryKey;
    }

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

    public static final class Builder {
        private HadoopClusterExtensionArgs $;

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

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

        /**
         * @param logAnalyticsWorkspaceId The workspace ID of the log analytics extension.
         * 
         * @return builder
         * 
         */
        public Builder logAnalyticsWorkspaceId(Output logAnalyticsWorkspaceId) {
            $.logAnalyticsWorkspaceId = logAnalyticsWorkspaceId;
            return this;
        }

        /**
         * @param logAnalyticsWorkspaceId The workspace ID of the log analytics extension.
         * 
         * @return builder
         * 
         */
        public Builder logAnalyticsWorkspaceId(String logAnalyticsWorkspaceId) {
            return logAnalyticsWorkspaceId(Output.of(logAnalyticsWorkspaceId));
        }

        /**
         * @param primaryKey The workspace key of the log analytics extension.
         * 
         * @return builder
         * 
         */
        public Builder primaryKey(Output primaryKey) {
            $.primaryKey = primaryKey;
            return this;
        }

        /**
         * @param primaryKey The workspace key of the log analytics extension.
         * 
         * @return builder
         * 
         */
        public Builder primaryKey(String primaryKey) {
            return primaryKey(Output.of(primaryKey));
        }

        public HadoopClusterExtensionArgs build() {
            if ($.logAnalyticsWorkspaceId == null) {
                throw new MissingRequiredPropertyException("HadoopClusterExtensionArgs", "logAnalyticsWorkspaceId");
            }
            if ($.primaryKey == null) {
                throw new MissingRequiredPropertyException("HadoopClusterExtensionArgs", "primaryKey");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy