#[non_exhaustive]pub struct HostPropertiesRequestBuilder { /* private fields */ }Expand description
A builder for HostPropertiesRequest.
Implementations§
source§impl HostPropertiesRequestBuilder
impl HostPropertiesRequestBuilder
sourcepub fn ip_addresses(self, input: IpAddresses) -> Self
pub fn ip_addresses(self, input: IpAddresses) -> Self
The IP address of the host.
sourcepub fn set_ip_addresses(self, input: Option<IpAddresses>) -> Self
pub fn set_ip_addresses(self, input: Option<IpAddresses>) -> Self
The IP address of the host.
sourcepub fn get_ip_addresses(&self) -> &Option<IpAddresses>
pub fn get_ip_addresses(&self) -> &Option<IpAddresses>
The IP address of the host.
sourcepub fn set_host_name(self, input: Option<String>) -> Self
pub fn set_host_name(self, input: Option<String>) -> Self
The host name.
sourcepub fn get_host_name(&self) -> &Option<String>
pub fn get_host_name(&self) -> &Option<String>
The host name.
sourcepub fn build(self) -> HostPropertiesRequest
pub fn build(self) -> HostPropertiesRequest
Consumes the builder and constructs a HostPropertiesRequest.
Trait Implementations§
source§impl Clone for HostPropertiesRequestBuilder
impl Clone for HostPropertiesRequestBuilder
source§fn clone(&self) -> HostPropertiesRequestBuilder
fn clone(&self) -> HostPropertiesRequestBuilder
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 HostPropertiesRequestBuilder
impl Debug for HostPropertiesRequestBuilder
source§impl Default for HostPropertiesRequestBuilder
impl Default for HostPropertiesRequestBuilder
source§fn default() -> HostPropertiesRequestBuilder
fn default() -> HostPropertiesRequestBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for HostPropertiesRequestBuilder
impl PartialEq for HostPropertiesRequestBuilder
source§fn eq(&self, other: &HostPropertiesRequestBuilder) -> bool
fn eq(&self, other: &HostPropertiesRequestBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for HostPropertiesRequestBuilder
Auto Trait Implementations§
impl Freeze for HostPropertiesRequestBuilder
impl RefUnwindSafe for HostPropertiesRequestBuilder
impl Send for HostPropertiesRequestBuilder
impl Sync for HostPropertiesRequestBuilder
impl Unpin for HostPropertiesRequestBuilder
impl UnwindSafe for HostPropertiesRequestBuilder
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.