Struct aws_sdk_devicefarm::types::builders::SampleBuilder
source · #[non_exhaustive]pub struct SampleBuilder { /* private fields */ }Expand description
A builder for Sample.
Implementations§
source§impl SampleBuilder
impl SampleBuilder
sourcepub fn type(self, input: SampleType) -> Self
pub fn type(self, input: SampleType) -> Self
The sample's type.
Must be one of the following values:
-
CPU: A CPU sample type. This is expressed as the app processing CPU time (including child processes) as reported by process, as a percentage.
-
MEMORY: A memory usage sample type. This is expressed as the total proportional set size of an app process, in kilobytes.
-
NATIVE_AVG_DRAWTIME
-
NATIVE_FPS
-
NATIVE_FRAMES
-
NATIVE_MAX_DRAWTIME
-
NATIVE_MIN_DRAWTIME
-
OPENGL_AVG_DRAWTIME
-
OPENGL_FPS
-
OPENGL_FRAMES
-
OPENGL_MAX_DRAWTIME
-
OPENGL_MIN_DRAWTIME
-
RX
-
RX_RATE: The total number of bytes per second (TCP and UDP) that are sent, by app process.
-
THREADS: A threads sample type. This is expressed as the total number of threads per app process.
-
TX
-
TX_RATE: The total number of bytes per second (TCP and UDP) that are received, by app process.
sourcepub fn set_type(self, input: Option<SampleType>) -> Self
pub fn set_type(self, input: Option<SampleType>) -> Self
The sample's type.
Must be one of the following values:
-
CPU: A CPU sample type. This is expressed as the app processing CPU time (including child processes) as reported by process, as a percentage.
-
MEMORY: A memory usage sample type. This is expressed as the total proportional set size of an app process, in kilobytes.
-
NATIVE_AVG_DRAWTIME
-
NATIVE_FPS
-
NATIVE_FRAMES
-
NATIVE_MAX_DRAWTIME
-
NATIVE_MIN_DRAWTIME
-
OPENGL_AVG_DRAWTIME
-
OPENGL_FPS
-
OPENGL_FRAMES
-
OPENGL_MAX_DRAWTIME
-
OPENGL_MIN_DRAWTIME
-
RX
-
RX_RATE: The total number of bytes per second (TCP and UDP) that are sent, by app process.
-
THREADS: A threads sample type. This is expressed as the total number of threads per app process.
-
TX
-
TX_RATE: The total number of bytes per second (TCP and UDP) that are received, by app process.
sourcepub fn get_type(&self) -> &Option<SampleType>
pub fn get_type(&self) -> &Option<SampleType>
The sample's type.
Must be one of the following values:
-
CPU: A CPU sample type. This is expressed as the app processing CPU time (including child processes) as reported by process, as a percentage.
-
MEMORY: A memory usage sample type. This is expressed as the total proportional set size of an app process, in kilobytes.
-
NATIVE_AVG_DRAWTIME
-
NATIVE_FPS
-
NATIVE_FRAMES
-
NATIVE_MAX_DRAWTIME
-
NATIVE_MIN_DRAWTIME
-
OPENGL_AVG_DRAWTIME
-
OPENGL_FPS
-
OPENGL_FRAMES
-
OPENGL_MAX_DRAWTIME
-
OPENGL_MIN_DRAWTIME
-
RX
-
RX_RATE: The total number of bytes per second (TCP and UDP) that are sent, by app process.
-
THREADS: A threads sample type. This is expressed as the total number of threads per app process.
-
TX
-
TX_RATE: The total number of bytes per second (TCP and UDP) that are received, by app process.
sourcepub fn url(self, input: impl Into<String>) -> Self
pub fn url(self, input: impl Into<String>) -> Self
The presigned Amazon S3 URL that can be used with a GET request to download the sample's file.
sourcepub fn set_url(self, input: Option<String>) -> Self
pub fn set_url(self, input: Option<String>) -> Self
The presigned Amazon S3 URL that can be used with a GET request to download the sample's file.
Trait Implementations§
source§impl Clone for SampleBuilder
impl Clone for SampleBuilder
source§fn clone(&self) -> SampleBuilder
fn clone(&self) -> SampleBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SampleBuilder
impl Debug for SampleBuilder
source§impl Default for SampleBuilder
impl Default for SampleBuilder
source§fn default() -> SampleBuilder
fn default() -> SampleBuilder
source§impl PartialEq for SampleBuilder
impl PartialEq for SampleBuilder
source§fn eq(&self, other: &SampleBuilder) -> bool
fn eq(&self, other: &SampleBuilder) -> bool
self and other values to be equal, and is used
by ==.