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

com.pulumi.alicloud.emr.outputs.GetClustersClusterHostPoolInfo Maven / Gradle / Ivy

There is a newer version: 3.63.0-alpha.1727424957
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.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;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy