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 ==
.