Struct aws_sdk_ec2::model::memory_gi_b_per_v_cpu::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for MemoryGiBPerVCpu
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn min(self, input: f64) -> Self
pub fn min(self, input: f64) -> Self
The minimum amount of memory per vCPU, in GiB. If this parameter is not specified, there is no minimum limit.
sourcepub fn set_min(self, input: Option<f64>) -> Self
pub fn set_min(self, input: Option<f64>) -> Self
The minimum amount of memory per vCPU, in GiB. If this parameter is not specified, there is no minimum limit.
sourcepub fn max(self, input: f64) -> Self
pub fn max(self, input: f64) -> Self
The maximum amount of memory per vCPU, in GiB. If this parameter is not specified, there is no maximum limit.
sourcepub fn set_max(self, input: Option<f64>) -> Self
pub fn set_max(self, input: Option<f64>) -> Self
The maximum amount of memory per vCPU, in GiB. If this parameter is not specified, there is no maximum limit.
sourcepub fn build(self) -> MemoryGiBPerVCpu
pub fn build(self) -> MemoryGiBPerVCpu
Consumes the builder and constructs a MemoryGiBPerVCpu
.