#[non_exhaustive]pub struct AwsEc2LaunchTemplateDataPlacementDetails { /* private fields */ }
Expand description
Provides details about the placement of an Amazon EC2 instance.
Implementations§
source§impl AwsEc2LaunchTemplateDataPlacementDetails
impl AwsEc2LaunchTemplateDataPlacementDetails
sourcepub fn affinity(&self) -> Option<&str>
pub fn affinity(&self) -> Option<&str>
The affinity setting for an instance on an EC2 Dedicated Host.
sourcepub fn availability_zone(&self) -> Option<&str>
pub fn availability_zone(&self) -> Option<&str>
The Availability Zone for the instance.
sourcepub fn group_name(&self) -> Option<&str>
pub fn group_name(&self) -> Option<&str>
The name of the placement group for the instance.
sourcepub fn host_resource_group_arn(&self) -> Option<&str>
pub fn host_resource_group_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the host resource group in which to launch the instances.
sourcepub fn partition_number(&self) -> i32
pub fn partition_number(&self) -> i32
The number of the partition the instance should launch in.
sourcepub fn spread_domain(&self) -> Option<&str>
pub fn spread_domain(&self) -> Option<&str>
Reserved for future use.
source§impl AwsEc2LaunchTemplateDataPlacementDetails
impl AwsEc2LaunchTemplateDataPlacementDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AwsEc2LaunchTemplateDataPlacementDetails
.
Trait Implementations§
source§impl Clone for AwsEc2LaunchTemplateDataPlacementDetails
impl Clone for AwsEc2LaunchTemplateDataPlacementDetails
source§fn clone(&self) -> AwsEc2LaunchTemplateDataPlacementDetails
fn clone(&self) -> AwsEc2LaunchTemplateDataPlacementDetails
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 PartialEq<AwsEc2LaunchTemplateDataPlacementDetails> for AwsEc2LaunchTemplateDataPlacementDetails
impl PartialEq<AwsEc2LaunchTemplateDataPlacementDetails> for AwsEc2LaunchTemplateDataPlacementDetails
source§fn eq(&self, other: &AwsEc2LaunchTemplateDataPlacementDetails) -> bool
fn eq(&self, other: &AwsEc2LaunchTemplateDataPlacementDetails) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.