Struct aws_sdk_ec2::operation::describe_vpc_attribute::builders::DescribeVpcAttributeInputBuilder
source · #[non_exhaustive]pub struct DescribeVpcAttributeInputBuilder { /* private fields */ }Expand description
A builder for DescribeVpcAttributeInput.
Implementations§
source§impl DescribeVpcAttributeInputBuilder
impl DescribeVpcAttributeInputBuilder
sourcepub fn attribute(self, input: VpcAttributeName) -> Self
pub fn attribute(self, input: VpcAttributeName) -> Self
The VPC attribute.
sourcepub fn set_attribute(self, input: Option<VpcAttributeName>) -> Self
pub fn set_attribute(self, input: Option<VpcAttributeName>) -> Self
The VPC attribute.
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 dry_run(self, input: bool) -> Self
pub fn dry_run(self, input: bool) -> Self
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.
sourcepub fn set_dry_run(self, input: Option<bool>) -> Self
pub fn set_dry_run(self, input: Option<bool>) -> Self
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.
sourcepub fn build(self) -> Result<DescribeVpcAttributeInput, BuildError>
pub fn build(self) -> Result<DescribeVpcAttributeInput, BuildError>
Consumes the builder and constructs a DescribeVpcAttributeInput.
Trait Implementations§
source§impl Clone for DescribeVpcAttributeInputBuilder
impl Clone for DescribeVpcAttributeInputBuilder
source§fn clone(&self) -> DescribeVpcAttributeInputBuilder
fn clone(&self) -> DescribeVpcAttributeInputBuilder
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 Default for DescribeVpcAttributeInputBuilder
impl Default for DescribeVpcAttributeInputBuilder
source§fn default() -> DescribeVpcAttributeInputBuilder
fn default() -> DescribeVpcAttributeInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<DescribeVpcAttributeInputBuilder> for DescribeVpcAttributeInputBuilder
impl PartialEq<DescribeVpcAttributeInputBuilder> for DescribeVpcAttributeInputBuilder
source§fn eq(&self, other: &DescribeVpcAttributeInputBuilder) -> bool
fn eq(&self, other: &DescribeVpcAttributeInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.