@Generated(value="software.amazon.awssdk:codegen") public class Landmark extends Object implements StructuredPojo, ToCopyableBuilder<Landmark.Builder,Landmark>
Indicates the location of the landmark on the face.
| Modifier and Type | Class and Description | 
|---|---|
| static interface  | Landmark.Builder | 
| Modifier and Type | Method and Description | 
|---|---|
| static Landmark.Builder | builder() | 
| boolean | equals(Object obj) | 
| <T> Optional<T> | getValueForField(String fieldName,
                Class<T> clazz) | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| static Class<? extends Landmark.Builder> | serializableBuilderClass() | 
| Landmark.Builder | toBuilder()Take this object and create a builder that contains all of the current property values of this object. | 
| String | toString() | 
| LandmarkType | type()
 Type of the landmark. | 
| String | typeAsString()
 Type of the landmark. | 
| Float | x()
 x-coordinate from the top left of the landmark expressed as the ratio of the width of the image. | 
| Float | y()
 y-coordinate from the top left of the landmark expressed as the ratio of the height of the image. | 
copypublic LandmarkType type()
Type of the landmark.
 If the service returns an enum value that is not available in the current SDK version, type will return
 LandmarkType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
 typeAsString().
 
LandmarkTypepublic String typeAsString()
Type of the landmark.
 If the service returns an enum value that is not available in the current SDK version, type will return
 LandmarkType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
 typeAsString().
 
LandmarkTypepublic Float x()
x-coordinate from the top left of the landmark expressed as the ratio of the width of the image. For example, if the images is 700x200 and the x-coordinate of the landmark is at 350 pixels, this value is 0.5.
public Float y()
y-coordinate from the top left of the landmark expressed as the ratio of the height of the image. For example, if the images is 700x200 and the y-coordinate of the landmark is at 100 pixels, this value is 0.5.
public Landmark.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<Landmark.Builder,Landmark>public static Landmark.Builder builder()
public static Class<? extends Landmark.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.