Interface Landmark.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Landmark.Builder,
,Landmark> SdkBuilder<Landmark.Builder,
,Landmark> SdkPojo
- Enclosing class:
Landmark
@Mutable
@NotThreadSafe
public static interface Landmark.Builder
extends SdkPojo, CopyableBuilder<Landmark.Builder,Landmark>
-
Method Summary
Modifier and TypeMethodDescriptionType of landmark.type
(LandmarkType type) Type of landmark.The x-coordinate of the landmark expressed as a ratio of the width of the image.The y-coordinate of the landmark expressed as a ratio of the height of the image.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
type
Type of landmark.
- Parameters:
type
- Type of landmark.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
Type of landmark.
- Parameters:
type
- Type of landmark.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
x
The x-coordinate of the landmark expressed as a ratio of the width of the image. The x-coordinate is measured from the left-side of the image. For example, if the image is 700 pixels wide and the x-coordinate of the landmark is at 350 pixels, this value is 0.5.
- Parameters:
x
- The x-coordinate of the landmark expressed as a ratio of the width of the image. The x-coordinate is measured from the left-side of the image. For example, if the image is 700 pixels wide and the x-coordinate of the landmark is at 350 pixels, this value is 0.5.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
y
The y-coordinate of the landmark expressed as a ratio of the height of the image. The y-coordinate is measured from the top of the image. For example, if the image height is 200 pixels and the y-coordinate of the landmark is at 50 pixels, this value is 0.25.
- Parameters:
y
- The y-coordinate of the landmark expressed as a ratio of the height of the image. The y-coordinate is measured from the top of the image. For example, if the image height is 200 pixels and the y-coordinate of the landmark is at 50 pixels, this value is 0.25.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-