Struct aws_sdk_appstream::model::compute_capacity_status::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for ComputeCapacityStatus.
Implementations§
source§impl Builder
impl Builder
sourcepub fn set_desired(self, input: Option<i32>) -> Self
pub fn set_desired(self, input: Option<i32>) -> Self
The desired number of streaming instances.
sourcepub fn running(self, input: i32) -> Self
pub fn running(self, input: i32) -> Self
The total number of simultaneous streaming instances that are running.
sourcepub fn set_running(self, input: Option<i32>) -> Self
pub fn set_running(self, input: Option<i32>) -> Self
The total number of simultaneous streaming instances that are running.
sourcepub fn set_in_use(self, input: Option<i32>) -> Self
pub fn set_in_use(self, input: Option<i32>) -> Self
The number of instances in use for streaming.
sourcepub fn available(self, input: i32) -> Self
pub fn available(self, input: i32) -> Self
The number of currently available instances that can be used to stream sessions.
sourcepub fn set_available(self, input: Option<i32>) -> Self
pub fn set_available(self, input: Option<i32>) -> Self
The number of currently available instances that can be used to stream sessions.
sourcepub fn build(self) -> ComputeCapacityStatus
pub fn build(self) -> ComputeCapacityStatus
Consumes the builder and constructs a ComputeCapacityStatus.