/* * 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; /** *

* Summary information about a pipeline execution. *

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

* The ID of the pipeline execution. *

*/ private String pipelineExecutionId; /** *

* The status of the pipeline execution. *

* */ private String status; /** *

* The date and time when the pipeline execution began, in timestamp format. *

*/ private java.util.Date startTime; /** *

* The date and time of the last change to the pipeline execution, in timestamp format. *

*/ private java.util.Date lastUpdateTime; /** *

* A list of the source artifact revisions that initiated a pipeline execution. *

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

* The interaction or event that started a pipeline execution, such as automated change detection or a * StartPipelineExecution API call. *

*/ private ExecutionTrigger trigger; /** *

* The interaction that stopped a pipeline execution. *

*/ private StopExecutionTrigger stopTrigger; /** *

* 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 PipelineExecutionSummary withPipelineExecutionId(String pipelineExecutionId) { setPipelineExecutionId(pipelineExecutionId); return this; } /** *

* The status of the pipeline execution. *

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

*