Struct aws_sdk_securityhub::types::builders::AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetailsBuilder
source · #[non_exhaustive]pub struct AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetailsBuilder { /* private fields */ }Expand description
Implementations§
source§impl AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetailsBuilder
impl AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetailsBuilder
sourcepub fn capacity_reservation_id(self, input: impl Into<String>) -> Self
pub fn capacity_reservation_id(self, input: impl Into<String>) -> Self
The ID of the Capacity Reservation in which to run the instance.
sourcepub fn set_capacity_reservation_id(self, input: Option<String>) -> Self
pub fn set_capacity_reservation_id(self, input: Option<String>) -> Self
The ID of the Capacity Reservation in which to run the instance.
sourcepub fn get_capacity_reservation_id(&self) -> &Option<String>
pub fn get_capacity_reservation_id(&self) -> &Option<String>
The ID of the Capacity Reservation in which to run the instance.
sourcepub fn capacity_reservation_resource_group_arn(
self,
input: impl Into<String>
) -> Self
pub fn capacity_reservation_resource_group_arn( self, input: impl Into<String> ) -> Self
The Amazon Resource Name (ARN) of the Capacity Reservation resource group in which to run the instance.
sourcepub fn set_capacity_reservation_resource_group_arn(
self,
input: Option<String>
) -> Self
pub fn set_capacity_reservation_resource_group_arn( self, input: Option<String> ) -> Self
The Amazon Resource Name (ARN) of the Capacity Reservation resource group in which to run the instance.
sourcepub fn get_capacity_reservation_resource_group_arn(&self) -> &Option<String>
pub fn get_capacity_reservation_resource_group_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the Capacity Reservation resource group in which to run the instance.
sourcepub fn build(
self
) -> AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails
pub fn build( self ) -> AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails
Consumes the builder and constructs a AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails.
Trait Implementations§
source§impl Clone for AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetailsBuilder
impl Clone for AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetailsBuilder
source§fn clone(
&self
) -> AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetailsBuilder
fn clone( &self ) -> AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetailsBuilder
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 AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetailsBuilder
impl Debug for AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetailsBuilder
source§impl Default for AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetailsBuilder
impl Default for AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetailsBuilder
source§fn default(
) -> AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetailsBuilder
fn default( ) -> AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetailsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetailsBuilder
impl PartialEq for AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetailsBuilder
source§fn eq(
&self,
other: &AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetailsBuilder
) -> bool
fn eq( &self, other: &AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetailsBuilder ) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetailsBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetailsBuilder
impl Send for AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetailsBuilder
impl Sync for AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetailsBuilder
impl Unpin for AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetailsBuilder
impl UnwindSafe for AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetailsBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.