public static final class CfnLocationHDFS.NameNodeProperty.Builder
extends java.lang.Object
CfnLocationHDFS.NameNodeProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnLocationHDFS.NameNodeProperty |
build()
Builds the configured instance.
|
CfnLocationHDFS.NameNodeProperty.Builder |
hostname(java.lang.String hostname)
Sets the value of
CfnLocationHDFS.NameNodeProperty.getHostname() |
CfnLocationHDFS.NameNodeProperty.Builder |
port(java.lang.Number port)
Sets the value of
CfnLocationHDFS.NameNodeProperty.getPort() |
public CfnLocationHDFS.NameNodeProperty.Builder hostname(java.lang.String hostname)
CfnLocationHDFS.NameNodeProperty.getHostname()
hostname
- The hostname of the NameNode in the HDFS cluster. This parameter is required.
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.this
public CfnLocationHDFS.NameNodeProperty.Builder port(java.lang.Number port)
CfnLocationHDFS.NameNodeProperty.getPort()
port
- The port that the NameNode uses to listen to client requests. This parameter is required.this
public CfnLocationHDFS.NameNodeProperty build()
CfnLocationHDFS.NameNodeProperty
java.lang.NullPointerException
- if any required attribute was not provided