public static interface DetectProtectiveEquipmentResponse.Builder extends RekognitionResponse.Builder, SdkPojo, CopyableBuilder<DetectProtectiveEquipmentResponse.Builder,DetectProtectiveEquipmentResponse>
| Modifier and Type | Method and Description |
|---|---|
DetectProtectiveEquipmentResponse.Builder |
persons(Collection<ProtectiveEquipmentPerson> persons)
An array of persons detected in the image (including persons not wearing PPE).
|
DetectProtectiveEquipmentResponse.Builder |
persons(Consumer<ProtectiveEquipmentPerson.Builder>... persons)
An array of persons detected in the image (including persons not wearing PPE).
|
DetectProtectiveEquipmentResponse.Builder |
persons(ProtectiveEquipmentPerson... persons)
An array of persons detected in the image (including persons not wearing PPE).
|
DetectProtectiveEquipmentResponse.Builder |
protectiveEquipmentModelVersion(String protectiveEquipmentModelVersion)
The version number of the PPE detection model used to detect PPE in the image.
|
default DetectProtectiveEquipmentResponse.Builder |
summary(Consumer<ProtectiveEquipmentSummary.Builder> summary)
Summary information for the types of PPE specified in the
SummarizationAttributes input
parameter. |
DetectProtectiveEquipmentResponse.Builder |
summary(ProtectiveEquipmentSummary summary)
Summary information for the types of PPE specified in the
SummarizationAttributes input
parameter. |
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDetectProtectiveEquipmentResponse.Builder protectiveEquipmentModelVersion(String protectiveEquipmentModelVersion)
The version number of the PPE detection model used to detect PPE in the image.
protectiveEquipmentModelVersion - The version number of the PPE detection model used to detect PPE in the image.DetectProtectiveEquipmentResponse.Builder persons(Collection<ProtectiveEquipmentPerson> persons)
An array of persons detected in the image (including persons not wearing PPE).
persons - An array of persons detected in the image (including persons not wearing PPE).DetectProtectiveEquipmentResponse.Builder persons(ProtectiveEquipmentPerson... persons)
An array of persons detected in the image (including persons not wearing PPE).
persons - An array of persons detected in the image (including persons not wearing PPE).DetectProtectiveEquipmentResponse.Builder persons(Consumer<ProtectiveEquipmentPerson.Builder>... persons)
An array of persons detected in the image (including persons not wearing PPE).
This is a convenience that creates an instance of theList.Builder
avoiding the need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called
immediately and its result is passed to #persons(List) .persons - a consumer that will call methods on List.Builder #persons(List) DetectProtectiveEquipmentResponse.Builder summary(ProtectiveEquipmentSummary summary)
Summary information for the types of PPE specified in the SummarizationAttributes input
parameter.
summary - Summary information for the types of PPE specified in the SummarizationAttributes input
parameter.default DetectProtectiveEquipmentResponse.Builder summary(Consumer<ProtectiveEquipmentSummary.Builder> summary)
Summary information for the types of PPE specified in the SummarizationAttributes input
parameter.
ProtectiveEquipmentSummary.Builder avoiding the
need to create one manually via ProtectiveEquipmentSummary.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to summary(ProtectiveEquipmentSummary).summary - a consumer that will call methods on ProtectiveEquipmentSummary.Buildersummary(ProtectiveEquipmentSummary)Copyright © 2022. All rights reserved.