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

com.pulumi.azure.hdinsight.inputs.HadoopClusterPrivateLinkConfigurationIpConfigurationArgs 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.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final HadoopClusterPrivateLinkConfigurationIpConfigurationArgs Empty = new HadoopClusterPrivateLinkConfigurationIpConfigurationArgs();

    /**
     * Specifies the name for this HDInsight Hadoop Cluster. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="name", required=true)
    private Output name;

    /**
     * @return Specifies the name for this HDInsight Hadoop Cluster. Changing this forces a new resource to be created.
     * 
     */
    public Output name() {
        return this.name;
    }

    /**
     * Indicates whether this IP configuration is primary.
     * 
     */
    @Import(name="primary")
    private @Nullable Output primary;

    /**
     * @return Indicates whether this IP configuration is primary.
     * 
     */
    public Optional> primary() {
        return Optional.ofNullable(this.primary);
    }

    @Import(name="privateIpAddress")
    private @Nullable Output privateIpAddress;

    public Optional> privateIpAddress() {
        return Optional.ofNullable(this.privateIpAddress);
    }

    /**
     * The private IP allocation method. The only possible value now is `Dynamic`.
     * 
     */
    @Import(name="privateIpAllocationMethod")
    private @Nullable Output privateIpAllocationMethod;

    /**
     * @return The private IP allocation method. The only possible value now is `Dynamic`.
     * 
     */
    public Optional> privateIpAllocationMethod() {
        return Optional.ofNullable(this.privateIpAllocationMethod);
    }

    @Import(name="subnetId")
    private @Nullable Output subnetId;

    public Optional> subnetId() {
        return Optional.ofNullable(this.subnetId);
    }

    private HadoopClusterPrivateLinkConfigurationIpConfigurationArgs() {}

    private HadoopClusterPrivateLinkConfigurationIpConfigurationArgs(HadoopClusterPrivateLinkConfigurationIpConfigurationArgs $) {
        this.name = $.name;
        this.primary = $.primary;
        this.privateIpAddress = $.privateIpAddress;
        this.privateIpAllocationMethod = $.privateIpAllocationMethod;
        this.subnetId = $.subnetId;
    }

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

    public static final class Builder {
        private HadoopClusterPrivateLinkConfigurationIpConfigurationArgs $;

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

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

        /**
         * @param name Specifies the name for this HDInsight Hadoop Cluster. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Specifies the name for this HDInsight Hadoop Cluster. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param primary Indicates whether this IP configuration is primary.
         * 
         * @return builder
         * 
         */
        public Builder primary(@Nullable Output primary) {
            $.primary = primary;
            return this;
        }

        /**
         * @param primary Indicates whether this IP configuration is primary.
         * 
         * @return builder
         * 
         */
        public Builder primary(Boolean primary) {
            return primary(Output.of(primary));
        }

        public Builder privateIpAddress(@Nullable Output privateIpAddress) {
            $.privateIpAddress = privateIpAddress;
            return this;
        }

        public Builder privateIpAddress(String privateIpAddress) {
            return privateIpAddress(Output.of(privateIpAddress));
        }

        /**
         * @param privateIpAllocationMethod The private IP allocation method. The only possible value now is `Dynamic`.
         * 
         * @return builder
         * 
         */
        public Builder privateIpAllocationMethod(@Nullable Output privateIpAllocationMethod) {
            $.privateIpAllocationMethod = privateIpAllocationMethod;
            return this;
        }

        /**
         * @param privateIpAllocationMethod The private IP allocation method. The only possible value now is `Dynamic`.
         * 
         * @return builder
         * 
         */
        public Builder privateIpAllocationMethod(String privateIpAllocationMethod) {
            return privateIpAllocationMethod(Output.of(privateIpAllocationMethod));
        }

        public Builder subnetId(@Nullable Output subnetId) {
            $.subnetId = subnetId;
            return this;
        }

        public Builder subnetId(String subnetId) {
            return subnetId(Output.of(subnetId));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy