pub struct Builder { /* private fields */ }
Expand description
A builder for InstanceCreditSpecificationRequest
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The ID of the instance.
sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The ID of the instance.
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 the instance.
Valid values: standard
| unlimited
T3 instances with host
tenancy do not support the unlimited
CPU credit option.
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 the instance.
Valid values: standard
| unlimited
T3 instances with host
tenancy do not support the unlimited
CPU credit option.
sourcepub fn build(self) -> InstanceCreditSpecificationRequest
pub fn build(self) -> InstanceCreditSpecificationRequest
Consumes the builder and constructs a InstanceCreditSpecificationRequest
.