Struct aws_sdk_datasync::types::builders::HdfsNameNodeBuilder
source · #[non_exhaustive]pub struct HdfsNameNodeBuilder { /* private fields */ }
Expand description
A builder for HdfsNameNode
.
Implementations§
source§impl HdfsNameNodeBuilder
impl HdfsNameNodeBuilder
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.
This field is required.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 get_hostname(&self) -> &Option<String>
pub fn get_hostname(&self) -> &Option<String>
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.
This field is required.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 get_port(&self) -> &Option<i32>
pub fn get_port(&self) -> &Option<i32>
The port that the NameNode uses to listen to client requests.
sourcepub fn build(self) -> Result<HdfsNameNode, BuildError>
pub fn build(self) -> Result<HdfsNameNode, BuildError>
Consumes the builder and constructs a HdfsNameNode
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for HdfsNameNodeBuilder
impl Clone for HdfsNameNodeBuilder
source§fn clone(&self) -> HdfsNameNodeBuilder
fn clone(&self) -> HdfsNameNodeBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for HdfsNameNodeBuilder
impl Debug for HdfsNameNodeBuilder
source§impl Default for HdfsNameNodeBuilder
impl Default for HdfsNameNodeBuilder
source§fn default() -> HdfsNameNodeBuilder
fn default() -> HdfsNameNodeBuilder
source§impl PartialEq for HdfsNameNodeBuilder
impl PartialEq for HdfsNameNodeBuilder
impl StructuralPartialEq for HdfsNameNodeBuilder
Auto Trait Implementations§
impl Freeze for HdfsNameNodeBuilder
impl RefUnwindSafe for HdfsNameNodeBuilder
impl Send for HdfsNameNodeBuilder
impl Sync for HdfsNameNodeBuilder
impl Unpin for HdfsNameNodeBuilder
impl UnwindSafe for HdfsNameNodeBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more