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
.
The security groups.
sourcepub fn set_groups(self, input: Option<Vec<GroupIdentifier>>) -> Self
pub fn set_groups(self, input: Option<Vec<GroupIdentifier>>) -> Self
The security groups.
sourcepub fn get_groups(&self) -> &Option<Vec<GroupIdentifier>>
pub fn get_groups(&self) -> &Option<Vec<GroupIdentifier>>
The 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.
sourcepub fn get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &Option<String>
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.
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 get_vpc_id(&self) -> &Option<String>
pub fn get_vpc_id(&self) -> &Option<String>
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 ==
.impl StructuralPartialEq for ClassicLinkInstanceBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ClassicLinkInstanceBuilder
impl Send for ClassicLinkInstanceBuilder
impl Sync for ClassicLinkInstanceBuilder
impl Unpin for ClassicLinkInstanceBuilder
impl UnwindSafe for ClassicLinkInstanceBuilder
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