Struct aws_sdk_ecs::types::builders::HostEntryBuilder
source · #[non_exhaustive]pub struct HostEntryBuilder { /* private fields */ }Expand description
A builder for HostEntry.
Implementations§
source§impl HostEntryBuilder
impl HostEntryBuilder
sourcepub fn hostname(self, input: impl Into<String>) -> Self
pub fn hostname(self, input: impl Into<String>) -> Self
The hostname to use in the /etc/hosts entry.
sourcepub fn set_hostname(self, input: Option<String>) -> Self
pub fn set_hostname(self, input: Option<String>) -> Self
The hostname to use in the /etc/hosts entry.
sourcepub fn ip_address(self, input: impl Into<String>) -> Self
pub fn ip_address(self, input: impl Into<String>) -> Self
The IP address to use in the /etc/hosts entry.
sourcepub fn set_ip_address(self, input: Option<String>) -> Self
pub fn set_ip_address(self, input: Option<String>) -> Self
The IP address to use in the /etc/hosts entry.
Trait Implementations§
source§impl Clone for HostEntryBuilder
impl Clone for HostEntryBuilder
source§fn clone(&self) -> HostEntryBuilder
fn clone(&self) -> HostEntryBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for HostEntryBuilder
impl Debug for HostEntryBuilder
source§impl Default for HostEntryBuilder
impl Default for HostEntryBuilder
source§fn default() -> HostEntryBuilder
fn default() -> HostEntryBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<HostEntryBuilder> for HostEntryBuilder
impl PartialEq<HostEntryBuilder> for HostEntryBuilder
source§fn eq(&self, other: &HostEntryBuilder) -> bool
fn eq(&self, other: &HostEntryBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.