/* * 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.glue.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Specifies data stores to crawl. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class CrawlerTargets implements Serializable, Cloneable, StructuredPojo { /** ** Specifies Amazon Simple Storage Service (Amazon S3) targets. *
*/ private java.util.List* Specifies JDBC targets. *
*/ private java.util.List* Specifies Amazon DocumentDB or MongoDB targets. *
*/ private java.util.List* Specifies Amazon DynamoDB targets. *
*/ private java.util.List* Specifies Glue Data Catalog targets. *
*/ private java.util.List* Specifies Delta data store targets. *
*/ private java.util.List* Specifies Apache Iceberg data store targets. *
*/ private java.util.List* Specifies Apache Hudi data store targets. *
*/ private java.util.List* Specifies Amazon Simple Storage Service (Amazon S3) targets. *
* * @return Specifies Amazon Simple Storage Service (Amazon S3) targets. */ public java.util.List* Specifies Amazon Simple Storage Service (Amazon S3) targets. *
* * @param s3Targets * Specifies Amazon Simple Storage Service (Amazon S3) targets. */ public void setS3Targets(java.util.Collection* Specifies Amazon Simple Storage Service (Amazon S3) targets. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setS3Targets(java.util.Collection)} or {@link #withS3Targets(java.util.Collection)} if you want to * override the existing values. *
* * @param s3Targets * Specifies Amazon Simple Storage Service (Amazon S3) targets. * @return Returns a reference to this object so that method calls can be chained together. */ public CrawlerTargets withS3Targets(S3Target... s3Targets) { if (this.s3Targets == null) { setS3Targets(new java.util.ArrayList* Specifies Amazon Simple Storage Service (Amazon S3) targets. *
* * @param s3Targets * Specifies Amazon Simple Storage Service (Amazon S3) targets. * @return Returns a reference to this object so that method calls can be chained together. */ public CrawlerTargets withS3Targets(java.util.Collection* Specifies JDBC targets. *
* * @return Specifies JDBC targets. */ public java.util.List* Specifies JDBC targets. *
* * @param jdbcTargets * Specifies JDBC targets. */ public void setJdbcTargets(java.util.Collection* Specifies JDBC targets. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setJdbcTargets(java.util.Collection)} or {@link #withJdbcTargets(java.util.Collection)} if you want to * override the existing values. *
* * @param jdbcTargets * Specifies JDBC targets. * @return Returns a reference to this object so that method calls can be chained together. */ public CrawlerTargets withJdbcTargets(JdbcTarget... jdbcTargets) { if (this.jdbcTargets == null) { setJdbcTargets(new java.util.ArrayList* Specifies JDBC targets. *
* * @param jdbcTargets * Specifies JDBC targets. * @return Returns a reference to this object so that method calls can be chained together. */ public CrawlerTargets withJdbcTargets(java.util.Collection* Specifies Amazon DocumentDB or MongoDB targets. *
* * @return Specifies Amazon DocumentDB or MongoDB targets. */ public java.util.List* Specifies Amazon DocumentDB or MongoDB targets. *
* * @param mongoDBTargets * Specifies Amazon DocumentDB or MongoDB targets. */ public void setMongoDBTargets(java.util.Collection* Specifies Amazon DocumentDB or MongoDB targets. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setMongoDBTargets(java.util.Collection)} or {@link #withMongoDBTargets(java.util.Collection)} if you want * to override the existing values. *
* * @param mongoDBTargets * Specifies Amazon DocumentDB or MongoDB targets. * @return Returns a reference to this object so that method calls can be chained together. */ public CrawlerTargets withMongoDBTargets(MongoDBTarget... mongoDBTargets) { if (this.mongoDBTargets == null) { setMongoDBTargets(new java.util.ArrayList* Specifies Amazon DocumentDB or MongoDB targets. *
* * @param mongoDBTargets * Specifies Amazon DocumentDB or MongoDB targets. * @return Returns a reference to this object so that method calls can be chained together. */ public CrawlerTargets withMongoDBTargets(java.util.Collection* Specifies Amazon DynamoDB targets. *
* * @return Specifies Amazon DynamoDB targets. */ public java.util.List* Specifies Amazon DynamoDB targets. *
* * @param dynamoDBTargets * Specifies Amazon DynamoDB targets. */ public void setDynamoDBTargets(java.util.Collection* Specifies Amazon DynamoDB targets. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setDynamoDBTargets(java.util.Collection)} or {@link #withDynamoDBTargets(java.util.Collection)} if you * want to override the existing values. *
* * @param dynamoDBTargets * Specifies Amazon DynamoDB targets. * @return Returns a reference to this object so that method calls can be chained together. */ public CrawlerTargets withDynamoDBTargets(DynamoDBTarget... dynamoDBTargets) { if (this.dynamoDBTargets == null) { setDynamoDBTargets(new java.util.ArrayList* Specifies Amazon DynamoDB targets. *
* * @param dynamoDBTargets * Specifies Amazon DynamoDB targets. * @return Returns a reference to this object so that method calls can be chained together. */ public CrawlerTargets withDynamoDBTargets(java.util.Collection* Specifies Glue Data Catalog targets. *
* * @return Specifies Glue Data Catalog targets. */ public java.util.List* Specifies Glue Data Catalog targets. *
* * @param catalogTargets * Specifies Glue Data Catalog targets. */ public void setCatalogTargets(java.util.Collection* Specifies Glue Data Catalog targets. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setCatalogTargets(java.util.Collection)} or {@link #withCatalogTargets(java.util.Collection)} if you want * to override the existing values. *
* * @param catalogTargets * Specifies Glue Data Catalog targets. * @return Returns a reference to this object so that method calls can be chained together. */ public CrawlerTargets withCatalogTargets(CatalogTarget... catalogTargets) { if (this.catalogTargets == null) { setCatalogTargets(new java.util.ArrayList* Specifies Glue Data Catalog targets. *
* * @param catalogTargets * Specifies Glue Data Catalog targets. * @return Returns a reference to this object so that method calls can be chained together. */ public CrawlerTargets withCatalogTargets(java.util.Collection* Specifies Delta data store targets. *
* * @return Specifies Delta data store targets. */ public java.util.List* Specifies Delta data store targets. *
* * @param deltaTargets * Specifies Delta data store targets. */ public void setDeltaTargets(java.util.Collection* Specifies Delta data store targets. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setDeltaTargets(java.util.Collection)} or {@link #withDeltaTargets(java.util.Collection)} if you want to * override the existing values. *
* * @param deltaTargets * Specifies Delta data store targets. * @return Returns a reference to this object so that method calls can be chained together. */ public CrawlerTargets withDeltaTargets(DeltaTarget... deltaTargets) { if (this.deltaTargets == null) { setDeltaTargets(new java.util.ArrayList* Specifies Delta data store targets. *
* * @param deltaTargets * Specifies Delta data store targets. * @return Returns a reference to this object so that method calls can be chained together. */ public CrawlerTargets withDeltaTargets(java.util.Collection* Specifies Apache Iceberg data store targets. *
* * @return Specifies Apache Iceberg data store targets. */ public java.util.List* Specifies Apache Iceberg data store targets. *
* * @param icebergTargets * Specifies Apache Iceberg data store targets. */ public void setIcebergTargets(java.util.Collection* Specifies Apache Iceberg data store targets. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setIcebergTargets(java.util.Collection)} or {@link #withIcebergTargets(java.util.Collection)} if you want * to override the existing values. *
* * @param icebergTargets * Specifies Apache Iceberg data store targets. * @return Returns a reference to this object so that method calls can be chained together. */ public CrawlerTargets withIcebergTargets(IcebergTarget... icebergTargets) { if (this.icebergTargets == null) { setIcebergTargets(new java.util.ArrayList* Specifies Apache Iceberg data store targets. *
* * @param icebergTargets * Specifies Apache Iceberg data store targets. * @return Returns a reference to this object so that method calls can be chained together. */ public CrawlerTargets withIcebergTargets(java.util.Collection* Specifies Apache Hudi data store targets. *
* * @return Specifies Apache Hudi data store targets. */ public java.util.List* Specifies Apache Hudi data store targets. *
* * @param hudiTargets * Specifies Apache Hudi data store targets. */ public void setHudiTargets(java.util.Collection* Specifies Apache Hudi data store targets. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setHudiTargets(java.util.Collection)} or {@link #withHudiTargets(java.util.Collection)} if you want to * override the existing values. *
* * @param hudiTargets * Specifies Apache Hudi data store targets. * @return Returns a reference to this object so that method calls can be chained together. */ public CrawlerTargets withHudiTargets(HudiTarget... hudiTargets) { if (this.hudiTargets == null) { setHudiTargets(new java.util.ArrayList* Specifies Apache Hudi data store targets. *
* * @param hudiTargets * Specifies Apache Hudi data store targets. * @return Returns a reference to this object so that method calls can be chained together. */ public CrawlerTargets withHudiTargets(java.util.Collection