#[non_exhaustive]pub struct AwsEc2LaunchTemplateDataCreditSpecificationDetails { /* private fields */ }
Expand description
Specifies the credit option for CPU usage of a T2, T3, or T3a Amazon EC2 instance.
Implementations§
source§impl AwsEc2LaunchTemplateDataCreditSpecificationDetails
impl AwsEc2LaunchTemplateDataCreditSpecificationDetails
sourcepub fn cpu_credits(&self) -> Option<&str>
pub fn cpu_credits(&self) -> Option<&str>
The credit option for CPU usage of a T instance.
source§impl AwsEc2LaunchTemplateDataCreditSpecificationDetails
impl AwsEc2LaunchTemplateDataCreditSpecificationDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AwsEc2LaunchTemplateDataCreditSpecificationDetails
.
Trait Implementations§
source§impl Clone for AwsEc2LaunchTemplateDataCreditSpecificationDetails
impl Clone for AwsEc2LaunchTemplateDataCreditSpecificationDetails
source§fn clone(&self) -> AwsEc2LaunchTemplateDataCreditSpecificationDetails
fn clone(&self) -> AwsEc2LaunchTemplateDataCreditSpecificationDetails
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<AwsEc2LaunchTemplateDataCreditSpecificationDetails> for AwsEc2LaunchTemplateDataCreditSpecificationDetails
impl PartialEq<AwsEc2LaunchTemplateDataCreditSpecificationDetails> for AwsEc2LaunchTemplateDataCreditSpecificationDetails
source§fn eq(&self, other: &AwsEc2LaunchTemplateDataCreditSpecificationDetails) -> bool
fn eq(&self, other: &AwsEc2LaunchTemplateDataCreditSpecificationDetails) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.