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

com.pulumi.azurenative.hdinsight.inputs.ComputeIsolationPropertiesArgs Maven / Gradle / Ivy

There is a newer version: 2.82.0
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.azurenative.hdinsight.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.core.internal.Codegen;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * The compute isolation properties.
 * 
 */
public final class ComputeIsolationPropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final ComputeIsolationPropertiesArgs Empty = new ComputeIsolationPropertiesArgs();

    /**
     * The flag indicates whether enable compute isolation or not.
     * 
     */
    @Import(name="enableComputeIsolation")
    private @Nullable Output enableComputeIsolation;

    /**
     * @return The flag indicates whether enable compute isolation or not.
     * 
     */
    public Optional> enableComputeIsolation() {
        return Optional.ofNullable(this.enableComputeIsolation);
    }

    /**
     * The host sku.
     * 
     */
    @Import(name="hostSku")
    private @Nullable Output hostSku;

    /**
     * @return The host sku.
     * 
     */
    public Optional> hostSku() {
        return Optional.ofNullable(this.hostSku);
    }

    private ComputeIsolationPropertiesArgs() {}

    private ComputeIsolationPropertiesArgs(ComputeIsolationPropertiesArgs $) {
        this.enableComputeIsolation = $.enableComputeIsolation;
        this.hostSku = $.hostSku;
    }

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

    public static final class Builder {
        private ComputeIsolationPropertiesArgs $;

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

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

        /**
         * @param enableComputeIsolation The flag indicates whether enable compute isolation or not.
         * 
         * @return builder
         * 
         */
        public Builder enableComputeIsolation(@Nullable Output enableComputeIsolation) {
            $.enableComputeIsolation = enableComputeIsolation;
            return this;
        }

        /**
         * @param enableComputeIsolation The flag indicates whether enable compute isolation or not.
         * 
         * @return builder
         * 
         */
        public Builder enableComputeIsolation(Boolean enableComputeIsolation) {
            return enableComputeIsolation(Output.of(enableComputeIsolation));
        }

        /**
         * @param hostSku The host sku.
         * 
         * @return builder
         * 
         */
        public Builder hostSku(@Nullable Output hostSku) {
            $.hostSku = hostSku;
            return this;
        }

        /**
         * @param hostSku The host sku.
         * 
         * @return builder
         * 
         */
        public Builder hostSku(String hostSku) {
            return hostSku(Output.of(hostSku));
        }

        public ComputeIsolationPropertiesArgs build() {
            $.enableComputeIsolation = Codegen.booleanProp("enableComputeIsolation").output().arg($.enableComputeIsolation).def(false).getNullable();
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy