/* * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ package com.amazonaws.services.rekognition.model; import java.io.Serializable; public class DetectProtectiveEquipmentResult implements Serializable { /** *
* The version number of the PPE detection model used to detect PPE in the * image. *
*/ private String protectiveEquipmentModelVersion; /** ** An array of persons detected in the image (including persons not wearing * PPE). *
*/ private java.util.List
* Summary information for the types of PPE specified in the
* SummarizationAttributes
input parameter.
*
* The version number of the PPE detection model used to detect PPE in the * image. *
* * @return* The version number of the PPE detection model used to detect PPE * in the image. *
*/ public String getProtectiveEquipmentModelVersion() { return protectiveEquipmentModelVersion; } /** ** The version number of the PPE detection model used to detect PPE in the * image. *
* * @param protectiveEquipmentModelVersion* The version number of the PPE detection model used to detect * PPE in the image. *
*/ public void setProtectiveEquipmentModelVersion(String protectiveEquipmentModelVersion) { this.protectiveEquipmentModelVersion = protectiveEquipmentModelVersion; } /** ** The version number of the PPE detection model used to detect PPE in the * image. *
** Returns a reference to this object so that method calls can be chained * together. * * @param protectiveEquipmentModelVersion
* The version number of the PPE detection model used to detect * PPE in the image. *
* @return A reference to this updated object so that method calls can be * chained together. */ public DetectProtectiveEquipmentResult withProtectiveEquipmentModelVersion( String protectiveEquipmentModelVersion) { this.protectiveEquipmentModelVersion = protectiveEquipmentModelVersion; return this; } /** ** An array of persons detected in the image (including persons not wearing * PPE). *
* * @return* An array of persons detected in the image (including persons not * wearing PPE). *
*/ public java.util.List* An array of persons detected in the image (including persons not wearing * PPE). *
* * @param persons* An array of persons detected in the image (including persons * not wearing PPE). *
*/ public void setPersons(java.util.Collection* An array of persons detected in the image (including persons not wearing * PPE). *
** Returns a reference to this object so that method calls can be chained * together. * * @param persons
* An array of persons detected in the image (including persons * not wearing PPE). *
* @return A reference to this updated object so that method calls can be * chained together. */ public DetectProtectiveEquipmentResult withPersons(ProtectiveEquipmentPerson... persons) { if (getPersons() == null) { this.persons = new java.util.ArrayList* An array of persons detected in the image (including persons not wearing * PPE). *
** Returns a reference to this object so that method calls can be chained * together. * * @param persons
* An array of persons detected in the image (including persons * not wearing PPE). *
* @return A reference to this updated object so that method calls can be * chained together. */ public DetectProtectiveEquipmentResult withPersons( java.util.Collection
* Summary information for the types of PPE specified in the
* SummarizationAttributes
input parameter.
*
* Summary information for the types of PPE specified in the
* SummarizationAttributes
input parameter.
*
* Summary information for the types of PPE specified in the
* SummarizationAttributes
input parameter.
*
* Summary information for the types of PPE specified in the
* SummarizationAttributes
input parameter.
*
* Summary information for the types of PPE specified in the
* SummarizationAttributes
input parameter.
*
* Returns a reference to this object so that method calls can be chained * together. * * @param summary
* Summary information for the types of PPE specified in the
* SummarizationAttributes
input parameter.
*