/* * 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.appintegrations.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* The configuration for what files should be pulled from the source. *
* * @see AWS * API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class FileConfiguration implements Serializable, Cloneable, StructuredPojo { /** ** Identifiers for the source folders to pull all files from recursively. *
*/ private java.util.List* Restrictions for what files should be pulled from the source. *
*/ private java.util.Map* Identifiers for the source folders to pull all files from recursively. *
* * @return Identifiers for the source folders to pull all files from recursively. */ public java.util.List* Identifiers for the source folders to pull all files from recursively. *
* * @param folders * Identifiers for the source folders to pull all files from recursively. */ public void setFolders(java.util.Collection* Identifiers for the source folders to pull all files from recursively. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setFolders(java.util.Collection)} or {@link #withFolders(java.util.Collection)} if you want to override * the existing values. *
* * @param folders * Identifiers for the source folders to pull all files from recursively. * @return Returns a reference to this object so that method calls can be chained together. */ public FileConfiguration withFolders(String... folders) { if (this.folders == null) { setFolders(new java.util.ArrayList* Identifiers for the source folders to pull all files from recursively. *
* * @param folders * Identifiers for the source folders to pull all files from recursively. * @return Returns a reference to this object so that method calls can be chained together. */ public FileConfiguration withFolders(java.util.Collection* Restrictions for what files should be pulled from the source. *
* * @return Restrictions for what files should be pulled from the source. */ public java.util.Map* Restrictions for what files should be pulled from the source. *
* * @param filters * Restrictions for what files should be pulled from the source. */ public void setFilters(java.util.Map* Restrictions for what files should be pulled from the source. *
* * @param filters * Restrictions for what files should be pulled from the source. * @return Returns a reference to this object so that method calls can be chained together. */ public FileConfiguration withFilters(java.util.Map