com.pulumi.alicloud.emr.outputs.GetClustersClusterHostPoolInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alicloud Show documentation
Show all versions of alicloud Show documentation
A Pulumi package for creating and managing AliCloud resources.
// *** 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.alicloud.emr.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetClustersClusterHostPoolInfo {
/**
* @return Machine pool ID.
*
*/
private String hpBizId;
/**
* @return The name of the machine pool.
*
*/
private String hpName;
private GetClustersClusterHostPoolInfo() {}
/**
* @return Machine pool ID.
*
*/
public String hpBizId() {
return this.hpBizId;
}
/**
* @return The name of the machine pool.
*
*/
public String hpName() {
return this.hpName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetClustersClusterHostPoolInfo defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String hpBizId;
private String hpName;
public Builder() {}
public Builder(GetClustersClusterHostPoolInfo defaults) {
Objects.requireNonNull(defaults);
this.hpBizId = defaults.hpBizId;
this.hpName = defaults.hpName;
}
@CustomType.Setter
public Builder hpBizId(String hpBizId) {
if (hpBizId == null) {
throw new MissingRequiredPropertyException("GetClustersClusterHostPoolInfo", "hpBizId");
}
this.hpBizId = hpBizId;
return this;
}
@CustomType.Setter
public Builder hpName(String hpName) {
if (hpName == null) {
throw new MissingRequiredPropertyException("GetClustersClusterHostPoolInfo", "hpName");
}
this.hpName = hpName;
return this;
}
public GetClustersClusterHostPoolInfo build() {
final var _resultValue = new GetClustersClusterHostPoolInfo();
_resultValue.hpBizId = hpBizId;
_resultValue.hpName = hpName;
return _resultValue;
}
}
}