Class CfnLocationHDFSPropsMixin.NameNodeProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.datasync.CfnLocationHDFSPropsMixin.NameNodeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLocationHDFSPropsMixin.NameNodeProperty>
- Enclosing interface:
CfnLocationHDFSPropsMixin.NameNodeProperty
@Stability(Stable)
public static final class CfnLocationHDFSPropsMixin.NameNodeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLocationHDFSPropsMixin.NameNodeProperty>
A builder for
CfnLocationHDFSPropsMixin.NameNodeProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnLocationHDFSPropsMixin.NameNodeProperty.getHostname()Sets the value ofCfnLocationHDFSPropsMixin.NameNodeProperty.getPort()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
hostname
@Stability(Stable) public CfnLocationHDFSPropsMixin.NameNodeProperty.Builder hostname(String hostname) Sets the value ofCfnLocationHDFSPropsMixin.NameNodeProperty.getHostname()- Parameters:
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.- Returns:
this
-
port
Sets the value ofCfnLocationHDFSPropsMixin.NameNodeProperty.getPort()- Parameters:
port- The port that the NameNode uses to listen to client requests.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLocationHDFSPropsMixin.NameNodeProperty>- Returns:
- a new instance of
CfnLocationHDFSPropsMixin.NameNodeProperty - Throws:
NullPointerException- if any required attribute was not provided
-