@Generated(value="software.amazon.awssdk:codegen") public class Rectangle extends Object implements StructuredPojo, ToCopyableBuilder<Rectangle.Builder,Rectangle>
| Modifier and Type | Class and Description |
|---|---|
static interface |
Rectangle.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Rectangle.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
height()
Height of rectangle in pixels.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
static Class<? extends Rectangle.Builder> |
serializableBuilderClass() |
Rectangle.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
Integer |
width()
Width of rectangle in pixels.
|
Integer |
x()
The distance, in pixels, between the rectangle and the left edge of the video frame.
|
Integer |
y()
The distance, in pixels, between the rectangle and the top edge of the video frame.
|
copypublic Integer height()
public Integer width()
public Integer x()
public Integer y()
public Rectangle.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<Rectangle.Builder,Rectangle>public static Rectangle.Builder builder()
public static Class<? extends Rectangle.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.