/*
* 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 codepipeline-2015-07-09.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.CodePipeline.Model
{
///
/// Represents other information about a job required for a job worker to complete the
/// job.
///
public partial class JobData
{
private ActionConfiguration _actionConfiguration;
private ActionTypeId _actionTypeId;
private AWSSessionCredentials _artifactCredentials;
private string _continuationToken;
private EncryptionKey _encryptionKey;
private List _inputArtifacts = new List();
private List _outputArtifacts = new List();
private PipelineContext _pipelineContext;
///
/// Gets and sets the property ActionConfiguration.
///
/// Represents information about an action configuration.
///
///
public ActionConfiguration ActionConfiguration
{
get { return this._actionConfiguration; }
set { this._actionConfiguration = value; }
}
// Check to see if ActionConfiguration property is set
internal bool IsSetActionConfiguration()
{
return this._actionConfiguration != null;
}
///
/// Gets and sets the property ActionTypeId.
///
/// Represents information about an action type.
///
///
public ActionTypeId ActionTypeId
{
get { return this._actionTypeId; }
set { this._actionTypeId = value; }
}
// Check to see if ActionTypeId property is set
internal bool IsSetActionTypeId()
{
return this._actionTypeId != null;
}
///
/// Gets and sets the property ArtifactCredentials.
///
/// Represents an Amazon Web Services session credentials object. These credentials are
/// temporary credentials that are issued by Amazon Web Services Secure Token Service
/// (STS). They can be used to access input and output artifacts in the S3 bucket used
/// to store artifacts for the pipeline in CodePipeline.
///
///
[AWSProperty(Sensitive=true)]
public AWSSessionCredentials ArtifactCredentials
{
get { return this._artifactCredentials; }
set { this._artifactCredentials = value; }
}
// Check to see if ArtifactCredentials property is set
internal bool IsSetArtifactCredentials()
{
return this._artifactCredentials != null;
}
///
/// Gets and sets the property ContinuationToken.
///
/// A system-generated token, such as a deployment ID, required by a job to continue the
/// job asynchronously.
///
///
[AWSProperty(Min=1, Max=2048)]
public string ContinuationToken
{
get { return this._continuationToken; }
set { this._continuationToken = value; }
}
// Check to see if ContinuationToken property is set
internal bool IsSetContinuationToken()
{
return this._continuationToken != null;
}
///
/// Gets and sets the property EncryptionKey.
///
/// Represents information about the key used to encrypt data in the artifact store, such
/// as an KMS key.
///
///
public EncryptionKey EncryptionKey
{
get { return this._encryptionKey; }
set { this._encryptionKey = value; }
}
// Check to see if EncryptionKey property is set
internal bool IsSetEncryptionKey()
{
return this._encryptionKey != null;
}
///
/// Gets and sets the property InputArtifacts.
///
/// The artifact supplied to the job.
///
///
public List InputArtifacts
{
get { return this._inputArtifacts; }
set { this._inputArtifacts = value; }
}
// Check to see if InputArtifacts property is set
internal bool IsSetInputArtifacts()
{
return this._inputArtifacts != null && this._inputArtifacts.Count > 0;
}
///
/// Gets and sets the property OutputArtifacts.
///
/// The output of the job.
///
///
public List OutputArtifacts
{
get { return this._outputArtifacts; }
set { this._outputArtifacts = value; }
}
// Check to see if OutputArtifacts property is set
internal bool IsSetOutputArtifacts()
{
return this._outputArtifacts != null && this._outputArtifacts.Count > 0;
}
///
/// Gets and sets the property PipelineContext.
///
/// Represents information about a pipeline to a job worker.
///
///
///
/// Includes pipelineArn
and pipelineExecutionId
for custom
/// jobs.
///
///
///
public PipelineContext PipelineContext
{
get { return this._pipelineContext; }
set { this._pipelineContext = value; }
}
// Check to see if PipelineContext property is set
internal bool IsSetPipelineContext()
{
return this._pipelineContext != null;
}
}
}