/*
* 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 codeguru-reviewer-2019-09-19.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.CodeGuruReviewer.Model
{
///
/// Code artifacts are source code artifacts and build artifacts used in a repository
/// analysis or a pull request review.
///
/// -
///
/// Source code artifacts are source code files in a Git repository that are compressed
/// into a .zip file.
///
///
-
///
/// Build artifacts are .jar or .class files that are compressed in a .zip file.
///
///
///
public partial class CodeArtifacts
{
private string _buildArtifactsObjectKey;
private string _sourceCodeArtifactsObjectKey;
///
/// Gets and sets the property BuildArtifactsObjectKey.
///
/// The S3 object key for a build artifacts .zip file that contains .jar or .class files.
/// This is required for a code review with security analysis. For more information, see
/// Create
/// code reviews with GitHub Actions in the Amazon CodeGuru Reviewer User Guide.
///
///
[AWSProperty(Min=1, Max=1024)]
public string BuildArtifactsObjectKey
{
get { return this._buildArtifactsObjectKey; }
set { this._buildArtifactsObjectKey = value; }
}
// Check to see if BuildArtifactsObjectKey property is set
internal bool IsSetBuildArtifactsObjectKey()
{
return this._buildArtifactsObjectKey != null;
}
///
/// Gets and sets the property SourceCodeArtifactsObjectKey.
///
/// The S3 object key for a source code .zip file. This is required for all code reviews.
///
///
[AWSProperty(Required=true, Min=1, Max=1024)]
public string SourceCodeArtifactsObjectKey
{
get { return this._sourceCodeArtifactsObjectKey; }
set { this._sourceCodeArtifactsObjectKey = value; }
}
// Check to see if SourceCodeArtifactsObjectKey property is set
internal bool IsSetSourceCodeArtifactsObjectKey()
{
return this._sourceCodeArtifactsObjectKey != null;
}
}
}