@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Resolution extends Object implements Serializable, Cloneable, StructuredPojo
Represents the screen resolution of a device in height and width, expressed in pixels.
Constructor and Description |
---|
Resolution() |
Modifier and Type | Method and Description |
---|---|
Resolution |
clone() |
boolean |
equals(Object obj) |
Integer |
getHeight()
The screen resolution's height, expressed in pixels.
|
Integer |
getWidth()
The screen resolution's width, expressed in pixels.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setHeight(Integer height)
The screen resolution's height, expressed in pixels.
|
void |
setWidth(Integer width)
The screen resolution's width, expressed in pixels.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Resolution |
withHeight(Integer height)
The screen resolution's height, expressed in pixels.
|
Resolution |
withWidth(Integer width)
The screen resolution's width, expressed in pixels.
|
public void setWidth(Integer width)
The screen resolution's width, expressed in pixels.
width
- The screen resolution's width, expressed in pixels.public Integer getWidth()
The screen resolution's width, expressed in pixels.
public Resolution withWidth(Integer width)
The screen resolution's width, expressed in pixels.
width
- The screen resolution's width, expressed in pixels.public void setHeight(Integer height)
The screen resolution's height, expressed in pixels.
height
- The screen resolution's height, expressed in pixels.public Integer getHeight()
The screen resolution's height, expressed in pixels.
public Resolution withHeight(Integer height)
The screen resolution's height, expressed in pixels.
height
- The screen resolution's height, expressed in pixels.public String toString()
toString
in class Object
Object.toString()
public Resolution clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.