Struct aws_sdk_robomaker::types::builders::ComputeBuilder
source · #[non_exhaustive]pub struct ComputeBuilder { /* private fields */ }Expand description
A builder for Compute.
Implementations§
source§impl ComputeBuilder
impl ComputeBuilder
sourcepub fn simulation_unit_limit(self, input: i32) -> Self
pub fn simulation_unit_limit(self, input: i32) -> Self
The simulation unit limit. Your simulation is allocated CPU and memory proportional to the supplied simulation unit limit. A simulation unit is 1 vcpu and 2GB of memory. You are only billed for the SU utilization you consume up to the maximum value provided. The default is 15.
sourcepub fn set_simulation_unit_limit(self, input: Option<i32>) -> Self
pub fn set_simulation_unit_limit(self, input: Option<i32>) -> Self
The simulation unit limit. Your simulation is allocated CPU and memory proportional to the supplied simulation unit limit. A simulation unit is 1 vcpu and 2GB of memory. You are only billed for the SU utilization you consume up to the maximum value provided. The default is 15.
sourcepub fn get_simulation_unit_limit(&self) -> &Option<i32>
pub fn get_simulation_unit_limit(&self) -> &Option<i32>
The simulation unit limit. Your simulation is allocated CPU and memory proportional to the supplied simulation unit limit. A simulation unit is 1 vcpu and 2GB of memory. You are only billed for the SU utilization you consume up to the maximum value provided. The default is 15.
sourcepub fn compute_type(self, input: ComputeType) -> Self
pub fn compute_type(self, input: ComputeType) -> Self
Compute type information for the simulation job.
sourcepub fn set_compute_type(self, input: Option<ComputeType>) -> Self
pub fn set_compute_type(self, input: Option<ComputeType>) -> Self
Compute type information for the simulation job.
sourcepub fn get_compute_type(&self) -> &Option<ComputeType>
pub fn get_compute_type(&self) -> &Option<ComputeType>
Compute type information for the simulation job.
sourcepub fn gpu_unit_limit(self, input: i32) -> Self
pub fn gpu_unit_limit(self, input: i32) -> Self
Compute GPU unit limit for the simulation job. It is the same as the number of GPUs allocated to the SimulationJob.
sourcepub fn set_gpu_unit_limit(self, input: Option<i32>) -> Self
pub fn set_gpu_unit_limit(self, input: Option<i32>) -> Self
Compute GPU unit limit for the simulation job. It is the same as the number of GPUs allocated to the SimulationJob.
sourcepub fn get_gpu_unit_limit(&self) -> &Option<i32>
pub fn get_gpu_unit_limit(&self) -> &Option<i32>
Compute GPU unit limit for the simulation job. It is the same as the number of GPUs allocated to the SimulationJob.
Trait Implementations§
source§impl Clone for ComputeBuilder
impl Clone for ComputeBuilder
source§fn clone(&self) -> ComputeBuilder
fn clone(&self) -> ComputeBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ComputeBuilder
impl Debug for ComputeBuilder
source§impl Default for ComputeBuilder
impl Default for ComputeBuilder
source§fn default() -> ComputeBuilder
fn default() -> ComputeBuilder
source§impl PartialEq for ComputeBuilder
impl PartialEq for ComputeBuilder
source§fn eq(&self, other: &ComputeBuilder) -> bool
fn eq(&self, other: &ComputeBuilder) -> bool
self and other values to be equal, and is used
by ==.