/*
* 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 lightsail-2016-11-28.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.Lightsail.Model
{
///
/// Describes a request to enable or modify the automatic snapshot add-on for an Amazon
/// Lightsail instance or disk.
///
///
///
/// When you modify the automatic snapshot time for a resource, it is typically effective
/// immediately except under the following conditions:
///
/// -
///
/// If an automatic snapshot has been created for the current day, and you change the
/// snapshot time to a later time of day, then the new snapshot time will be effective
/// the following day. This ensures that two snapshots are not created for the current
/// day.
///
///
-
///
/// If an automatic snapshot has not yet been created for the current day, and you change
/// the snapshot time to an earlier time of day, then the new snapshot time will be effective
/// the following day and a snapshot is automatically created at the previously set time
/// for the current day. This ensures that a snapshot is created for the current day.
///
///
-
///
/// If an automatic snapshot has not yet been created for the current day, and you change
/// the snapshot time to a time that is within 30 minutes from your current time, then
/// the new snapshot time will be effective the following day and a snapshot is automatically
/// created at the previously set time for the current day. This ensures that a snapshot
/// is created for the current day, because 30 minutes is required between your current
/// time and the new snapshot time that you specify.
///
///
-
///
/// If an automatic snapshot is scheduled to be created within 30 minutes from your current
/// time and you change the snapshot time, then the new snapshot time will be effective
/// the following day and a snapshot is automatically created at the previously set time
/// for the current day. This ensures that a snapshot is created for the current day,
/// because 30 minutes is required between your current time and the new snapshot time
/// that you specify.
///
///
///
public partial class AutoSnapshotAddOnRequest
{
private string _snapshotTimeOfDay;
///
/// Gets and sets the property SnapshotTimeOfDay.
///
/// The daily time when an automatic snapshot will be created.
///
///
///
/// Constraints:
///
/// -
///
/// Must be in
HH:00
format, and in an hourly increment.
///
/// -
///
/// Specified in Coordinated Universal Time (UTC).
///
///
-
///
/// The snapshot will be automatically created between the time specified and up to 45
/// minutes after.
///
///
///
public string SnapshotTimeOfDay
{
get { return this._snapshotTimeOfDay; }
set { this._snapshotTimeOfDay = value; }
}
// Check to see if SnapshotTimeOfDay property is set
internal bool IsSetSnapshotTimeOfDay()
{
return this._snapshotTimeOfDay != null;
}
}
}