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 get_hostname(&self) -> &Option<String>
 
pub fn get_hostname(&self) -> &Option<String>
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.
sourcepub fn get_ip_address(&self) -> &Option<String>
 
pub fn get_ip_address(&self) -> &Option<String>
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 for HostEntryBuilder
 
impl PartialEq 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 ==.impl StructuralPartialEq for HostEntryBuilder
Auto Trait Implementations§
impl Freeze for HostEntryBuilder
impl RefUnwindSafe for HostEntryBuilder
impl Send for HostEntryBuilder
impl Sync for HostEntryBuilder
impl Unpin for HostEntryBuilder
impl UnwindSafe for HostEntryBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.