/* * 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 UpdateKxClusterDatabases operation. /// Updates the databases mounted on a kdb cluster, which includes the changesetId /// and all the dbPaths to be cached. This API does not allow you to change a database /// name or add a database if you created a cluster without one. /// /// /// /// Using this API you can point a cluster to a different changeset and modify a list /// of partitions being cached. /// /// public partial class UpdateKxClusterDatabasesRequest : AmazonFinspaceRequest { private string _clientToken; private string _clusterName; private List _databases = new List(); private string _environmentId; /// /// Gets and sets the property ClientToken. /// /// A token that ensures idempotency. This token expires in 10 minutes. /// /// [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 ClusterName. /// /// A unique name for the cluster that you want to modify. /// /// [AWSProperty(Required=true, Min=3, Max=63)] public string ClusterName { get { return this._clusterName; } set { this._clusterName = value; } } // Check to see if ClusterName property is set internal bool IsSetClusterName() { return this._clusterName != null; } /// /// Gets and sets the property Databases. /// /// The structure of databases mounted on the cluster. /// /// [AWSProperty(Required=true)] public List Databases { get { return this._databases; } set { this._databases = value; } } // Check to see if Databases property is set internal bool IsSetDatabases() { return this._databases != null && this._databases.Count > 0; } /// /// Gets and sets the property EnvironmentId. /// /// The unique identifier of a kdb environment. /// /// [AWSProperty(Required=true, Min=1, Max=32)] public string EnvironmentId { get { return this._environmentId; } set { this._environmentId = value; } } // Check to see if EnvironmentId property is set internal bool IsSetEnvironmentId() { return this._environmentId != null; } } }