Struct aws_sdk_ec2::model::v_cpu_count_range_request::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for VCpuCountRangeRequest
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn min(self, input: i32) -> Self
pub fn min(self, input: i32) -> Self
The minimum number of vCPUs. 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 number of vCPUs. To specify no minimum limit, specify 0
.
sourcepub fn max(self, input: i32) -> Self
pub fn max(self, input: i32) -> Self
The maximum number of vCPUs. 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 number of vCPUs. To specify no maximum limit, omit this parameter.
sourcepub fn build(self) -> VCpuCountRangeRequest
pub fn build(self) -> VCpuCountRangeRequest
Consumes the builder and constructs a VCpuCountRangeRequest
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more