com.pulumi.azure.hdinsight.outputs.KafkaClusterComputeIsolation Maven / Gradle / Ivy
// *** 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 KafkaClusterComputeIsolation {
/**
* @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 KafkaClusterComputeIsolation() {}
/**
* @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(KafkaClusterComputeIsolation defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Boolean computeIsolationEnabled;
private @Nullable String hostSku;
public Builder() {}
public Builder(KafkaClusterComputeIsolation 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 KafkaClusterComputeIsolation build() {
final var _resultValue = new KafkaClusterComputeIsolation();
_resultValue.computeIsolationEnabled = computeIsolationEnabled;
_resultValue.hostSku = hostSku;
return _resultValue;
}
}
}