/*
* 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
{
///
/// This is the response object from the CreateDevEndpoint operation.
///
public partial class CreateDevEndpointResponse : AmazonWebServiceResponse
{
private Dictionary _arguments = new Dictionary();
private string _availabilityZone;
private DateTime? _createdTimestamp;
private string _endpointName;
private string _extraJarsS3Path;
private string _extraPythonLibsS3Path;
private string _failureReason;
private string _glueVersion;
private int? _numberOfNodes;
private int? _numberOfWorkers;
private string _roleArn;
private string _securityConfiguration;
private List _securityGroupIds = new List();
private string _status;
private string _subnetId;
private string _vpcId;
private WorkerType _workerType;
private string _yarnEndpointAddress;
private int? _zeppelinRemoteSparkInterpreterPort;
///
/// Gets and sets the property Arguments.
///
/// The map of arguments used to configure this 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 Arguments
{
get { return this._arguments; }
set { this._arguments = value; }
}
// Check to see if Arguments property is set
internal bool IsSetArguments()
{
return this._arguments != null && this._arguments.Count > 0;
}
///
/// Gets and sets the property AvailabilityZone.
///
/// The Amazon Web Services Availability Zone where this DevEndpoint
is located.
///
///
public string AvailabilityZone
{
get { return this._availabilityZone; }
set { this._availabilityZone = value; }
}
// Check to see if AvailabilityZone property is set
internal bool IsSetAvailabilityZone()
{
return this._availabilityZone != null;
}
///
/// Gets and sets the property CreatedTimestamp.
///
/// The point in time at which this DevEndpoint
was created.
///
///
public DateTime CreatedTimestamp
{
get { return this._createdTimestamp.GetValueOrDefault(); }
set { this._createdTimestamp = value; }
}
// Check to see if CreatedTimestamp property is set
internal bool IsSetCreatedTimestamp()
{
return this._createdTimestamp.HasValue;
}
///
/// Gets and sets the property EndpointName.
///
/// The name assigned to the new DevEndpoint
.
///
///
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 ExtraJarsS3Path.
///
/// Path to one or more Java .jar
files in an S3 bucket that will be loaded
/// in your DevEndpoint
.
///
///
public string ExtraJarsS3Path
{
get { return this._extraJarsS3Path; }
set { this._extraJarsS3Path = value; }
}
// Check to see if ExtraJarsS3Path property is set
internal bool IsSetExtraJarsS3Path()
{
return this._extraJarsS3Path != null;
}
///
/// Gets and sets the property ExtraPythonLibsS3Path.
///
/// The paths to one or more Python libraries in an S3 bucket that will be loaded in your
/// DevEndpoint
.
///
///
public string ExtraPythonLibsS3Path
{
get { return this._extraPythonLibsS3Path; }
set { this._extraPythonLibsS3Path = value; }
}
// Check to see if ExtraPythonLibsS3Path property is set
internal bool IsSetExtraPythonLibsS3Path()
{
return this._extraPythonLibsS3Path != null;
}
///
/// Gets and sets the property FailureReason.
///
/// The reason for a current failure in this DevEndpoint
.
///
///
public string FailureReason
{
get { return this._failureReason; }
set { this._failureReason = value; }
}
// Check to see if FailureReason property is set
internal bool IsSetFailureReason()
{
return this._failureReason != null;
}
///
/// Gets and sets the property GlueVersion.
///
/// Glue version determines the versions of Apache Spark and Python that Glue supports.
/// The Python version indicates the version supported for running your ETL scripts on
/// development endpoints.
///
///
///
/// For more information about the available Glue versions and corresponding Spark and
/// Python versions, see Glue
/// version in the developer guide.
///
///
[AWSProperty(Min=1, Max=255)]
public string GlueVersion
{
get { return this._glueVersion; }
set { this._glueVersion = value; }
}
// Check to see if GlueVersion property is set
internal bool IsSetGlueVersion()
{
return this._glueVersion != null;
}
///
/// Gets and sets the property NumberOfNodes.
///
/// The number of Glue Data Processing Units (DPUs) allocated to this DevEndpoint.
///
///
public int NumberOfNodes
{
get { return this._numberOfNodes.GetValueOrDefault(); }
set { this._numberOfNodes = value; }
}
// Check to see if NumberOfNodes property is set
internal bool IsSetNumberOfNodes()
{
return this._numberOfNodes.HasValue;
}
///
/// Gets and sets the property NumberOfWorkers.
///
/// The number of workers of a defined workerType
that are allocated to the
/// development endpoint.
///
///
public int NumberOfWorkers
{
get { return this._numberOfWorkers.GetValueOrDefault(); }
set { this._numberOfWorkers = value; }
}
// Check to see if NumberOfWorkers property is set
internal bool IsSetNumberOfWorkers()
{
return this._numberOfWorkers.HasValue;
}
///
/// Gets and sets the property RoleArn.
///
/// The Amazon Resource Name (ARN) of the role assigned to the new DevEndpoint
.
///
///
public string RoleArn
{
get { return this._roleArn; }
set { this._roleArn = value; }
}
// Check to see if RoleArn property is set
internal bool IsSetRoleArn()
{
return this._roleArn != null;
}
///
/// Gets and sets the property SecurityConfiguration.
///
/// The name of the SecurityConfiguration
structure being used with this
/// DevEndpoint
.
///
///
[AWSProperty(Min=1, Max=255)]
public string SecurityConfiguration
{
get { return this._securityConfiguration; }
set { this._securityConfiguration = value; }
}
// Check to see if SecurityConfiguration property is set
internal bool IsSetSecurityConfiguration()
{
return this._securityConfiguration != null;
}
///
/// Gets and sets the property SecurityGroupIds.
///
/// The security groups assigned to the new DevEndpoint
.
///
///
public List SecurityGroupIds
{
get { return this._securityGroupIds; }
set { this._securityGroupIds = value; }
}
// Check to see if SecurityGroupIds property is set
internal bool IsSetSecurityGroupIds()
{
return this._securityGroupIds != null && this._securityGroupIds.Count > 0;
}
///
/// Gets and sets the property Status.
///
/// The current status of the new DevEndpoint
.
///
///
public string Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
///
/// Gets and sets the property SubnetId.
///
/// The subnet ID assigned to the new DevEndpoint
.
///
///
public string SubnetId
{
get { return this._subnetId; }
set { this._subnetId = value; }
}
// Check to see if SubnetId property is set
internal bool IsSetSubnetId()
{
return this._subnetId != null;
}
///
/// Gets and sets the property VpcId.
///
/// The ID of the virtual private cloud (VPC) used by this DevEndpoint
.
///
///
public string VpcId
{
get { return this._vpcId; }
set { this._vpcId = value; }
}
// Check to see if VpcId property is set
internal bool IsSetVpcId()
{
return this._vpcId != null;
}
///
/// Gets and sets the property WorkerType.
///
/// The type of predefined worker that is allocated to the development endpoint. May be
/// a value of Standard, G.1X, or G.2X.
///
///
public WorkerType WorkerType
{
get { return this._workerType; }
set { this._workerType = value; }
}
// Check to see if WorkerType property is set
internal bool IsSetWorkerType()
{
return this._workerType != null;
}
///
/// Gets and sets the property YarnEndpointAddress.
///
/// The address of the YARN endpoint used by this DevEndpoint
.
///
///
public string YarnEndpointAddress
{
get { return this._yarnEndpointAddress; }
set { this._yarnEndpointAddress = value; }
}
// Check to see if YarnEndpointAddress property is set
internal bool IsSetYarnEndpointAddress()
{
return this._yarnEndpointAddress != null;
}
///
/// Gets and sets the property ZeppelinRemoteSparkInterpreterPort.
///
/// The Apache Zeppelin port for the remote Apache Spark interpreter.
///
///
public int ZeppelinRemoteSparkInterpreterPort
{
get { return this._zeppelinRemoteSparkInterpreterPort.GetValueOrDefault(); }
set { this._zeppelinRemoteSparkInterpreterPort = value; }
}
// Check to see if ZeppelinRemoteSparkInterpreterPort property is set
internal bool IsSetZeppelinRemoteSparkInterpreterPort()
{
return this._zeppelinRemoteSparkInterpreterPort.HasValue;
}
}
}