/* * Copyright 2018-2023 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. */ package com.amazonaws.services.codepipeline.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *

* Represents information about an execution of a pipeline. *

* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class PipelineExecution implements Serializable, Cloneable, StructuredPojo { /** *

* The name of the pipeline with the specified pipeline execution. *

*/ private String pipelineName; /** *

* The version number of the pipeline with the specified pipeline execution. *

*/ private Integer pipelineVersion; /** *

* The ID of the pipeline execution. *

*/ private String pipelineExecutionId; /** *

* The status of the pipeline execution. *

* */ private String status; /** *

* A summary that contains a description of the pipeline execution status. *

*/ private String statusSummary; /** *

* A list of ArtifactRevision objects included in a pipeline execution. *

*/ private java.util.List artifactRevisions; /** *

* The name of the pipeline with the specified pipeline execution. *

* * @param pipelineName * The name of the pipeline with the specified pipeline execution. */ public void setPipelineName(String pipelineName) { this.pipelineName = pipelineName; } /** *

* The name of the pipeline with the specified pipeline execution. *

* * @return The name of the pipeline with the specified pipeline execution. */ public String getPipelineName() { return this.pipelineName; } /** *

* The name of the pipeline with the specified pipeline execution. *

* * @param pipelineName * The name of the pipeline with the specified pipeline execution. * @return Returns a reference to this object so that method calls can be chained together. */ public PipelineExecution withPipelineName(String pipelineName) { setPipelineName(pipelineName); return this; } /** *

* The version number of the pipeline with the specified pipeline execution. *

* * @param pipelineVersion * The version number of the pipeline with the specified pipeline execution. */ public void setPipelineVersion(Integer pipelineVersion) { this.pipelineVersion = pipelineVersion; } /** *

* The version number of the pipeline with the specified pipeline execution. *

* * @return The version number of the pipeline with the specified pipeline execution. */ public Integer getPipelineVersion() { return this.pipelineVersion; } /** *

* The version number of the pipeline with the specified pipeline execution. *

* * @param pipelineVersion * The version number of the pipeline with the specified pipeline execution. * @return Returns a reference to this object so that method calls can be chained together. */ public PipelineExecution withPipelineVersion(Integer pipelineVersion) { setPipelineVersion(pipelineVersion); return this; } /** *

* The ID of the pipeline execution. *

* * @param pipelineExecutionId * The ID of the pipeline execution. */ public void setPipelineExecutionId(String pipelineExecutionId) { this.pipelineExecutionId = pipelineExecutionId; } /** *

* The ID of the pipeline execution. *

* * @return The ID of the pipeline execution. */ public String getPipelineExecutionId() { return this.pipelineExecutionId; } /** *

* The ID of the pipeline execution. *

* * @param pipelineExecutionId * The ID of the pipeline execution. * @return Returns a reference to this object so that method calls can be chained together. */ public PipelineExecution withPipelineExecutionId(String pipelineExecutionId) { setPipelineExecutionId(pipelineExecutionId); return this; } /** *

* The status of the pipeline execution. *

* * * @param status * The status of the pipeline execution.

*