Struct aws_sdk_ec2::model::credit_specification::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for CreditSpecification
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn cpu_credits(self, input: impl Into<String>) -> Self
pub fn cpu_credits(self, input: impl Into<String>) -> Self
The credit option for CPU usage of a T instance.
Valid values: standard
| unlimited
sourcepub fn set_cpu_credits(self, input: Option<String>) -> Self
pub fn set_cpu_credits(self, input: Option<String>) -> Self
The credit option for CPU usage of a T instance.
Valid values: standard
| unlimited
sourcepub fn build(self) -> CreditSpecification
pub fn build(self) -> CreditSpecification
Consumes the builder and constructs a CreditSpecification
.