/* * 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; /** *

* The database and table in the Glue Data Catalog that is used for input or output data. *

* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class GlueTable implements Serializable, Cloneable, StructuredPojo { /** *

* A database name in the Glue Data Catalog. *

*/ private String databaseName; /** *

* A table name in the Glue Data Catalog. *

*/ private String tableName; /** *

* A unique identifier for the Glue Data Catalog. *

*/ private String catalogId; /** *

* The name of the connection to the Glue Data Catalog. *

*/ private String connectionName; /** *

* Additional options for the table. Currently there are two keys supported: *

* */ private java.util.Map additionalOptions; /** *

* A database name in the Glue Data Catalog. *

* * @param databaseName * A database name in the Glue Data Catalog. */ public void setDatabaseName(String databaseName) { this.databaseName = databaseName; } /** *

* A database name in the Glue Data Catalog. *

* * @return A database name in the Glue Data Catalog. */ public String getDatabaseName() { return this.databaseName; } /** *

* A database name in the Glue Data Catalog. *

* * @param databaseName * A database name in the Glue Data Catalog. * @return Returns a reference to this object so that method calls can be chained together. */ public GlueTable withDatabaseName(String databaseName) { setDatabaseName(databaseName); return this; } /** *

* A table name in the Glue Data Catalog. *

* * @param tableName * A table name in the Glue Data Catalog. */ public void setTableName(String tableName) { this.tableName = tableName; } /** *

* A table name in the Glue Data Catalog. *

* * @return A table name in the Glue Data Catalog. */ public String getTableName() { return this.tableName; } /** *

* A table name in the Glue Data Catalog. *

* * @param tableName * A table name in the Glue Data Catalog. * @return Returns a reference to this object so that method calls can be chained together. */ public GlueTable withTableName(String tableName) { setTableName(tableName); return this; } /** *

* A unique identifier for the Glue Data Catalog. *

* * @param catalogId * A unique identifier for the Glue Data Catalog. */ public void setCatalogId(String catalogId) { this.catalogId = catalogId; } /** *

* A unique identifier for the Glue Data Catalog. *

* * @return A unique identifier for the Glue Data Catalog. */ public String getCatalogId() { return this.catalogId; } /** *

* A unique identifier for the Glue Data Catalog. *

* * @param catalogId * A unique identifier for the Glue Data Catalog. * @return Returns a reference to this object so that method calls can be chained together. */ public GlueTable withCatalogId(String catalogId) { setCatalogId(catalogId); return this; } /** *

* The name of the connection to the Glue Data Catalog. *

* * @param connectionName * The name of the connection to the Glue Data Catalog. */ public void setConnectionName(String connectionName) { this.connectionName = connectionName; } /** *

* The name of the connection to the Glue Data Catalog. *

* * @return The name of the connection to the Glue Data Catalog. */ public String getConnectionName() { return this.connectionName; } /** *

* The name of the connection to the Glue Data Catalog. *

* * @param connectionName * The name of the connection to the Glue Data Catalog. * @return Returns a reference to this object so that method calls can be chained together. */ public GlueTable withConnectionName(String connectionName) { setConnectionName(connectionName); return this; } /** *

* Additional options for the table. Currently there are two keys supported: *

* * * @return Additional options for the table. Currently there are two keys supported:

*