/*
* 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 sagemaker-2017-07-24.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.SageMaker.Model
{
///
/// Use this to specify the Amazon Web Services Key Management Service (KMS) Key ID, or
/// KMSKeyId
, for at rest data encryption. You can turn OnlineStore
/// on or off by specifying the EnableOnlineStore
flag at General Assembly.
///
///
///
/// The default value is False
.
///
///
public partial class OnlineStoreConfig
{
private bool? _enableOnlineStore;
private OnlineStoreSecurityConfig _securityConfig;
private TtlDuration _ttlDuration;
///
/// Gets and sets the property EnableOnlineStore.
///
/// Turn OnlineStore
off by specifying False
for the EnableOnlineStore
/// flag. Turn OnlineStore
on by specifying True
for the EnableOnlineStore
/// flag.
///
///
///
/// The default value is False
.
///
///
public bool EnableOnlineStore
{
get { return this._enableOnlineStore.GetValueOrDefault(); }
set { this._enableOnlineStore = value; }
}
// Check to see if EnableOnlineStore property is set
internal bool IsSetEnableOnlineStore()
{
return this._enableOnlineStore.HasValue;
}
///
/// Gets and sets the property SecurityConfig.
///
/// Use to specify KMS Key ID (KMSKeyId
) for at-rest encryption of your OnlineStore
.
///
///
public OnlineStoreSecurityConfig SecurityConfig
{
get { return this._securityConfig; }
set { this._securityConfig = value; }
}
// Check to see if SecurityConfig property is set
internal bool IsSetSecurityConfig()
{
return this._securityConfig != null;
}
///
/// Gets and sets the property TtlDuration.
///
/// Time to live duration, where the record is hard deleted after the expiration time
/// is reached; ExpiresAt
= EventTime
+ TtlDuration
.
/// For information on HardDelete, see the DeleteRecord
/// API in the Amazon SageMaker API Reference guide.
///
///
public TtlDuration TtlDuration
{
get { return this._ttlDuration; }
set { this._ttlDuration = value; }
}
// Check to see if TtlDuration property is set
internal bool IsSetTtlDuration()
{
return this._ttlDuration != null;
}
}
}