/*
* 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
{
///
/// Amazon SageMaker Feature Store stores features in a collection called Feature Group.
/// A Feature Group can be visualized as a table which has rows, with a unique identifier
/// for each row where each column in the table is a feature. In principle, a Feature
/// Group is composed of features and values per features.
///
public partial class FeatureGroup
{
private DateTime? _creationTime;
private string _description;
private string _eventTimeFeatureName;
private string _failureReason;
private List _featureDefinitions = new List();
private string _featureGroupArn;
private string _featureGroupName;
private FeatureGroupStatus _featureGroupStatus;
private DateTime? _lastModifiedTime;
private LastUpdateStatus _lastUpdateStatus;
private OfflineStoreConfig _offlineStoreConfig;
private OfflineStoreStatus _offlineStoreStatus;
private OnlineStoreConfig _onlineStoreConfig;
private string _recordIdentifierFeatureName;
private string _roleArn;
private List _tags = new List();
///
/// Gets and sets the property CreationTime.
///
/// The time a FeatureGroup
was created.
///
///
public DateTime CreationTime
{
get { return this._creationTime.GetValueOrDefault(); }
set { this._creationTime = value; }
}
// Check to see if CreationTime property is set
internal bool IsSetCreationTime()
{
return this._creationTime.HasValue;
}
///
/// Gets and sets the property Description.
///
/// A free form description of a FeatureGroup
.
///
///
[AWSProperty(Max=128)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
///
/// Gets and sets the property EventTimeFeatureName.
///
/// The name of the feature that stores the EventTime
of a Record in a FeatureGroup
.
///
///
///
/// A EventTime
is point in time when a new event occurs that corresponds
/// to the creation or update of a Record
in FeatureGroup
. All
/// Records
in the FeatureGroup
must have a corresponding EventTime
.
///
///
[AWSProperty(Min=1, Max=64)]
public string EventTimeFeatureName
{
get { return this._eventTimeFeatureName; }
set { this._eventTimeFeatureName = value; }
}
// Check to see if EventTimeFeatureName property is set
internal bool IsSetEventTimeFeatureName()
{
return this._eventTimeFeatureName != null;
}
///
/// Gets and sets the property FailureReason.
///
/// The reason that the FeatureGroup
failed to be replicated in the OfflineStore
.
/// This is failure may be due to a failure to create a FeatureGroup
in or
/// delete a FeatureGroup
from the OfflineStore
.
///
///
[AWSProperty(Max=1024)]
public string FailureReason
{
get { return this._failureReason; }
set { this._failureReason = value; }
}
// Check to see if FailureReason property is set
internal bool IsSetFailureReason()
{
return this._failureReason != null;
}
///
/// Gets and sets the property FeatureDefinitions.
///
/// A list of Feature
s. Each Feature
must include a FeatureName
/// and a FeatureType
.
///
///
///
/// Valid FeatureType
s are Integral
, Fractional
/// and String
.
///
///
///
/// FeatureName
s cannot be any of the following: is_deleted
,
/// write_time
, api_invocation_time
.
///
///
///
/// You can create up to 2,500 FeatureDefinition
s per FeatureGroup
.
///
///
[AWSProperty(Min=1, Max=2500)]
public List FeatureDefinitions
{
get { return this._featureDefinitions; }
set { this._featureDefinitions = value; }
}
// Check to see if FeatureDefinitions property is set
internal bool IsSetFeatureDefinitions()
{
return this._featureDefinitions != null && this._featureDefinitions.Count > 0;
}
///
/// Gets and sets the property FeatureGroupArn.
///
/// The Amazon Resource Name (ARN) of a FeatureGroup
.
///
///
[AWSProperty(Max=256)]
public string FeatureGroupArn
{
get { return this._featureGroupArn; }
set { this._featureGroupArn = value; }
}
// Check to see if FeatureGroupArn property is set
internal bool IsSetFeatureGroupArn()
{
return this._featureGroupArn != null;
}
///
/// Gets and sets the property FeatureGroupName.
///
/// The name of the FeatureGroup
.
///
///
[AWSProperty(Min=1, Max=64)]
public string FeatureGroupName
{
get { return this._featureGroupName; }
set { this._featureGroupName = value; }
}
// Check to see if FeatureGroupName property is set
internal bool IsSetFeatureGroupName()
{
return this._featureGroupName != null;
}
///
/// Gets and sets the property FeatureGroupStatus.
///
/// A FeatureGroup
status.
///
///
public FeatureGroupStatus FeatureGroupStatus
{
get { return this._featureGroupStatus; }
set { this._featureGroupStatus = value; }
}
// Check to see if FeatureGroupStatus property is set
internal bool IsSetFeatureGroupStatus()
{
return this._featureGroupStatus != null;
}
///
/// Gets and sets the property LastModifiedTime.
///
/// A timestamp indicating the last time you updated the feature group.
///
///
public DateTime LastModifiedTime
{
get { return this._lastModifiedTime.GetValueOrDefault(); }
set { this._lastModifiedTime = value; }
}
// Check to see if LastModifiedTime property is set
internal bool IsSetLastModifiedTime()
{
return this._lastModifiedTime.HasValue;
}
///
/// Gets and sets the property LastUpdateStatus.
///
/// A value that indicates whether the feature group was updated successfully.
///
///
public LastUpdateStatus LastUpdateStatus
{
get { return this._lastUpdateStatus; }
set { this._lastUpdateStatus = value; }
}
// Check to see if LastUpdateStatus property is set
internal bool IsSetLastUpdateStatus()
{
return this._lastUpdateStatus != null;
}
///
/// Gets and sets the property OfflineStoreConfig.
///
public OfflineStoreConfig OfflineStoreConfig
{
get { return this._offlineStoreConfig; }
set { this._offlineStoreConfig = value; }
}
// Check to see if OfflineStoreConfig property is set
internal bool IsSetOfflineStoreConfig()
{
return this._offlineStoreConfig != null;
}
///
/// Gets and sets the property OfflineStoreStatus.
///
public OfflineStoreStatus OfflineStoreStatus
{
get { return this._offlineStoreStatus; }
set { this._offlineStoreStatus = value; }
}
// Check to see if OfflineStoreStatus property is set
internal bool IsSetOfflineStoreStatus()
{
return this._offlineStoreStatus != null;
}
///
/// Gets and sets the property OnlineStoreConfig.
///
public OnlineStoreConfig OnlineStoreConfig
{
get { return this._onlineStoreConfig; }
set { this._onlineStoreConfig = value; }
}
// Check to see if OnlineStoreConfig property is set
internal bool IsSetOnlineStoreConfig()
{
return this._onlineStoreConfig != null;
}
///
/// Gets and sets the property RecordIdentifierFeatureName.
///
/// The name of the Feature
whose value uniquely identifies a Record
/// defined in the FeatureGroup
FeatureDefinitions
.
///
///
[AWSProperty(Min=1, Max=64)]
public string RecordIdentifierFeatureName
{
get { return this._recordIdentifierFeatureName; }
set { this._recordIdentifierFeatureName = value; }
}
// Check to see if RecordIdentifierFeatureName property is set
internal bool IsSetRecordIdentifierFeatureName()
{
return this._recordIdentifierFeatureName != null;
}
///
/// Gets and sets the property RoleArn.
///
/// The Amazon Resource Name (ARN) of the IAM execution role used to create the feature
/// group.
///
///
[AWSProperty(Min=20, Max=2048)]
public string RoleArn
{
get { return this._roleArn; }
set { this._roleArn = value; }
}
// Check to see if RoleArn property is set
internal bool IsSetRoleArn()
{
return this._roleArn != null;
}
///
/// Gets and sets the property Tags.
///
/// Tags used to define a FeatureGroup
.
///
///
[AWSProperty(Min=0, Max=50)]
public List Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
}
}