/*
* 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
{
///
/// The configuration of an OfflineStore
.
///
///
///
/// Provide an OfflineStoreConfig
in a request to CreateFeatureGroup
/// to create an OfflineStore
.
///
///
///
/// To encrypt an OfflineStore
using at rest data encryption, specify Amazon
/// Web Services Key Management Service (KMS) key ID, or KMSKeyId
, in S3StorageConfig
.
///
///
public partial class OfflineStoreConfig
{
private DataCatalogConfig _dataCatalogConfig;
private bool? _disableGlueTableCreation;
private S3StorageConfig _s3StorageConfig;
private TableFormat _tableFormat;
///
/// Gets and sets the property DataCatalogConfig.
///
/// The meta data of the Glue table that is autogenerated when an OfflineStore
/// is created.
///
///
public DataCatalogConfig DataCatalogConfig
{
get { return this._dataCatalogConfig; }
set { this._dataCatalogConfig = value; }
}
// Check to see if DataCatalogConfig property is set
internal bool IsSetDataCatalogConfig()
{
return this._dataCatalogConfig != null;
}
///
/// Gets and sets the property DisableGlueTableCreation.
///
/// Set to True
to disable the automatic creation of an Amazon Web Services
/// Glue table when configuring an OfflineStore
. If set to False
,
/// Feature Store will name the OfflineStore
Glue table following Athena's
/// naming recommendations.
///
///
///
/// The default value is False
.
///
///
public bool DisableGlueTableCreation
{
get { return this._disableGlueTableCreation.GetValueOrDefault(); }
set { this._disableGlueTableCreation = value; }
}
// Check to see if DisableGlueTableCreation property is set
internal bool IsSetDisableGlueTableCreation()
{
return this._disableGlueTableCreation.HasValue;
}
///
/// Gets and sets the property S3StorageConfig.
///
/// The Amazon Simple Storage (Amazon S3) location of OfflineStore
.
///
///
[AWSProperty(Required=true)]
public S3StorageConfig S3StorageConfig
{
get { return this._s3StorageConfig; }
set { this._s3StorageConfig = value; }
}
// Check to see if S3StorageConfig property is set
internal bool IsSetS3StorageConfig()
{
return this._s3StorageConfig != null;
}
///
/// Gets and sets the property TableFormat.
///
/// Format for the offline store table. Supported formats are Glue (Default) and Apache
/// Iceberg.
///
///
public TableFormat TableFormat
{
get { return this._tableFormat; }
set { this._tableFormat = value; }
}
// Check to see if TableFormat property is set
internal bool IsSetTableFormat()
{
return this._tableFormat != null;
}
}
}