Class Rectangle
- java.lang.Object
-
- software.amazon.awssdk.services.mediaconvert.model.Rectangle
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Rectangle.Builder,Rectangle>
@Generated("software.amazon.awssdk:codegen") public final class Rectangle extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Rectangle.Builder,Rectangle>
Use Rectangle to identify a specific area of the video frame.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRectangle.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Rectangle.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Integerheight()Height of rectangle in pixels.List<SdkField<?>>sdkFields()static Class<? extends Rectangle.Builder>serializableBuilderClass()Rectangle.BuildertoBuilder()StringtoString()Returns a string representation of this object.Integerwidth()Width of rectangle in pixels.Integerx()The distance, in pixels, between the rectangle and the left edge of the video frame.Integery()The distance, in pixels, between the rectangle and the top edge of the video frame.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
height
public final Integer height()
Height of rectangle in pixels. Specify only even numbers.- Returns:
- Height of rectangle in pixels. Specify only even numbers.
-
width
public final Integer width()
Width of rectangle in pixels. Specify only even numbers.- Returns:
- Width of rectangle in pixels. Specify only even numbers.
-
x
public final Integer x()
The distance, in pixels, between the rectangle and the left edge of the video frame. Specify only even numbers.- Returns:
- The distance, in pixels, between the rectangle and the left edge of the video frame. Specify only even numbers.
-
y
public final Integer y()
The distance, in pixels, between the rectangle and the top edge of the video frame. Specify only even numbers.- Returns:
- The distance, in pixels, between the rectangle and the top edge of the video frame. Specify only even numbers.
-
toBuilder
public Rectangle.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Rectangle.Builder,Rectangle>
-
builder
public static Rectangle.Builder builder()
-
serializableBuilderClass
public static Class<? extends Rectangle.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-