/* * 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 emr-containers-2020-10-01.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.EMRContainers.Model { /// /// This entity represents the endpoint that is managed by Amazon EMR on EKS. /// public partial class Endpoint { private string _arn; private string _certificateArn; private Certificate _certificateAuthority; private ConfigurationOverrides _configurationOverrides; private DateTime? _createdAt; private string _executionRoleArn; private FailureReason _failureReason; private string _id; private string _name; private string _releaseLabel; private string _securityGroup; private string _serverUrl; private EndpointState _state; private string _stateDetails; private List _subnetIds = new List(); private Dictionary _tags = new Dictionary(); private string _type; private string _virtualClusterId; /// /// Gets and sets the property Arn. /// /// The ARN of the endpoint. /// /// [AWSProperty(Min=60, Max=1024)] public string Arn { get { return this._arn; } set { this._arn = value; } } // Check to see if Arn property is set internal bool IsSetArn() { return this._arn != null; } /// /// Gets and sets the property CertificateArn. /// /// The certificate ARN of the endpoint. This field is under deprecation and will be removed /// in future. /// /// [Obsolete("Customer provided certificate-arn is deprecated and would be removed in future.")] [AWSProperty(Min=44, Max=2048)] public string CertificateArn { get { return this._certificateArn; } set { this._certificateArn = value; } } // Check to see if CertificateArn property is set internal bool IsSetCertificateArn() { return this._certificateArn != null; } /// /// Gets and sets the property CertificateAuthority. /// /// The certificate generated by emr control plane on customer behalf to secure the managed /// endpoint. /// /// public Certificate CertificateAuthority { get { return this._certificateAuthority; } set { this._certificateAuthority = value; } } // Check to see if CertificateAuthority property is set internal bool IsSetCertificateAuthority() { return this._certificateAuthority != null; } /// /// Gets and sets the property ConfigurationOverrides. /// /// The configuration settings that are used to override existing configurations for endpoints. /// /// public ConfigurationOverrides ConfigurationOverrides { get { return this._configurationOverrides; } set { this._configurationOverrides = value; } } // Check to see if ConfigurationOverrides property is set internal bool IsSetConfigurationOverrides() { return this._configurationOverrides != null; } /// /// Gets and sets the property CreatedAt. /// /// The date and time when the endpoint was created. /// /// public DateTime CreatedAt { get { return this._createdAt.GetValueOrDefault(); } set { this._createdAt = value; } } // Check to see if CreatedAt property is set internal bool IsSetCreatedAt() { return this._createdAt.HasValue; } /// /// Gets and sets the property ExecutionRoleArn. /// /// The execution role ARN of the endpoint. /// /// [AWSProperty(Min=20, Max=2048)] public string ExecutionRoleArn { get { return this._executionRoleArn; } set { this._executionRoleArn = value; } } // Check to see if ExecutionRoleArn property is set internal bool IsSetExecutionRoleArn() { return this._executionRoleArn != null; } /// /// Gets and sets the property FailureReason. /// /// The reasons why the endpoint has failed. /// /// public FailureReason 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 Id. /// /// The ID of the endpoint. /// /// [AWSProperty(Min=1, Max=64)] public string Id { get { return this._id; } set { this._id = value; } } // Check to see if Id property is set internal bool IsSetId() { return this._id != null; } /// /// Gets and sets the property Name. /// /// The name of the endpoint. /// /// [AWSProperty(Min=1, Max=64)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// /// Gets and sets the property ReleaseLabel. /// /// The EMR release version to be used for the endpoint. /// /// [AWSProperty(Min=1, Max=64)] public string ReleaseLabel { get { return this._releaseLabel; } set { this._releaseLabel = value; } } // Check to see if ReleaseLabel property is set internal bool IsSetReleaseLabel() { return this._releaseLabel != null; } /// /// Gets and sets the property SecurityGroup. /// /// The security group configuration of the endpoint. /// /// [AWSProperty(Min=1, Max=256)] public string SecurityGroup { get { return this._securityGroup; } set { this._securityGroup = value; } } // Check to see if SecurityGroup property is set internal bool IsSetSecurityGroup() { return this._securityGroup != null; } /// /// Gets and sets the property ServerUrl. /// /// The server URL of the endpoint. /// /// [AWSProperty(Min=1, Max=10280)] public string ServerUrl { get { return this._serverUrl; } set { this._serverUrl = value; } } // Check to see if ServerUrl property is set internal bool IsSetServerUrl() { return this._serverUrl != null; } /// /// Gets and sets the property State. /// /// The state of the endpoint. /// /// public EndpointState State { get { return this._state; } set { this._state = value; } } // Check to see if State property is set internal bool IsSetState() { return this._state != null; } /// /// Gets and sets the property StateDetails. /// /// Additional details of the endpoint state. /// /// [AWSProperty(Min=1, Max=256)] public string StateDetails { get { return this._stateDetails; } set { this._stateDetails = value; } } // Check to see if StateDetails property is set internal bool IsSetStateDetails() { return this._stateDetails != null; } /// /// Gets and sets the property SubnetIds. /// /// The subnet IDs of the endpoint. /// /// public List SubnetIds { get { return this._subnetIds; } set { this._subnetIds = value; } } // Check to see if SubnetIds property is set internal bool IsSetSubnetIds() { return this._subnetIds != null && this._subnetIds.Count > 0; } /// /// Gets and sets the property Tags. /// /// The tags of the endpoint. /// /// [AWSProperty(Min=0, Max=50)] public Dictionary Tags { get { return this._tags; } set { this._tags = value; } } // Check to see if Tags property is set internal bool IsSetTags() { return this._tags != null && this._tags.Count > 0; } /// /// Gets and sets the property Type. /// /// The type of the endpoint. /// /// [AWSProperty(Min=1, Max=64)] public string Type { get { return this._type; } set { this._type = value; } } // Check to see if Type property is set internal bool IsSetType() { return this._type != null; } /// /// Gets and sets the property VirtualClusterId. /// /// The ID of the endpoint's virtual cluster. /// /// [AWSProperty(Min=1, Max=64)] public string VirtualClusterId { get { return this._virtualClusterId; } set { this._virtualClusterId = value; } } // Check to see if VirtualClusterId property is set internal bool IsSetVirtualClusterId() { return this._virtualClusterId != null; } } }