public static interface Instance.Builder extends SdkPojo, CopyableBuilder<Instance.Builder,Instance>
| Modifier and Type | Method and Description |
|---|---|
Instance.Builder |
boundingBox(BoundingBox boundingBox)
The position of the label instance on the image.
|
default Instance.Builder |
boundingBox(Consumer<BoundingBox.Builder> boundingBox)
The position of the label instance on the image.
|
Instance.Builder |
confidence(Float confidence)
The confidence that Amazon Rekognition has in the accuracy of the bounding box.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildInstance.Builder boundingBox(BoundingBox boundingBox)
The position of the label instance on the image.
boundingBox - The position of the label instance on the image.default Instance.Builder boundingBox(Consumer<BoundingBox.Builder> boundingBox)
The position of the label instance on the image.
This is a convenience that creates an instance of theBoundingBox.Builder avoiding the need to create
one manually via BoundingBox.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to boundingBox(BoundingBox).boundingBox - a consumer that will call methods on BoundingBox.BuilderboundingBox(BoundingBox)Instance.Builder confidence(Float confidence)
The confidence that Amazon Rekognition has in the accuracy of the bounding box.
confidence - The confidence that Amazon Rekognition has in the accuracy of the bounding box.Copyright © 2020. All rights reserved.