/* * 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 kinesisanalyticsv2-2018-05-23.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.KinesisAnalyticsV2.Model { /// /// Describes updates to the checkpointing parameters for a Flink-based Kinesis Data Analytics /// application. /// public partial class CheckpointConfigurationUpdate { private bool? _checkpointingEnabledUpdate; private long? _checkpointIntervalUpdate; private ConfigurationType _configurationTypeUpdate; private long? _minPauseBetweenCheckpointsUpdate; /// /// Gets and sets the property CheckpointingEnabledUpdate. /// /// Describes updates to whether checkpointing is enabled for an application. /// /// /// /// If CheckpointConfiguration.ConfigurationType is DEFAULT, /// the application will use a CheckpointingEnabled value of true, /// even if this value is set to another value using this API or in application code. /// /// /// public bool CheckpointingEnabledUpdate { get { return this._checkpointingEnabledUpdate.GetValueOrDefault(); } set { this._checkpointingEnabledUpdate = value; } } // Check to see if CheckpointingEnabledUpdate property is set internal bool IsSetCheckpointingEnabledUpdate() { return this._checkpointingEnabledUpdate.HasValue; } /// /// Gets and sets the property CheckpointIntervalUpdate. /// /// Describes updates to the interval in milliseconds between checkpoint operations. /// /// /// /// If CheckpointConfiguration.ConfigurationType is DEFAULT, /// the application will use a CheckpointInterval value of 60000, even if /// this value is set to another value using this API or in application code. /// /// /// [AWSProperty(Min=1)] public long CheckpointIntervalUpdate { get { return this._checkpointIntervalUpdate.GetValueOrDefault(); } set { this._checkpointIntervalUpdate = value; } } // Check to see if CheckpointIntervalUpdate property is set internal bool IsSetCheckpointIntervalUpdate() { return this._checkpointIntervalUpdate.HasValue; } /// /// Gets and sets the property ConfigurationTypeUpdate. /// /// Describes updates to whether the application uses the default checkpointing behavior /// of Kinesis Data Analytics. You must set this property to CUSTOM in order /// to set the CheckpointingEnabled, CheckpointInterval, or /// MinPauseBetweenCheckpoints parameters. /// /// /// /// If this value is set to DEFAULT, the application will use the following /// values, even if they are set to other values using APIs or application code: /// /// /// public ConfigurationType ConfigurationTypeUpdate { get { return this._configurationTypeUpdate; } set { this._configurationTypeUpdate = value; } } // Check to see if ConfigurationTypeUpdate property is set internal bool IsSetConfigurationTypeUpdate() { return this._configurationTypeUpdate != null; } /// /// Gets and sets the property MinPauseBetweenCheckpointsUpdate. /// /// Describes updates to the minimum time in milliseconds after a checkpoint operation /// completes that a new checkpoint operation can start. /// /// /// /// If CheckpointConfiguration.ConfigurationType is DEFAULT, /// the application will use a MinPauseBetweenCheckpoints value of 5000, /// even if this value is set using this API or in application code. /// /// /// [AWSProperty(Min=0)] public long MinPauseBetweenCheckpointsUpdate { get { return this._minPauseBetweenCheckpointsUpdate.GetValueOrDefault(); } set { this._minPauseBetweenCheckpointsUpdate = value; } } // Check to see if MinPauseBetweenCheckpointsUpdate property is set internal bool IsSetMinPauseBetweenCheckpointsUpdate() { return this._minPauseBetweenCheckpointsUpdate.HasValue; } } }