StructuredPojo
, ToCopyableBuilder<Landmark.Builder,Landmark>
@Generated("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 | Description |
---|---|---|
static interface |
Landmark.Builder |
Modifier and Type | Method | Description |
---|---|---|
static Landmark.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
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() |
|
String |
type() |
Type of the landmark.
|
Float |
x() |
x-coordinate from the top left of the landmark expressed as the ration of the width of the image.
|
Float |
y() |
y-coordinate from the top left of the landmark expressed as the ration of the height of the image.
|
public String type()
Type of the landmark.
LandmarkType
public Float x()
x-coordinate from the top left of the landmark expressed as the ration 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 ration 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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Landmark.Builder,Landmark>
public static Landmark.Builder builder()
public static Class<? extends Landmark.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.