Struct aws_sdk_appstream::types::builders::ComputeCapacityBuilder
source · #[non_exhaustive]pub struct ComputeCapacityBuilder { /* private fields */ }
Expand description
A builder for ComputeCapacity
.
Implementations§
source§impl ComputeCapacityBuilder
impl ComputeCapacityBuilder
sourcepub fn desired_instances(self, input: i32) -> Self
pub fn desired_instances(self, input: i32) -> Self
The desired number of streaming instances.
sourcepub fn set_desired_instances(self, input: Option<i32>) -> Self
pub fn set_desired_instances(self, input: Option<i32>) -> Self
The desired number of streaming instances.
sourcepub fn get_desired_instances(&self) -> &Option<i32>
pub fn get_desired_instances(&self) -> &Option<i32>
The desired number of streaming instances.
sourcepub fn build(self) -> ComputeCapacity
pub fn build(self) -> ComputeCapacity
Consumes the builder and constructs a ComputeCapacity
.
Trait Implementations§
source§impl Clone for ComputeCapacityBuilder
impl Clone for ComputeCapacityBuilder
source§fn clone(&self) -> ComputeCapacityBuilder
fn clone(&self) -> ComputeCapacityBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ComputeCapacityBuilder
impl Debug for ComputeCapacityBuilder
source§impl Default for ComputeCapacityBuilder
impl Default for ComputeCapacityBuilder
source§fn default() -> ComputeCapacityBuilder
fn default() -> ComputeCapacityBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ComputeCapacityBuilder> for ComputeCapacityBuilder
impl PartialEq<ComputeCapacityBuilder> for ComputeCapacityBuilder
source§fn eq(&self, other: &ComputeCapacityBuilder) -> bool
fn eq(&self, other: &ComputeCapacityBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ComputeCapacityBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ComputeCapacityBuilder
impl Send for ComputeCapacityBuilder
impl Sync for ComputeCapacityBuilder
impl Unpin for ComputeCapacityBuilder
impl UnwindSafe for ComputeCapacityBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more