/*
* 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 finspace-2021-03-12.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.Finspace.Model
{
///
/// Container for the parameters to the CreateEnvironment operation.
/// Create a new FinSpace environment.
///
public partial class CreateEnvironmentRequest : AmazonFinspaceRequest
{
private List _dataBundles = new List();
private string _description;
private FederationMode _federationMode;
private FederationParameters _federationParameters;
private string _kmsKeyId;
private string _name;
private SuperuserParameters _superuserParameters;
private Dictionary _tags = new Dictionary();
///
/// Gets and sets the property DataBundles.
///
/// The list of Amazon Resource Names (ARN) of the data bundles to install. Currently
/// supported data bundle ARNs:
///
/// -
///
///
arn:aws:finspace:${Region}::data-bundle/capital-markets-sample
- Contains
/// sample Capital Markets datasets, categories and controlled vocabularies.
///
/// -
///
///
arn:aws:finspace:${Region}::data-bundle/taq
(default) - Contains trades
/// and quotes data in addition to sample Capital Markets data.
///
///
///
public List DataBundles
{
get { return this._dataBundles; }
set { this._dataBundles = value; }
}
// Check to see if DataBundles property is set
internal bool IsSetDataBundles()
{
return this._dataBundles != null && this._dataBundles.Count > 0;
}
///
/// Gets and sets the property Description.
///
/// The description of the FinSpace environment to be created.
///
///
[AWSProperty(Min=1, Max=1000)]
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 FederationMode.
///
/// Authentication mode for the environment.
///
/// -
///
///
FEDERATED
- Users access FinSpace through Single Sign On (SSO) via your
/// Identity provider.
///
/// -
///
///
LOCAL
- Users access FinSpace via email and password managed within
/// the FinSpace environment.
///
///
///
public FederationMode FederationMode
{
get { return this._federationMode; }
set { this._federationMode = value; }
}
// Check to see if FederationMode property is set
internal bool IsSetFederationMode()
{
return this._federationMode != null;
}
///
/// Gets and sets the property FederationParameters.
///
/// Configuration information when authentication mode is FEDERATED.
///
///
public FederationParameters FederationParameters
{
get { return this._federationParameters; }
set { this._federationParameters = value; }
}
// Check to see if FederationParameters property is set
internal bool IsSetFederationParameters()
{
return this._federationParameters != null;
}
///
/// Gets and sets the property KmsKeyId.
///
/// The KMS key id to encrypt your data in the FinSpace environment.
///
///
[AWSProperty(Min=1, Max=1000)]
public string KmsKeyId
{
get { return this._kmsKeyId; }
set { this._kmsKeyId = value; }
}
// Check to see if KmsKeyId property is set
internal bool IsSetKmsKeyId()
{
return this._kmsKeyId != null;
}
///
/// Gets and sets the property Name.
///
/// The name of the FinSpace environment to be created.
///
///
[AWSProperty(Required=true, Min=1, Max=255)]
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 SuperuserParameters.
///
/// Configuration information for the superuser.
///
///
public SuperuserParameters SuperuserParameters
{
get { return this._superuserParameters; }
set { this._superuserParameters = value; }
}
// Check to see if SuperuserParameters property is set
internal bool IsSetSuperuserParameters()
{
return this._superuserParameters != null;
}
///
/// Gets and sets the property Tags.
///
/// Add tags to your FinSpace environment.
///
///
[AWSProperty(Min=1, 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;
}
}
}