Struct aws_sdk_ec2::operation::describe_vpc_attribute::builders::DescribeVpcAttributeOutputBuilder
source · #[non_exhaustive]pub struct DescribeVpcAttributeOutputBuilder { /* private fields */ }Expand description
A builder for DescribeVpcAttributeOutput.
Implementations§
source§impl DescribeVpcAttributeOutputBuilder
impl DescribeVpcAttributeOutputBuilder
sourcepub fn set_vpc_id(self, input: Option<String>) -> Self
pub fn set_vpc_id(self, input: Option<String>) -> Self
The ID of the VPC.
sourcepub fn get_vpc_id(&self) -> &Option<String>
pub fn get_vpc_id(&self) -> &Option<String>
The ID of the VPC.
sourcepub fn enable_dns_hostnames(self, input: AttributeBooleanValue) -> Self
pub fn enable_dns_hostnames(self, input: AttributeBooleanValue) -> Self
Indicates whether the instances launched in the VPC get DNS hostnames. If this attribute is true, instances in the VPC get DNS hostnames; otherwise, they do not.
sourcepub fn set_enable_dns_hostnames(
self,
input: Option<AttributeBooleanValue>,
) -> Self
pub fn set_enable_dns_hostnames( self, input: Option<AttributeBooleanValue>, ) -> Self
Indicates whether the instances launched in the VPC get DNS hostnames. If this attribute is true, instances in the VPC get DNS hostnames; otherwise, they do not.
sourcepub fn get_enable_dns_hostnames(&self) -> &Option<AttributeBooleanValue>
pub fn get_enable_dns_hostnames(&self) -> &Option<AttributeBooleanValue>
Indicates whether the instances launched in the VPC get DNS hostnames. If this attribute is true, instances in the VPC get DNS hostnames; otherwise, they do not.
sourcepub fn enable_dns_support(self, input: AttributeBooleanValue) -> Self
pub fn enable_dns_support(self, input: AttributeBooleanValue) -> Self
Indicates whether DNS resolution is enabled for the VPC. If this attribute is true, the Amazon DNS server resolves DNS hostnames for your instances to their corresponding IP addresses; otherwise, it does not.
sourcepub fn set_enable_dns_support(
self,
input: Option<AttributeBooleanValue>,
) -> Self
pub fn set_enable_dns_support( self, input: Option<AttributeBooleanValue>, ) -> Self
Indicates whether DNS resolution is enabled for the VPC. If this attribute is true, the Amazon DNS server resolves DNS hostnames for your instances to their corresponding IP addresses; otherwise, it does not.
sourcepub fn get_enable_dns_support(&self) -> &Option<AttributeBooleanValue>
pub fn get_enable_dns_support(&self) -> &Option<AttributeBooleanValue>
Indicates whether DNS resolution is enabled for the VPC. If this attribute is true, the Amazon DNS server resolves DNS hostnames for your instances to their corresponding IP addresses; otherwise, it does not.
sourcepub fn enable_network_address_usage_metrics(
self,
input: AttributeBooleanValue,
) -> Self
pub fn enable_network_address_usage_metrics( self, input: AttributeBooleanValue, ) -> Self
Indicates whether Network Address Usage metrics are enabled for your VPC.
sourcepub fn set_enable_network_address_usage_metrics(
self,
input: Option<AttributeBooleanValue>,
) -> Self
pub fn set_enable_network_address_usage_metrics( self, input: Option<AttributeBooleanValue>, ) -> Self
Indicates whether Network Address Usage metrics are enabled for your VPC.
sourcepub fn get_enable_network_address_usage_metrics(
&self,
) -> &Option<AttributeBooleanValue>
pub fn get_enable_network_address_usage_metrics( &self, ) -> &Option<AttributeBooleanValue>
Indicates whether Network Address Usage metrics are enabled for your VPC.
sourcepub fn build(self) -> DescribeVpcAttributeOutput
pub fn build(self) -> DescribeVpcAttributeOutput
Consumes the builder and constructs a DescribeVpcAttributeOutput.
Trait Implementations§
source§impl Clone for DescribeVpcAttributeOutputBuilder
impl Clone for DescribeVpcAttributeOutputBuilder
source§fn clone(&self) -> DescribeVpcAttributeOutputBuilder
fn clone(&self) -> DescribeVpcAttributeOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DescribeVpcAttributeOutputBuilder
impl Default for DescribeVpcAttributeOutputBuilder
source§fn default() -> DescribeVpcAttributeOutputBuilder
fn default() -> DescribeVpcAttributeOutputBuilder
source§impl PartialEq for DescribeVpcAttributeOutputBuilder
impl PartialEq for DescribeVpcAttributeOutputBuilder
source§fn eq(&self, other: &DescribeVpcAttributeOutputBuilder) -> bool
fn eq(&self, other: &DescribeVpcAttributeOutputBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DescribeVpcAttributeOutputBuilder
Auto Trait Implementations§
impl Freeze for DescribeVpcAttributeOutputBuilder
impl RefUnwindSafe for DescribeVpcAttributeOutputBuilder
impl Send for DescribeVpcAttributeOutputBuilder
impl Sync for DescribeVpcAttributeOutputBuilder
impl Unpin for DescribeVpcAttributeOutputBuilder
impl UnwindSafe for DescribeVpcAttributeOutputBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more