/*
* 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
{
///
/// Container for the parameters to the UpdateDevEndpoint operation.
/// Updates a specified development endpoint.
///
public partial class UpdateDevEndpointRequest : AmazonGlueRequest
{
private Dictionary _addArguments = new Dictionary();
private List _addPublicKeys = new List();
private DevEndpointCustomLibraries _customLibraries;
private List _deleteArguments = new List();
private List _deletePublicKeys = new List();
private string _endpointName;
private string _publicKey;
private bool? _updateEtlLibraries;
///
/// Gets and sets the property AddArguments.
///
/// The map of arguments to add the map of arguments used to configure the DevEndpoint
.
///
///
///
/// Valid arguments are:
///
/// -
///
///
"--enable-glue-datacatalog": ""
///
///
///
/// You can specify a version of Python support for development endpoints by using the
/// Arguments
parameter in the CreateDevEndpoint
or UpdateDevEndpoint
/// APIs. If no arguments are provided, the version defaults to Python 2.
///
///
[AWSProperty(Min=0, Max=100)]
public Dictionary AddArguments
{
get { return this._addArguments; }
set { this._addArguments = value; }
}
// Check to see if AddArguments property is set
internal bool IsSetAddArguments()
{
return this._addArguments != null && this._addArguments.Count > 0;
}
///
/// Gets and sets the property AddPublicKeys.
///
/// The list of public keys for the DevEndpoint
to use.
///
///
[AWSProperty(Max=5)]
public List AddPublicKeys
{
get { return this._addPublicKeys; }
set { this._addPublicKeys = value; }
}
// Check to see if AddPublicKeys property is set
internal bool IsSetAddPublicKeys()
{
return this._addPublicKeys != null && this._addPublicKeys.Count > 0;
}
///
/// Gets and sets the property CustomLibraries.
///
/// Custom Python or Java libraries to be loaded in the DevEndpoint
.
///
///
public DevEndpointCustomLibraries CustomLibraries
{
get { return this._customLibraries; }
set { this._customLibraries = value; }
}
// Check to see if CustomLibraries property is set
internal bool IsSetCustomLibraries()
{
return this._customLibraries != null;
}
///
/// Gets and sets the property DeleteArguments.
///
/// The list of argument keys to be deleted from the map of arguments used to configure
/// the DevEndpoint
.
///
///
public List DeleteArguments
{
get { return this._deleteArguments; }
set { this._deleteArguments = value; }
}
// Check to see if DeleteArguments property is set
internal bool IsSetDeleteArguments()
{
return this._deleteArguments != null && this._deleteArguments.Count > 0;
}
///
/// Gets and sets the property DeletePublicKeys.
///
/// The list of public keys to be deleted from the DevEndpoint
.
///
///
[AWSProperty(Max=5)]
public List DeletePublicKeys
{
get { return this._deletePublicKeys; }
set { this._deletePublicKeys = value; }
}
// Check to see if DeletePublicKeys property is set
internal bool IsSetDeletePublicKeys()
{
return this._deletePublicKeys != null && this._deletePublicKeys.Count > 0;
}
///
/// Gets and sets the property EndpointName.
///
/// The name of the DevEndpoint
to be updated.
///
///
[AWSProperty(Required=true)]
public string EndpointName
{
get { return this._endpointName; }
set { this._endpointName = value; }
}
// Check to see if EndpointName property is set
internal bool IsSetEndpointName()
{
return this._endpointName != null;
}
///
/// Gets and sets the property PublicKey.
///
/// The public key for the DevEndpoint
to use.
///
///
public string PublicKey
{
get { return this._publicKey; }
set { this._publicKey = value; }
}
// Check to see if PublicKey property is set
internal bool IsSetPublicKey()
{
return this._publicKey != null;
}
///
/// Gets and sets the property UpdateEtlLibraries.
///
/// True
if the list of custom libraries to be loaded in the development
/// endpoint needs to be updated, or False
if otherwise.
///
///
public bool UpdateEtlLibraries
{
get { return this._updateEtlLibraries.GetValueOrDefault(); }
set { this._updateEtlLibraries = value; }
}
// Check to see if UpdateEtlLibraries property is set
internal bool IsSetUpdateEtlLibraries()
{
return this._updateEtlLibraries.HasValue;
}
}
}