pub struct Builder { /* private fields */ }
Expand description
A builder for InstanceFamilyCreditSpecification
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn instance_family(self, input: UnlimitedSupportedInstanceFamily) -> Self
pub fn instance_family(self, input: UnlimitedSupportedInstanceFamily) -> Self
The instance family.
sourcepub fn set_instance_family(
self,
input: Option<UnlimitedSupportedInstanceFamily>
) -> Self
pub fn set_instance_family(
self,
input: Option<UnlimitedSupportedInstanceFamily>
) -> Self
The instance family.
sourcepub fn cpu_credits(self, input: impl Into<String>) -> Self
pub fn cpu_credits(self, input: impl Into<String>) -> Self
The default credit option for CPU usage of the instance family. Valid values are standard
and unlimited
.
sourcepub fn set_cpu_credits(self, input: Option<String>) -> Self
pub fn set_cpu_credits(self, input: Option<String>) -> Self
The default credit option for CPU usage of the instance family. Valid values are standard
and unlimited
.
sourcepub fn build(self) -> InstanceFamilyCreditSpecification
pub fn build(self) -> InstanceFamilyCreditSpecification
Consumes the builder and constructs a InstanceFamilyCreditSpecification
.