Interface Landmark.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Landmark.Builder,Landmark>,SdkBuilder<Landmark.Builder,Landmark>,SdkPojo
- Enclosing class:
- Landmark
public static interface Landmark.Builder extends SdkPojo, CopyableBuilder<Landmark.Builder,Landmark>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Landmark.Buildertype(String type)Type of landmark.Landmark.Buildertype(LandmarkType type)Type of landmark.Landmark.Builderx(Float x)The x-coordinate of the landmark expressed as a ratio of the width of the image.Landmark.Buildery(Float y)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 Detail
-
type
Landmark.Builder type(String 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:
LandmarkType,LandmarkType
-
type
Landmark.Builder type(LandmarkType 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:
LandmarkType,LandmarkType
-
x
Landmark.Builder x(Float 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
Landmark.Builder y(Float 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.
-
-