/* * 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 es-2015-01-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.Elasticsearch.Model { /// /// Specifies Auto-Tune maitenance schedule. See the Developer Guide for more information. /// public partial class AutoTuneMaintenanceSchedule { private string _cronExpressionForRecurrence; private Duration _duration; private DateTime? _startAt; /// /// Gets and sets the property CronExpressionForRecurrence. /// /// Specifies cron expression for a recurring maintenance schedule. See the Developer Guide for more information. /// /// public string CronExpressionForRecurrence { get { return this._cronExpressionForRecurrence; } set { this._cronExpressionForRecurrence = value; } } // Check to see if CronExpressionForRecurrence property is set internal bool IsSetCronExpressionForRecurrence() { return this._cronExpressionForRecurrence != null; } /// /// Gets and sets the property Duration. /// /// Specifies maintenance schedule duration: duration value and duration unit. See the /// Developer Guide for more information. /// /// public Duration Duration { get { return this._duration; } set { this._duration = value; } } // Check to see if Duration property is set internal bool IsSetDuration() { return this._duration != null; } /// /// Gets and sets the property StartAt. /// /// Specifies timestamp at which Auto-Tune maintenance schedule start. /// /// public DateTime StartAt { get { return this._startAt.GetValueOrDefault(); } set { this._startAt = value; } } // Check to see if StartAt property is set internal bool IsSetStartAt() { return this._startAt.HasValue; } } }