#[non_exhaustive]pub struct InstanceFamilyCreditSpecification { /* private fields */ }
Expand description
Describes the default credit option for CPU usage of a burstable performance instance family.
Implementations§
source§impl InstanceFamilyCreditSpecification
impl InstanceFamilyCreditSpecification
sourcepub fn instance_family(&self) -> Option<&UnlimitedSupportedInstanceFamily>
pub fn instance_family(&self) -> Option<&UnlimitedSupportedInstanceFamily>
The instance family.
sourcepub fn cpu_credits(&self) -> Option<&str>
pub fn cpu_credits(&self) -> Option<&str>
The default credit option for CPU usage of the instance family. Valid values are standard
and unlimited
.
source§impl InstanceFamilyCreditSpecification
impl InstanceFamilyCreditSpecification
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture InstanceFamilyCreditSpecification
.
Trait Implementations§
source§impl Clone for InstanceFamilyCreditSpecification
impl Clone for InstanceFamilyCreditSpecification
source§fn clone(&self) -> InstanceFamilyCreditSpecification
fn clone(&self) -> InstanceFamilyCreditSpecification
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<InstanceFamilyCreditSpecification> for InstanceFamilyCreditSpecification
impl PartialEq<InstanceFamilyCreditSpecification> for InstanceFamilyCreditSpecification
source§fn eq(&self, other: &InstanceFamilyCreditSpecification) -> bool
fn eq(&self, other: &InstanceFamilyCreditSpecification) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.