Interface DetectProtectiveEquipmentResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DetectProtectiveEquipmentResponse.Builder,DetectProtectiveEquipmentResponse>,RekognitionResponse.Builder,SdkBuilder<DetectProtectiveEquipmentResponse.Builder,DetectProtectiveEquipmentResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DetectProtectiveEquipmentResponse
public static interface DetectProtectiveEquipmentResponse.Builder extends RekognitionResponse.Builder, SdkPojo, CopyableBuilder<DetectProtectiveEquipmentResponse.Builder,DetectProtectiveEquipmentResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DetectProtectiveEquipmentResponse.Builderpersons(Collection<ProtectiveEquipmentPerson> persons)An array of persons detected in the image (including persons not wearing PPE).DetectProtectiveEquipmentResponse.Builderpersons(Consumer<ProtectiveEquipmentPerson.Builder>... persons)An array of persons detected in the image (including persons not wearing PPE).DetectProtectiveEquipmentResponse.Builderpersons(ProtectiveEquipmentPerson... persons)An array of persons detected in the image (including persons not wearing PPE).DetectProtectiveEquipmentResponse.BuilderprotectiveEquipmentModelVersion(String protectiveEquipmentModelVersion)The version number of the PPE detection model used to detect PPE in the image.default DetectProtectiveEquipmentResponse.Buildersummary(Consumer<ProtectiveEquipmentSummary.Builder> summary)Summary information for the types of PPE specified in theSummarizationAttributesinput parameter.DetectProtectiveEquipmentResponse.Buildersummary(ProtectiveEquipmentSummary summary)Summary information for the types of PPE specified in theSummarizationAttributesinput parameter.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.rekognition.model.RekognitionResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
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
DetectProtectiveEquipmentResponse.Builder persons(Collection<ProtectiveEquipmentPerson> 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(ProtectiveEquipmentPerson... 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 to#persons(List.) - 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:
#persons(java.util.Collection)
-
summary
DetectProtectiveEquipmentResponse.Builder summary(ProtectiveEquipmentSummary 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:
summary(ProtectiveEquipmentSummary)
-
-