/* * 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 DeleteFacesResult implements Serializable { /** *
* An array of strings (face IDs) of the faces that were deleted. *
*/ private java.util.List* An array of any faces that weren't deleted. *
*/ private java.util.List* An array of strings (face IDs) of the faces that were deleted. *
* * @return* An array of strings (face IDs) of the faces that were deleted. *
*/ public java.util.List* An array of strings (face IDs) of the faces that were deleted. *
* * @param deletedFaces* An array of strings (face IDs) of the faces that were deleted. *
*/ public void setDeletedFaces(java.util.Collection* An array of strings (face IDs) of the faces that were deleted. *
** Returns a reference to this object so that method calls can be chained * together. * * @param deletedFaces
* An array of strings (face IDs) of the faces that were deleted. *
* @return A reference to this updated object so that method calls can be * chained together. */ public DeleteFacesResult withDeletedFaces(String... deletedFaces) { if (getDeletedFaces() == null) { this.deletedFaces = new java.util.ArrayList* An array of strings (face IDs) of the faces that were deleted. *
** Returns a reference to this object so that method calls can be chained * together. * * @param deletedFaces
* An array of strings (face IDs) of the faces that were deleted. *
* @return A reference to this updated object so that method calls can be * chained together. */ public DeleteFacesResult withDeletedFaces(java.util.Collection* An array of any faces that weren't deleted. *
* * @return* An array of any faces that weren't deleted. *
*/ public java.util.List* An array of any faces that weren't deleted. *
* * @param unsuccessfulFaceDeletions* An array of any faces that weren't deleted. *
*/ public void setUnsuccessfulFaceDeletions( java.util.Collection* An array of any faces that weren't deleted. *
** Returns a reference to this object so that method calls can be chained * together. * * @param unsuccessfulFaceDeletions
* An array of any faces that weren't deleted. *
* @return A reference to this updated object so that method calls can be * chained together. */ public DeleteFacesResult withUnsuccessfulFaceDeletions( UnsuccessfulFaceDeletion... unsuccessfulFaceDeletions) { if (getUnsuccessfulFaceDeletions() == null) { this.unsuccessfulFaceDeletions = new java.util.ArrayList* An array of any faces that weren't deleted. *
** Returns a reference to this object so that method calls can be chained * together. * * @param unsuccessfulFaceDeletions
* An array of any faces that weren't deleted. *
* @return A reference to this updated object so that method calls can be * chained together. */ public DeleteFacesResult withUnsuccessfulFaceDeletions( java.util.Collection