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()
boolean
The screen resolution's height, expressed in pixels.getWidth()
The screen resolution's width, expressed in pixels.int
hashCode()
void
The screen resolution's height, expressed in pixels.void
The 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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-