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

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


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

    public static final KafkaClusterNetworkArgs Empty = new KafkaClusterNetworkArgs();

    /**
     * The direction of the resource provider connection. Possible values include `Inbound` or `Outbound`. Defaults to `Inbound`. Changing this forces a new resource to be created.
     * 
     * > **NOTE:** To enabled the private link the `connection_direction` must be set to `Outbound`.
     * 
     */
    @Import(name="connectionDirection")
    private @Nullable Output connectionDirection;

    /**
     * @return The direction of the resource provider connection. Possible values include `Inbound` or `Outbound`. Defaults to `Inbound`. Changing this forces a new resource to be created.
     * 
     * > **NOTE:** To enabled the private link the `connection_direction` must be set to `Outbound`.
     * 
     */
    public Optional> connectionDirection() {
        return Optional.ofNullable(this.connectionDirection);
    }

    /**
     * Is the private link enabled? Possible values include `true` or `false`. Defaults to `false`. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="privateLinkEnabled")
    private @Nullable Output privateLinkEnabled;

    /**
     * @return Is the private link enabled? Possible values include `true` or `false`. Defaults to `false`. Changing this forces a new resource to be created.
     * 
     */
    public Optional> privateLinkEnabled() {
        return Optional.ofNullable(this.privateLinkEnabled);
    }

    private KafkaClusterNetworkArgs() {}

    private KafkaClusterNetworkArgs(KafkaClusterNetworkArgs $) {
        this.connectionDirection = $.connectionDirection;
        this.privateLinkEnabled = $.privateLinkEnabled;
    }

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

    public static final class Builder {
        private KafkaClusterNetworkArgs $;

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

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

        /**
         * @param connectionDirection The direction of the resource provider connection. Possible values include `Inbound` or `Outbound`. Defaults to `Inbound`. Changing this forces a new resource to be created.
         * 
         * > **NOTE:** To enabled the private link the `connection_direction` must be set to `Outbound`.
         * 
         * @return builder
         * 
         */
        public Builder connectionDirection(@Nullable Output connectionDirection) {
            $.connectionDirection = connectionDirection;
            return this;
        }

        /**
         * @param connectionDirection The direction of the resource provider connection. Possible values include `Inbound` or `Outbound`. Defaults to `Inbound`. Changing this forces a new resource to be created.
         * 
         * > **NOTE:** To enabled the private link the `connection_direction` must be set to `Outbound`.
         * 
         * @return builder
         * 
         */
        public Builder connectionDirection(String connectionDirection) {
            return connectionDirection(Output.of(connectionDirection));
        }

        /**
         * @param privateLinkEnabled Is the private link enabled? Possible values include `true` or `false`. Defaults to `false`. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder privateLinkEnabled(@Nullable Output privateLinkEnabled) {
            $.privateLinkEnabled = privateLinkEnabled;
            return this;
        }

        /**
         * @param privateLinkEnabled Is the private link enabled? Possible values include `true` or `false`. Defaults to `false`. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder privateLinkEnabled(Boolean privateLinkEnabled) {
            return privateLinkEnabled(Output.of(privateLinkEnabled));
        }

        public KafkaClusterNetworkArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy