// *** 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.aws.redshift.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class GetClusterClusterNode {
    /**
     * @return Whether the node is a leader node or a compute node
     * 
     */
    private String nodeRole;
    /**
     * @return Private IP address of a node within a cluster
     * 
     */
    private String privateIpAddress;
    /**
     * @return Public IP address of a node within a cluster
     * 
     */
    private String publicIpAddress;

    private GetClusterClusterNode() {}
    /**
     * @return Whether the node is a leader node or a compute node
     * 
     */
    public String nodeRole() {
        return this.nodeRole;
    }
    /**
     * @return Private IP address of a node within a cluster
     * 
     */
    public String privateIpAddress() {
        return this.privateIpAddress;
    }
    /**
     * @return Public IP address of a node within a cluster
     * 
     */
    public String publicIpAddress() {
        return this.publicIpAddress;
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(GetClusterClusterNode defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String nodeRole;
        private String privateIpAddress;
        private String publicIpAddress;
        public Builder() {}
        public Builder(GetClusterClusterNode defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.nodeRole = defaults.nodeRole;
    	      this.privateIpAddress = defaults.privateIpAddress;
    	      this.publicIpAddress = defaults.publicIpAddress;
        }

        @CustomType.Setter
        public Builder nodeRole(String nodeRole) {
            this.nodeRole = Objects.requireNonNull(nodeRole);
            return this;
        }
        @CustomType.Setter
        public Builder privateIpAddress(String privateIpAddress) {
            this.privateIpAddress = Objects.requireNonNull(privateIpAddress);
            return this;
        }
        @CustomType.Setter
        public Builder publicIpAddress(String publicIpAddress) {
            this.publicIpAddress = Objects.requireNonNull(publicIpAddress);
            return this;
        }
        public GetClusterClusterNode build() {
            final var o = new GetClusterClusterNode();
            o.nodeRole = nodeRole;
            o.privateIpAddress = privateIpAddress;
            o.publicIpAddress = publicIpAddress;
            return o;
        }
    }
}
