Struct aws_sdk_ec2::types::builders::ClassicLinkInstanceBuilder
source · #[non_exhaustive]pub struct ClassicLinkInstanceBuilder { /* private fields */ }Expand description
A builder for ClassicLinkInstance.
Implementations§
source§impl ClassicLinkInstanceBuilder
impl ClassicLinkInstanceBuilder
sourcepub fn groups(self, input: GroupIdentifier) -> Self
pub fn groups(self, input: GroupIdentifier) -> Self
Appends an item to groups.
To override the contents of this collection use set_groups.
A list of security groups.
sourcepub fn set_groups(self, input: Option<Vec<GroupIdentifier>>) -> Self
pub fn set_groups(self, input: Option<Vec<GroupIdentifier>>) -> Self
A list of security groups.
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The ID of the instance.
sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The ID of the instance.
Appends an item to tags.
To override the contents of this collection use set_tags.
Any tags assigned to the instance.
Any tags assigned to the instance.
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 build(self) -> ClassicLinkInstance
pub fn build(self) -> ClassicLinkInstance
Consumes the builder and constructs a ClassicLinkInstance.
Trait Implementations§
source§impl Clone for ClassicLinkInstanceBuilder
impl Clone for ClassicLinkInstanceBuilder
source§fn clone(&self) -> ClassicLinkInstanceBuilder
fn clone(&self) -> ClassicLinkInstanceBuilder
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 ClassicLinkInstanceBuilder
impl Debug for ClassicLinkInstanceBuilder
source§impl Default for ClassicLinkInstanceBuilder
impl Default for ClassicLinkInstanceBuilder
source§fn default() -> ClassicLinkInstanceBuilder
fn default() -> ClassicLinkInstanceBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ClassicLinkInstanceBuilder> for ClassicLinkInstanceBuilder
impl PartialEq<ClassicLinkInstanceBuilder> for ClassicLinkInstanceBuilder
source§fn eq(&self, other: &ClassicLinkInstanceBuilder) -> bool
fn eq(&self, other: &ClassicLinkInstanceBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.