Struct aws_sdk_ec2::types::builders::InstanceTopologyBuilder
source · #[non_exhaustive]pub struct InstanceTopologyBuilder { /* private fields */ }
Expand description
A builder for InstanceTopology
.
Implementations§
source§impl InstanceTopologyBuilder
impl InstanceTopologyBuilder
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The instance ID.
sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The instance ID.
sourcepub fn get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &Option<String>
The instance ID.
sourcepub fn instance_type(self, input: impl Into<String>) -> Self
pub fn instance_type(self, input: impl Into<String>) -> Self
The instance type.
sourcepub fn set_instance_type(self, input: Option<String>) -> Self
pub fn set_instance_type(self, input: Option<String>) -> Self
The instance type.
sourcepub fn get_instance_type(&self) -> &Option<String>
pub fn get_instance_type(&self) -> &Option<String>
The instance type.
sourcepub fn group_name(self, input: impl Into<String>) -> Self
pub fn group_name(self, input: impl Into<String>) -> Self
The name of the placement group that the instance is in.
sourcepub fn set_group_name(self, input: Option<String>) -> Self
pub fn set_group_name(self, input: Option<String>) -> Self
The name of the placement group that the instance is in.
sourcepub fn get_group_name(&self) -> &Option<String>
pub fn get_group_name(&self) -> &Option<String>
The name of the placement group that the instance is in.
sourcepub fn network_nodes(self, input: impl Into<String>) -> Self
pub fn network_nodes(self, input: impl Into<String>) -> Self
Appends an item to network_nodes
.
To override the contents of this collection use set_network_nodes
.
The network nodes. The nodes are hashed based on your account. Instances from different accounts running under the same droplet will return a different hashed list of strings.
sourcepub fn set_network_nodes(self, input: Option<Vec<String>>) -> Self
pub fn set_network_nodes(self, input: Option<Vec<String>>) -> Self
The network nodes. The nodes are hashed based on your account. Instances from different accounts running under the same droplet will return a different hashed list of strings.
sourcepub fn get_network_nodes(&self) -> &Option<Vec<String>>
pub fn get_network_nodes(&self) -> &Option<Vec<String>>
The network nodes. The nodes are hashed based on your account. Instances from different accounts running under the same droplet will return a different hashed list of strings.
sourcepub fn availability_zone(self, input: impl Into<String>) -> Self
pub fn availability_zone(self, input: impl Into<String>) -> Self
The name of the Availability Zone or Local Zone that the instance is in.
sourcepub fn set_availability_zone(self, input: Option<String>) -> Self
pub fn set_availability_zone(self, input: Option<String>) -> Self
The name of the Availability Zone or Local Zone that the instance is in.
sourcepub fn get_availability_zone(&self) -> &Option<String>
pub fn get_availability_zone(&self) -> &Option<String>
The name of the Availability Zone or Local Zone that the instance is in.
sourcepub fn zone_id(self, input: impl Into<String>) -> Self
pub fn zone_id(self, input: impl Into<String>) -> Self
The ID of the Availability Zone or Local Zone that the instance is in.
sourcepub fn set_zone_id(self, input: Option<String>) -> Self
pub fn set_zone_id(self, input: Option<String>) -> Self
The ID of the Availability Zone or Local Zone that the instance is in.
sourcepub fn get_zone_id(&self) -> &Option<String>
pub fn get_zone_id(&self) -> &Option<String>
The ID of the Availability Zone or Local Zone that the instance is in.
sourcepub fn build(self) -> InstanceTopology
pub fn build(self) -> InstanceTopology
Consumes the builder and constructs a InstanceTopology
.
Trait Implementations§
source§impl Clone for InstanceTopologyBuilder
impl Clone for InstanceTopologyBuilder
source§fn clone(&self) -> InstanceTopologyBuilder
fn clone(&self) -> InstanceTopologyBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InstanceTopologyBuilder
impl Debug for InstanceTopologyBuilder
source§impl Default for InstanceTopologyBuilder
impl Default for InstanceTopologyBuilder
source§fn default() -> InstanceTopologyBuilder
fn default() -> InstanceTopologyBuilder
source§impl PartialEq for InstanceTopologyBuilder
impl PartialEq for InstanceTopologyBuilder
source§fn eq(&self, other: &InstanceTopologyBuilder) -> bool
fn eq(&self, other: &InstanceTopologyBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.