#[non_exhaustive]pub struct AssociateDhcpOptionsInput {
pub dhcp_options_id: Option<String>,
pub vpc_id: Option<String>,
pub dry_run: Option<bool>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.dhcp_options_id: Option<String>
The ID of the DHCP options set, or default
to associate no DHCP options with the VPC.
vpc_id: Option<String>
The ID of the VPC.
dry_run: Option<bool>
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
Implementations§
source§impl AssociateDhcpOptionsInput
impl AssociateDhcpOptionsInput
sourcepub fn dhcp_options_id(&self) -> Option<&str>
pub fn dhcp_options_id(&self) -> Option<&str>
The ID of the DHCP options set, or default
to associate no DHCP options with the VPC.
source§impl AssociateDhcpOptionsInput
impl AssociateDhcpOptionsInput
sourcepub fn builder() -> AssociateDhcpOptionsInputBuilder
pub fn builder() -> AssociateDhcpOptionsInputBuilder
Creates a new builder-style object to manufacture AssociateDhcpOptionsInput
.
Trait Implementations§
source§impl Clone for AssociateDhcpOptionsInput
impl Clone for AssociateDhcpOptionsInput
source§fn clone(&self) -> AssociateDhcpOptionsInput
fn clone(&self) -> AssociateDhcpOptionsInput
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 AssociateDhcpOptionsInput
impl Debug for AssociateDhcpOptionsInput
source§impl PartialEq<AssociateDhcpOptionsInput> for AssociateDhcpOptionsInput
impl PartialEq<AssociateDhcpOptionsInput> for AssociateDhcpOptionsInput
source§fn eq(&self, other: &AssociateDhcpOptionsInput) -> bool
fn eq(&self, other: &AssociateDhcpOptionsInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AssociateDhcpOptionsInput
Auto Trait Implementations§
impl RefUnwindSafe for AssociateDhcpOptionsInput
impl Send for AssociateDhcpOptionsInput
impl Sync for AssociateDhcpOptionsInput
impl Unpin for AssociateDhcpOptionsInput
impl UnwindSafe for AssociateDhcpOptionsInput
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