/*
* 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 elasticmapreduce-2009-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.ElasticMapReduce.Model
{
///
/// Details for an Amazon EMR Studio including ID, creation time, name, and so on.
///
public partial class Studio
{
private AuthMode _authMode;
private DateTime? _creationTime;
private string _defaultS3Location;
private string _description;
private string _engineSecurityGroupId;
private string _idpAuthUrl;
private string _idpRelayStateParameterName;
private string _name;
private string _serviceRole;
private string _studioArn;
private string _studioId;
private List _subnetIds = new List();
private List _tags = new List();
private string _url;
private string _userRole;
private string _vpcId;
private string _workspaceSecurityGroupId;
///
/// Gets and sets the property AuthMode.
///
/// Specifies whether the Amazon EMR Studio authenticates users with IAM or IAM Identity
/// Center.
///
///
public AuthMode AuthMode
{
get { return this._authMode; }
set { this._authMode = value; }
}
// Check to see if AuthMode property is set
internal bool IsSetAuthMode()
{
return this._authMode != null;
}
///
/// Gets and sets the property CreationTime.
///
/// The time the Amazon EMR Studio was created.
///
///
public DateTime CreationTime
{
get { return this._creationTime.GetValueOrDefault(); }
set { this._creationTime = value; }
}
// Check to see if CreationTime property is set
internal bool IsSetCreationTime()
{
return this._creationTime.HasValue;
}
///
/// Gets and sets the property DefaultS3Location.
///
/// The Amazon S3 location to back up Amazon EMR Studio Workspaces and notebook files.
///
///
[AWSProperty(Min=0, Max=10280)]
public string DefaultS3Location
{
get { return this._defaultS3Location; }
set { this._defaultS3Location = value; }
}
// Check to see if DefaultS3Location property is set
internal bool IsSetDefaultS3Location()
{
return this._defaultS3Location != null;
}
///
/// Gets and sets the property Description.
///
/// The detailed description of the Amazon EMR Studio.
///
///
[AWSProperty(Min=0, Max=256)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
///
/// Gets and sets the property EngineSecurityGroupId.
///
/// The ID of the Engine security group associated with the Amazon EMR Studio. The Engine
/// security group allows inbound network traffic from resources in the Workspace security
/// group.
///
///
[AWSProperty(Min=0, Max=256)]
public string EngineSecurityGroupId
{
get { return this._engineSecurityGroupId; }
set { this._engineSecurityGroupId = value; }
}
// Check to see if EngineSecurityGroupId property is set
internal bool IsSetEngineSecurityGroupId()
{
return this._engineSecurityGroupId != null;
}
///
/// Gets and sets the property IdpAuthUrl.
///
/// Your identity provider's authentication endpoint. Amazon EMR Studio redirects federated
/// users to this endpoint for authentication when logging in to a Studio with the Studio
/// URL.
///
///
[AWSProperty(Min=0, Max=10280)]
public string IdpAuthUrl
{
get { return this._idpAuthUrl; }
set { this._idpAuthUrl = value; }
}
// Check to see if IdpAuthUrl property is set
internal bool IsSetIdpAuthUrl()
{
return this._idpAuthUrl != null;
}
///
/// Gets and sets the property IdpRelayStateParameterName.
///
/// The name of your identity provider's RelayState
parameter.
///
///
[AWSProperty(Min=0, Max=256)]
public string IdpRelayStateParameterName
{
get { return this._idpRelayStateParameterName; }
set { this._idpRelayStateParameterName = value; }
}
// Check to see if IdpRelayStateParameterName property is set
internal bool IsSetIdpRelayStateParameterName()
{
return this._idpRelayStateParameterName != null;
}
///
/// Gets and sets the property Name.
///
/// The name of the Amazon EMR Studio.
///
///
[AWSProperty(Min=0, Max=256)]
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 ServiceRole.
///
/// The name of the IAM role assumed by the Amazon EMR Studio.
///
///
[AWSProperty(Min=0, Max=10280)]
public string ServiceRole
{
get { return this._serviceRole; }
set { this._serviceRole = value; }
}
// Check to see if ServiceRole property is set
internal bool IsSetServiceRole()
{
return this._serviceRole != null;
}
///
/// Gets and sets the property StudioArn.
///
/// The Amazon Resource Name (ARN) of the Amazon EMR Studio.
///
///
[AWSProperty(Min=0, Max=256)]
public string StudioArn
{
get { return this._studioArn; }
set { this._studioArn = value; }
}
// Check to see if StudioArn property is set
internal bool IsSetStudioArn()
{
return this._studioArn != null;
}
///
/// Gets and sets the property StudioId.
///
/// The ID of the Amazon EMR Studio.
///
///
[AWSProperty(Min=0, Max=256)]
public string StudioId
{
get { return this._studioId; }
set { this._studioId = value; }
}
// Check to see if StudioId property is set
internal bool IsSetStudioId()
{
return this._studioId != null;
}
///
/// Gets and sets the property SubnetIds.
///
/// The list of IDs of the subnets associated with the Amazon EMR Studio.
///
///
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.
///
/// A list of tags associated with the Amazon EMR Studio.
///
///
public List 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 Url.
///
/// The unique access URL of the Amazon EMR Studio.
///
///
[AWSProperty(Min=0, Max=10280)]
public string Url
{
get { return this._url; }
set { this._url = value; }
}
// Check to see if Url property is set
internal bool IsSetUrl()
{
return this._url != null;
}
///
/// Gets and sets the property UserRole.
///
/// The name of the IAM role assumed by users logged in to the Amazon EMR Studio. A Studio
/// only requires a UserRole
when you use IAM authentication.
///
///
[AWSProperty(Min=0, Max=10280)]
public string UserRole
{
get { return this._userRole; }
set { this._userRole = value; }
}
// Check to see if UserRole property is set
internal bool IsSetUserRole()
{
return this._userRole != null;
}
///
/// Gets and sets the property VpcId.
///
/// The ID of the VPC associated with the Amazon EMR Studio.
///
///
[AWSProperty(Min=0, Max=256)]
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 WorkspaceSecurityGroupId.
///
/// The ID of the Workspace security group associated with the Amazon EMR Studio. The
/// Workspace security group allows outbound network traffic to resources in the Engine
/// security group and to the internet.
///
///
[AWSProperty(Min=0, Max=256)]
public string WorkspaceSecurityGroupId
{
get { return this._workspaceSecurityGroupId; }
set { this._workspaceSecurityGroupId = value; }
}
// Check to see if WorkspaceSecurityGroupId property is set
internal bool IsSetWorkspaceSecurityGroupId()
{
return this._workspaceSecurityGroupId != null;
}
}
}