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

com.pulumi.aws.datasync.inputs.LocationHdfsNameNodeArgs 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.aws.datasync.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;


public final class LocationHdfsNameNodeArgs extends com.pulumi.resources.ResourceArgs {

    public static final LocationHdfsNameNodeArgs Empty = new LocationHdfsNameNodeArgs();

    /**
     * The hostname of the NameNode in the HDFS cluster. This value is the IP address or Domain Name Service (DNS) name of the NameNode. An agent that's installed on-premises uses this hostname to communicate with the NameNode in the network.
     * 
     */
    @Import(name="hostname", required=true)
    private Output hostname;

    /**
     * @return The hostname of the NameNode in the HDFS cluster. This value is the IP address or Domain Name Service (DNS) name of the NameNode. An agent that's installed on-premises uses this hostname to communicate with the NameNode in the network.
     * 
     */
    public Output hostname() {
        return this.hostname;
    }

    /**
     * The port that the NameNode uses to listen to client requests.
     * 
     */
    @Import(name="port", required=true)
    private Output port;

    /**
     * @return The port that the NameNode uses to listen to client requests.
     * 
     */
    public Output port() {
        return this.port;
    }

    private LocationHdfsNameNodeArgs() {}

    private LocationHdfsNameNodeArgs(LocationHdfsNameNodeArgs $) {
        this.hostname = $.hostname;
        this.port = $.port;
    }

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

    public static final class Builder {
        private LocationHdfsNameNodeArgs $;

        public Builder() {
            $ = new LocationHdfsNameNodeArgs();
        }

        public Builder(LocationHdfsNameNodeArgs defaults) {
            $ = new LocationHdfsNameNodeArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param hostname The hostname of the NameNode in the HDFS cluster. This value is the IP address or Domain Name Service (DNS) name of the NameNode. An agent that's installed on-premises uses this hostname to communicate with the NameNode in the network.
         * 
         * @return builder
         * 
         */
        public Builder hostname(Output hostname) {
            $.hostname = hostname;
            return this;
        }

        /**
         * @param hostname The hostname of the NameNode in the HDFS cluster. This value is the IP address or Domain Name Service (DNS) name of the NameNode. An agent that's installed on-premises uses this hostname to communicate with the NameNode in the network.
         * 
         * @return builder
         * 
         */
        public Builder hostname(String hostname) {
            return hostname(Output.of(hostname));
        }

        /**
         * @param port The port that the NameNode uses to listen to client requests.
         * 
         * @return builder
         * 
         */
        public Builder port(Output port) {
            $.port = port;
            return this;
        }

        /**
         * @param port The port that the NameNode uses to listen to client requests.
         * 
         * @return builder
         * 
         */
        public Builder port(Integer port) {
            return port(Output.of(port));
        }

        public LocationHdfsNameNodeArgs build() {
            if ($.hostname == null) {
                throw new MissingRequiredPropertyException("LocationHdfsNameNodeArgs", "hostname");
            }
            if ($.port == null) {
                throw new MissingRequiredPropertyException("LocationHdfsNameNodeArgs", "port");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy