Struct aws_sdk_ec2::model::LaunchTemplatePlacementRequest
source · [−]#[non_exhaustive]pub struct LaunchTemplatePlacementRequest { /* private fields */ }
Expand description
Describes the placement of an instance.
Implementations
sourceimpl LaunchTemplatePlacementRequest
impl LaunchTemplatePlacementRequest
sourcepub fn availability_zone(&self) -> Option<&str>
pub fn availability_zone(&self) -> Option<&str>
The Availability Zone for the instance.
sourcepub fn affinity(&self) -> Option<&str>
pub fn affinity(&self) -> Option<&str>
The affinity setting for an instance on a Dedicated Host.
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 tenancy(&self) -> Option<&Tenancy>
pub fn tenancy(&self) -> Option<&Tenancy>
The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of dedicated runs on single-tenant hardware.
sourcepub fn spread_domain(&self) -> Option<&str>
pub fn spread_domain(&self) -> Option<&str>
Reserved for future use.
sourcepub fn host_resource_group_arn(&self) -> Option<&str>
pub fn host_resource_group_arn(&self) -> Option<&str>
The ARN of the host resource group in which to launch the instances. If you specify a host resource group ARN, omit the Tenancy parameter or set it to host
.
sourcepub fn partition_number(&self) -> Option<i32>
pub fn partition_number(&self) -> Option<i32>
The number of the partition the instance should launch in. Valid only if the placement group strategy is set to partition
.
sourceimpl LaunchTemplatePlacementRequest
impl LaunchTemplatePlacementRequest
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture LaunchTemplatePlacementRequest
.
Trait Implementations
sourceimpl Clone for LaunchTemplatePlacementRequest
impl Clone for LaunchTemplatePlacementRequest
sourcefn clone(&self) -> LaunchTemplatePlacementRequest
fn clone(&self) -> LaunchTemplatePlacementRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl PartialEq<LaunchTemplatePlacementRequest> for LaunchTemplatePlacementRequest
impl PartialEq<LaunchTemplatePlacementRequest> for LaunchTemplatePlacementRequest
sourcefn eq(&self, other: &LaunchTemplatePlacementRequest) -> bool
fn eq(&self, other: &LaunchTemplatePlacementRequest) -> bool
impl StructuralPartialEq for LaunchTemplatePlacementRequest
Auto Trait Implementations
impl RefUnwindSafe for LaunchTemplatePlacementRequest
impl Send for LaunchTemplatePlacementRequest
impl Sync for LaunchTemplatePlacementRequest
impl Unpin for LaunchTemplatePlacementRequest
impl UnwindSafe for LaunchTemplatePlacementRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more