/*
* Copyright 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.
*/
/*
* Do not modify this file. This file is generated from the glue-2017-03-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Glue.Model
{
///
/// Specifies an Glue Data Catalog target.
///
public partial class CatalogTarget
{
private string _connectionName;
private string _databaseName;
private string _dlqEventQueueArn;
private string _eventQueueArn;
private List _tables = new List();
///
/// Gets and sets the property ConnectionName.
///
/// The name of the connection for an Amazon S3-backed Data Catalog table to be a target
/// of the crawl when using a Catalog
connection type paired with a NETWORK
/// Connection type.
///
///
public string ConnectionName
{
get { return this._connectionName; }
set { this._connectionName = value; }
}
// Check to see if ConnectionName property is set
internal bool IsSetConnectionName()
{
return this._connectionName != null;
}
///
/// Gets and sets the property DatabaseName.
///
/// The name of the database to be synchronized.
///
///
[AWSProperty(Required=true, Min=1, Max=255)]
public string DatabaseName
{
get { return this._databaseName; }
set { this._databaseName = value; }
}
// Check to see if DatabaseName property is set
internal bool IsSetDatabaseName()
{
return this._databaseName != null;
}
///
/// Gets and sets the property DlqEventQueueArn.
///
/// A valid Amazon dead-letter SQS ARN. For example, arn:aws:sqs:region:account:deadLetterQueue
.
///
///
public string DlqEventQueueArn
{
get { return this._dlqEventQueueArn; }
set { this._dlqEventQueueArn = value; }
}
// Check to see if DlqEventQueueArn property is set
internal bool IsSetDlqEventQueueArn()
{
return this._dlqEventQueueArn != null;
}
///
/// Gets and sets the property EventQueueArn.
///
/// A valid Amazon SQS ARN. For example, arn:aws:sqs:region:account:sqs
.
///
///
public string EventQueueArn
{
get { return this._eventQueueArn; }
set { this._eventQueueArn = value; }
}
// Check to see if EventQueueArn property is set
internal bool IsSetEventQueueArn()
{
return this._eventQueueArn != null;
}
///
/// Gets and sets the property Tables.
///
/// A list of the tables to be synchronized.
///
///
[AWSProperty(Required=true, Min=1)]
public List Tables
{
get { return this._tables; }
set { this._tables = value; }
}
// Check to see if Tables property is set
internal bool IsSetTables()
{
return this._tables != null && this._tables.Count > 0;
}
}
}