/* * Copyright 2018-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.textract.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Contains information regarding DocumentGroups and UndetectedDocumentTypes. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class LendingSummary implements Serializable, Cloneable, StructuredPojo { /** ** Contains an array of all DocumentGroup objects. *
*/ private java.util.List* UndetectedDocumentTypes. *
*/ private java.util.List* Contains an array of all DocumentGroup objects. *
* * @return Contains an array of all DocumentGroup objects. */ public java.util.List* Contains an array of all DocumentGroup objects. *
* * @param documentGroups * Contains an array of all DocumentGroup objects. */ public void setDocumentGroups(java.util.Collection* Contains an array of all DocumentGroup objects. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setDocumentGroups(java.util.Collection)} or {@link #withDocumentGroups(java.util.Collection)} if you want * to override the existing values. *
* * @param documentGroups * Contains an array of all DocumentGroup objects. * @return Returns a reference to this object so that method calls can be chained together. */ public LendingSummary withDocumentGroups(DocumentGroup... documentGroups) { if (this.documentGroups == null) { setDocumentGroups(new java.util.ArrayList* Contains an array of all DocumentGroup objects. *
* * @param documentGroups * Contains an array of all DocumentGroup objects. * @return Returns a reference to this object so that method calls can be chained together. */ public LendingSummary withDocumentGroups(java.util.Collection* UndetectedDocumentTypes. *
* * @return UndetectedDocumentTypes. */ public java.util.List* UndetectedDocumentTypes. *
* * @param undetectedDocumentTypes * UndetectedDocumentTypes. */ public void setUndetectedDocumentTypes(java.util.Collection* UndetectedDocumentTypes. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setUndetectedDocumentTypes(java.util.Collection)} or * {@link #withUndetectedDocumentTypes(java.util.Collection)} if you want to override the existing values. *
* * @param undetectedDocumentTypes * UndetectedDocumentTypes. * @return Returns a reference to this object so that method calls can be chained together. */ public LendingSummary withUndetectedDocumentTypes(String... undetectedDocumentTypes) { if (this.undetectedDocumentTypes == null) { setUndetectedDocumentTypes(new java.util.ArrayList* UndetectedDocumentTypes. *
* * @param undetectedDocumentTypes * UndetectedDocumentTypes. * @return Returns a reference to this object so that method calls can be chained together. */ public LendingSummary withUndetectedDocumentTypes(java.util.Collection