Struct aws_sdk_devicefarm::model::resolution::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for Resolution.
Implementations§
source§impl Builder
impl Builder
sourcepub fn set_width(self, input: Option<i32>) -> Self
pub fn set_width(self, input: Option<i32>) -> Self
The screen resolution's width, expressed in pixels.
sourcepub fn set_height(self, input: Option<i32>) -> Self
pub fn set_height(self, input: Option<i32>) -> Self
The screen resolution's height, expressed in pixels.
sourcepub fn build(self) -> Resolution
pub fn build(self) -> Resolution
Consumes the builder and constructs a Resolution.