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 Image has in the accuracy of the bounding box.
|
copy
applyMutation, build
Instance.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.Builder
boundingBox(BoundingBox)
Instance.Builder confidence(Float confidence)
The confidence that Amazon Rekognition Image has in the accuracy of the bounding box.
confidence
- The confidence that Amazon Rekognition Image has in the accuracy of the bounding box.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.