/*
* 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 container for the metadata for the ClarifyCheck step. For more information, see
/// the topic on ClarifyCheck
/// step in the Amazon SageMaker Developer Guide.
///
public partial class ClarifyCheckStepMetadata
{
private string _baselineUsedForDriftCheckConstraints;
private string _calculatedBaselineConstraints;
private string _checkJobArn;
private string _checkType;
private string _modelPackageGroupName;
private bool? _registerNewBaseline;
private bool? _skipCheck;
private string _violationReport;
///
/// Gets and sets the property BaselineUsedForDriftCheckConstraints.
///
/// The Amazon S3 URI of baseline constraints file to be used for the drift check.
///
///
[AWSProperty(Max=1024)]
public string BaselineUsedForDriftCheckConstraints
{
get { return this._baselineUsedForDriftCheckConstraints; }
set { this._baselineUsedForDriftCheckConstraints = value; }
}
// Check to see if BaselineUsedForDriftCheckConstraints property is set
internal bool IsSetBaselineUsedForDriftCheckConstraints()
{
return this._baselineUsedForDriftCheckConstraints != null;
}
///
/// Gets and sets the property CalculatedBaselineConstraints.
///
/// The Amazon S3 URI of the newly calculated baseline constraints file.
///
///
[AWSProperty(Max=1024)]
public string CalculatedBaselineConstraints
{
get { return this._calculatedBaselineConstraints; }
set { this._calculatedBaselineConstraints = value; }
}
// Check to see if CalculatedBaselineConstraints property is set
internal bool IsSetCalculatedBaselineConstraints()
{
return this._calculatedBaselineConstraints != null;
}
///
/// Gets and sets the property CheckJobArn.
///
/// The Amazon Resource Name (ARN) of the check processing job that was run by this step's
/// execution.
///
///
[AWSProperty(Max=256)]
public string CheckJobArn
{
get { return this._checkJobArn; }
set { this._checkJobArn = value; }
}
// Check to see if CheckJobArn property is set
internal bool IsSetCheckJobArn()
{
return this._checkJobArn != null;
}
///
/// Gets and sets the property CheckType.
///
/// The type of the Clarify Check step
///
///
[AWSProperty(Max=256)]
public string CheckType
{
get { return this._checkType; }
set { this._checkType = value; }
}
// Check to see if CheckType property is set
internal bool IsSetCheckType()
{
return this._checkType != null;
}
///
/// Gets and sets the property ModelPackageGroupName.
///
/// The model package group name.
///
///
[AWSProperty(Max=256)]
public string ModelPackageGroupName
{
get { return this._modelPackageGroupName; }
set { this._modelPackageGroupName = value; }
}
// Check to see if ModelPackageGroupName property is set
internal bool IsSetModelPackageGroupName()
{
return this._modelPackageGroupName != null;
}
///
/// Gets and sets the property RegisterNewBaseline.
///
/// This flag indicates if a newly calculated baseline can be accessed through step properties
/// BaselineUsedForDriftCheckConstraints
and BaselineUsedForDriftCheckStatistics
.
/// If it is set to False
, the previous baseline of the configured check
/// type must also be available. These can be accessed through the BaselineUsedForDriftCheckConstraints
/// property.
///
///
public bool RegisterNewBaseline
{
get { return this._registerNewBaseline.GetValueOrDefault(); }
set { this._registerNewBaseline = value; }
}
// Check to see if RegisterNewBaseline property is set
internal bool IsSetRegisterNewBaseline()
{
return this._registerNewBaseline.HasValue;
}
///
/// Gets and sets the property SkipCheck.
///
/// This flag indicates if the drift check against the previous baseline will be skipped
/// or not. If it is set to False
, the previous baseline of the configured
/// check type must be available.
///
///
public bool SkipCheck
{
get { return this._skipCheck.GetValueOrDefault(); }
set { this._skipCheck = value; }
}
// Check to see if SkipCheck property is set
internal bool IsSetSkipCheck()
{
return this._skipCheck.HasValue;
}
///
/// Gets and sets the property ViolationReport.
///
/// The Amazon S3 URI of the violation report if violations are detected.
///
///
[AWSProperty(Max=1024)]
public string ViolationReport
{
get { return this._violationReport; }
set { this._violationReport = value; }
}
// Check to see if ViolationReport property is set
internal bool IsSetViolationReport()
{
return this._violationReport != null;
}
}
}