Struct aws_sdk_datasync::model::hdfs_name_node::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for HdfsNameNode
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn hostname(self, input: impl Into<String>) -> Self
pub fn hostname(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_hostname(self, input: Option<String>) -> Self
pub fn set_hostname(self, input: Option<String>) -> Self
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.
sourcepub fn port(self, input: i32) -> Self
pub fn port(self, input: i32) -> Self
The port that the NameNode uses to listen to client requests.
sourcepub fn set_port(self, input: Option<i32>) -> Self
pub fn set_port(self, input: Option<i32>) -> Self
The port that the NameNode uses to listen to client requests.
sourcepub fn build(self) -> HdfsNameNode
pub fn build(self) -> HdfsNameNode
Consumes the builder and constructs a HdfsNameNode
.