Struct aws_sdk_ec2::model::memory_mi_b_request::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for MemoryMiBRequest
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn min(self, input: i32) -> Self
pub fn min(self, input: i32) -> Self
The minimum amount of memory, in MiB. To specify no minimum limit, specify 0
.
sourcepub fn set_min(self, input: Option<i32>) -> Self
pub fn set_min(self, input: Option<i32>) -> Self
The minimum amount of memory, in MiB. To specify no minimum limit, specify 0
.
sourcepub fn max(self, input: i32) -> Self
pub fn max(self, input: i32) -> Self
The maximum amount of memory, in MiB. To specify no maximum limit, omit this parameter.
sourcepub fn set_max(self, input: Option<i32>) -> Self
pub fn set_max(self, input: Option<i32>) -> Self
The maximum amount of memory, in MiB. To specify no maximum limit, omit this parameter.
sourcepub fn build(self) -> MemoryMiBRequest
pub fn build(self) -> MemoryMiBRequest
Consumes the builder and constructs a MemoryMiBRequest
.