Struct aws_sdk_robomaker::types::builders::ComputeResponseBuilder
source · #[non_exhaustive]pub struct ComputeResponseBuilder { /* private fields */ }Expand description
A builder for ComputeResponse.
Implementations§
source§impl ComputeResponseBuilder
impl ComputeResponseBuilder
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 response 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 response information for the simulation job.
sourcepub fn get_compute_type(&self) -> &Option<ComputeType>
pub fn get_compute_type(&self) -> &Option<ComputeType>
Compute type response 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.
sourcepub fn build(self) -> ComputeResponse
pub fn build(self) -> ComputeResponse
Consumes the builder and constructs a ComputeResponse.
Trait Implementations§
source§impl Clone for ComputeResponseBuilder
impl Clone for ComputeResponseBuilder
source§fn clone(&self) -> ComputeResponseBuilder
fn clone(&self) -> ComputeResponseBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ComputeResponseBuilder
impl Debug for ComputeResponseBuilder
source§impl Default for ComputeResponseBuilder
impl Default for ComputeResponseBuilder
source§fn default() -> ComputeResponseBuilder
fn default() -> ComputeResponseBuilder
source§impl PartialEq for ComputeResponseBuilder
impl PartialEq for ComputeResponseBuilder
source§fn eq(&self, other: &ComputeResponseBuilder) -> bool
fn eq(&self, other: &ComputeResponseBuilder) -> bool
self and other values to be equal, and is used
by ==.