Class Point
- java.lang.Object
-
- software.amazon.awssdk.services.comprehend.model.Point
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Point.Builder,Point>
@Generated("software.amazon.awssdk:codegen") public final class Point extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Point.Builder,Point>
The X and Y coordinates of a point on a document page.
For additional information, see Point in the Amazon Textract API reference.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePoint.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Point.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends Point.Builder>serializableBuilderClass()Point.BuildertoBuilder()StringtoString()Returns a string representation of this object.Floatx()The value of the X coordinate for a point on a polygonFloaty()The value of the Y coordinate for a point on a polygon-
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
-
x
public final Float x()
The value of the X coordinate for a point on a polygon
- Returns:
- The value of the X coordinate for a point on a polygon
-
y
public final Float y()
The value of the Y coordinate for a point on a polygon
- Returns:
- The value of the Y coordinate for a point on a polygon
-
toBuilder
public Point.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Point.Builder,Point>
-
builder
public static Point.Builder builder()
-
serializableBuilderClass
public static Class<? extends Point.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.
-
-