Class Resolution
java.lang.Object
com.amazonaws.services.devicefarm.model.Resolution
- All Implemented Interfaces:
Serializable, Cloneable
Represents the screen resolution of a device in height and width, expressed in pixels.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe screen resolution's height, expressed in pixels.getWidth()The screen resolution's width, expressed in pixels.inthashCode()voidThe screen resolution's height, expressed in pixels.voidThe screen resolution's width, expressed in pixels.toString()Returns a string representation of this object; useful for testing and debugging.withHeight(Integer height) The screen resolution's height, expressed in pixels.The screen resolution's width, expressed in pixels.
-
Constructor Details
-
Resolution
public Resolution()
-
-
Method Details
-
setWidth
The screen resolution's width, expressed in pixels.
- Parameters:
width- The screen resolution's width, expressed in pixels.
-
getWidth
The screen resolution's width, expressed in pixels.
- Returns:
- The screen resolution's width, expressed in pixels.
-
withWidth
The screen resolution's width, expressed in pixels.
- Parameters:
width- The screen resolution's width, expressed in pixels.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setHeight
The screen resolution's height, expressed in pixels.
- Parameters:
height- The screen resolution's height, expressed in pixels.
-
getHeight
The screen resolution's height, expressed in pixels.
- Returns:
- The screen resolution's height, expressed in pixels.
-
withHeight
The screen resolution's height, expressed in pixels.
- Parameters:
height- The screen resolution's height, expressed in pixels.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
-