Struct aws_sdk_ec2::types::builders::DhcpConfigurationBuilder
source · #[non_exhaustive]pub struct DhcpConfigurationBuilder { /* private fields */ }
Expand description
A builder for DhcpConfiguration
.
Implementations§
source§impl DhcpConfigurationBuilder
impl DhcpConfigurationBuilder
sourcepub fn values(self, input: AttributeValue) -> Self
pub fn values(self, input: AttributeValue) -> Self
Appends an item to values
.
To override the contents of this collection use set_values
.
The values for the DHCP option.
sourcepub fn set_values(self, input: Option<Vec<AttributeValue>>) -> Self
pub fn set_values(self, input: Option<Vec<AttributeValue>>) -> Self
The values for the DHCP option.
sourcepub fn get_values(&self) -> &Option<Vec<AttributeValue>>
pub fn get_values(&self) -> &Option<Vec<AttributeValue>>
The values for the DHCP option.
sourcepub fn build(self) -> DhcpConfiguration
pub fn build(self) -> DhcpConfiguration
Consumes the builder and constructs a DhcpConfiguration
.
Trait Implementations§
source§impl Clone for DhcpConfigurationBuilder
impl Clone for DhcpConfigurationBuilder
source§fn clone(&self) -> DhcpConfigurationBuilder
fn clone(&self) -> DhcpConfigurationBuilder
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 DhcpConfigurationBuilder
impl Debug for DhcpConfigurationBuilder
source§impl Default for DhcpConfigurationBuilder
impl Default for DhcpConfigurationBuilder
source§fn default() -> DhcpConfigurationBuilder
fn default() -> DhcpConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DhcpConfigurationBuilder
impl PartialEq for DhcpConfigurationBuilder
source§fn eq(&self, other: &DhcpConfigurationBuilder) -> bool
fn eq(&self, other: &DhcpConfigurationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DhcpConfigurationBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DhcpConfigurationBuilder
impl Send for DhcpConfigurationBuilder
impl Sync for DhcpConfigurationBuilder
impl Unpin for DhcpConfigurationBuilder
impl UnwindSafe for DhcpConfigurationBuilder
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.