Struct aws_sdk_securityhub::model::AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails
source · #[non_exhaustive]pub struct AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails { /* private fields */ }Expand description
Information about the target Capacity Reservation or Capacity Reservation group in which to run an Amazon EC2 instance.
Implementations§
source§impl AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails
impl AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails
sourcepub fn capacity_reservation_id(&self) -> Option<&str>
pub fn capacity_reservation_id(&self) -> Option<&str>
The ID of the Capacity Reservation in which to run the instance.
sourcepub fn capacity_reservation_resource_group_arn(&self) -> Option<&str>
pub fn capacity_reservation_resource_group_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the Capacity Reservation resource group in which to run the instance.
source§impl AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails
impl AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails.
Trait Implementations§
source§impl Clone for AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails
impl Clone for AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails
source§fn clone(
&self
) -> AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails
fn clone(
&self
) -> AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails
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 AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails
impl Debug for AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails
source§impl PartialEq<AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails> for AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails
impl PartialEq<AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails> for AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails
source§fn eq(
&self,
other: &AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails
) -> bool
fn eq(
&self,
other: &AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails
) -> bool
This method tests for
self and other values to be equal, and is used
by ==.