@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Rectangle extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
Rectangle() |
Modifier and Type | Method and Description |
---|---|
Rectangle |
clone() |
boolean |
equals(Object obj) |
Integer |
getHeight()
Height of rectangle in pixels.
|
Integer |
getWidth()
Width of rectangle in pixels.
|
Integer |
getX()
The distance, in pixels, between the rectangle and the left edge of the video frame.
|
Integer |
getY()
The distance, in pixels, between the rectangle and the top edge of the video frame.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setHeight(Integer height)
Height of rectangle in pixels.
|
void |
setWidth(Integer width)
Width of rectangle in pixels.
|
void |
setX(Integer x)
The distance, in pixels, between the rectangle and the left edge of the video frame.
|
void |
setY(Integer y)
The distance, in pixels, between the rectangle and the top edge of the video frame.
|
String |
toString()
Returns a string representation of this object.
|
Rectangle |
withHeight(Integer height)
Height of rectangle in pixels.
|
Rectangle |
withWidth(Integer width)
Width of rectangle in pixels.
|
Rectangle |
withX(Integer x)
The distance, in pixels, between the rectangle and the left edge of the video frame.
|
Rectangle |
withY(Integer y)
The distance, in pixels, between the rectangle and the top edge of the video frame.
|
public void setHeight(Integer height)
height
- Height of rectangle in pixels. Specify only even numbers.public Integer getHeight()
public Rectangle withHeight(Integer height)
height
- Height of rectangle in pixels. Specify only even numbers.public void setWidth(Integer width)
width
- Width of rectangle in pixels. Specify only even numbers.public Integer getWidth()
public Rectangle withWidth(Integer width)
width
- Width of rectangle in pixels. Specify only even numbers.public void setX(Integer x)
x
- The distance, in pixels, between the rectangle and the left edge of the video frame. Specify only even
numbers.public Integer getX()
public Rectangle withX(Integer x)
x
- The distance, in pixels, between the rectangle and the left edge of the video frame. Specify only even
numbers.public void setY(Integer y)
y
- The distance, in pixels, between the rectangle and the top edge of the video frame. Specify only even
numbers.public Integer getY()
public Rectangle withY(Integer y)
y
- The distance, in pixels, between the rectangle and the top edge of the video frame. Specify only even
numbers.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.