com.pulumi.azure.hdinsight.outputs.HadoopClusterComputeIsolation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
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.
// *** 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.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class HadoopClusterComputeIsolation {
/**
* @return This field indicates whether enable compute isolation or not. Possible values are `true` or `false`.
*
*/
private @Nullable Boolean computeIsolationEnabled;
/**
* @return The name of the host SKU.
*
*/
private @Nullable String hostSku;
private HadoopClusterComputeIsolation() {}
/**
* @return This field indicates whether enable compute isolation or not. Possible values are `true` or `false`.
*
*/
public Optional computeIsolationEnabled() {
return Optional.ofNullable(this.computeIsolationEnabled);
}
/**
* @return The name of the host SKU.
*
*/
public Optional hostSku() {
return Optional.ofNullable(this.hostSku);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(HadoopClusterComputeIsolation defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Boolean computeIsolationEnabled;
private @Nullable String hostSku;
public Builder() {}
public Builder(HadoopClusterComputeIsolation defaults) {
Objects.requireNonNull(defaults);
this.computeIsolationEnabled = defaults.computeIsolationEnabled;
this.hostSku = defaults.hostSku;
}
@CustomType.Setter
public Builder computeIsolationEnabled(@Nullable Boolean computeIsolationEnabled) {
this.computeIsolationEnabled = computeIsolationEnabled;
return this;
}
@CustomType.Setter
public Builder hostSku(@Nullable String hostSku) {
this.hostSku = hostSku;
return this;
}
public HadoopClusterComputeIsolation build() {
final var _resultValue = new HadoopClusterComputeIsolation();
_resultValue.computeIsolationEnabled = computeIsolationEnabled;
_resultValue.hostSku = hostSku;
return _resultValue;
}
}
}