Interface DetectProtectiveEquipmentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DetectProtectiveEquipmentResponse.Builder,,DetectProtectiveEquipmentResponse> RekognitionResponse.Builder,SdkBuilder<DetectProtectiveEquipmentResponse.Builder,,DetectProtectiveEquipmentResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DetectProtectiveEquipmentResponse
-
Method Summary
Modifier and TypeMethodDescriptionpersons(Collection<ProtectiveEquipmentPerson> persons) An array of persons detected in the image (including persons not wearing PPE).persons(Consumer<ProtectiveEquipmentPerson.Builder>... persons) An array of persons detected in the image (including persons not wearing PPE).persons(ProtectiveEquipmentPerson... persons) An array of persons detected in the image (including persons not wearing PPE).protectiveEquipmentModelVersion(String protectiveEquipmentModelVersion) The version number of the PPE detection model used to detect PPE in the image.Summary information for the types of PPE specified in theSummarizationAttributesinput parameter.summary(ProtectiveEquipmentSummary summary) Summary information for the types of PPE specified in theSummarizationAttributesinput parameter.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.rekognition.model.RekognitionResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
protectiveEquipmentModelVersion
DetectProtectiveEquipmentResponse.Builder protectiveEquipmentModelVersion(String protectiveEquipmentModelVersion) The version number of the PPE detection model used to detect PPE in the image.
- Parameters:
protectiveEquipmentModelVersion- The version number of the PPE detection model used to detect PPE in the image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
persons
An array of persons detected in the image (including persons not wearing PPE).
- Parameters:
persons- An array of persons detected in the image (including persons not wearing PPE).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
persons
An array of persons detected in the image (including persons not wearing PPE).
- Parameters:
persons- An array of persons detected in the image (including persons not wearing PPE).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
persons
DetectProtectiveEquipmentResponse.Builder persons(Consumer<ProtectiveEquipmentPerson.Builder>... persons) An array of persons detected in the image (including persons not wearing PPE).
This is a convenience method that creates an instance of theProtectiveEquipmentPerson.Builderavoiding the need to create one manually viaProtectiveEquipmentPerson.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topersons(List<ProtectiveEquipmentPerson>).- Parameters:
persons- a consumer that will call methods onProtectiveEquipmentPerson.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
summary
Summary information for the types of PPE specified in the
SummarizationAttributesinput parameter.- Parameters:
summary- Summary information for the types of PPE specified in theSummarizationAttributesinput parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
summary
default DetectProtectiveEquipmentResponse.Builder summary(Consumer<ProtectiveEquipmentSummary.Builder> summary) Summary information for the types of PPE specified in the
This is a convenience method that creates an instance of theSummarizationAttributesinput parameter.ProtectiveEquipmentSummary.Builderavoiding the need to create one manually viaProtectiveEquipmentSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosummary(ProtectiveEquipmentSummary).- Parameters:
summary- a consumer that will call methods onProtectiveEquipmentSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-