/*
* 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
{
///
/// Container for the parameters to the CreateManagedEndpoint operation.
/// Creates a managed endpoint. A managed endpoint is a gateway that connects Amazon EMR
/// Studio to Amazon EMR on EKS so that Amazon EMR Studio can communicate with your virtual
/// cluster.
///
public partial class CreateManagedEndpointRequest : AmazonEMRContainersRequest
{
private string _certificateArn;
private string _clientToken;
private ConfigurationOverrides _configurationOverrides;
private string _executionRoleArn;
private string _name;
private string _releaseLabel;
private Dictionary _tags = new Dictionary();
private string _type;
private string _virtualClusterId;
///
/// Gets and sets the property CertificateArn.
///
/// The certificate ARN provided by users for the managed endpoint. This field is under
/// deprecation and will be removed in future releases.
///
///
[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 ClientToken.
///
/// The client idempotency token for this create call.
///
///
[AWSProperty(Min=1, Max=64)]
public string ClientToken
{
get { return this._clientToken; }
set { this._clientToken = value; }
}
// Check to see if ClientToken property is set
internal bool IsSetClientToken()
{
return this._clientToken != null;
}
///
/// Gets and sets the property ConfigurationOverrides.
///
/// The configuration settings that will be used to override existing configurations.
///
///
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 ExecutionRoleArn.
///
/// The ARN of the execution role.
///
///
[AWSProperty(Required=true, 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 Name.
///
/// The name of the managed endpoint.
///
///
[AWSProperty(Required=true, 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 Amazon EMR release version.
///
///
[AWSProperty(Required=true, 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 Tags.
///
/// The tags of the managed 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 managed endpoint.
///
///
[AWSProperty(Required=true, 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 virtual cluster for which a managed endpoint is created.
///
///
[AWSProperty(Required=true, 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;
}
}
}