com.pulumi.azure.hdinsight.outputs.HBaseClusterRoles 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.azure.hdinsight.outputs.HBaseClusterRolesHeadNode;
import com.pulumi.azure.hdinsight.outputs.HBaseClusterRolesWorkerNode;
import com.pulumi.azure.hdinsight.outputs.HBaseClusterRolesZookeeperNode;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.Objects;
@CustomType
public final class HBaseClusterRoles {
/**
* @return A `head_node` block as defined above.
*
*/
private HBaseClusterRolesHeadNode headNode;
/**
* @return A `worker_node` block as defined below.
*
*/
private HBaseClusterRolesWorkerNode workerNode;
/**
* @return A `zookeeper_node` block as defined below.
*
*/
private HBaseClusterRolesZookeeperNode zookeeperNode;
private HBaseClusterRoles() {}
/**
* @return A `head_node` block as defined above.
*
*/
public HBaseClusterRolesHeadNode headNode() {
return this.headNode;
}
/**
* @return A `worker_node` block as defined below.
*
*/
public HBaseClusterRolesWorkerNode workerNode() {
return this.workerNode;
}
/**
* @return A `zookeeper_node` block as defined below.
*
*/
public HBaseClusterRolesZookeeperNode zookeeperNode() {
return this.zookeeperNode;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(HBaseClusterRoles defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private HBaseClusterRolesHeadNode headNode;
private HBaseClusterRolesWorkerNode workerNode;
private HBaseClusterRolesZookeeperNode zookeeperNode;
public Builder() {}
public Builder(HBaseClusterRoles defaults) {
Objects.requireNonNull(defaults);
this.headNode = defaults.headNode;
this.workerNode = defaults.workerNode;
this.zookeeperNode = defaults.zookeeperNode;
}
@CustomType.Setter
public Builder headNode(HBaseClusterRolesHeadNode headNode) {
if (headNode == null) {
throw new MissingRequiredPropertyException("HBaseClusterRoles", "headNode");
}
this.headNode = headNode;
return this;
}
@CustomType.Setter
public Builder workerNode(HBaseClusterRolesWorkerNode workerNode) {
if (workerNode == null) {
throw new MissingRequiredPropertyException("HBaseClusterRoles", "workerNode");
}
this.workerNode = workerNode;
return this;
}
@CustomType.Setter
public Builder zookeeperNode(HBaseClusterRolesZookeeperNode zookeeperNode) {
if (zookeeperNode == null) {
throw new MissingRequiredPropertyException("HBaseClusterRoles", "zookeeperNode");
}
this.zookeeperNode = zookeeperNode;
return this;
}
public HBaseClusterRoles build() {
final var _resultValue = new HBaseClusterRoles();
_resultValue.headNode = headNode;
_resultValue.workerNode = workerNode;
_resultValue.zookeeperNode = zookeeperNode;
return _resultValue;
}
}
}