All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.codepipeline.model.PipelineExecutionSummary Maven / Gradle / Ivy

Go to download

The AWS Java SDK for AWS CodePipeline module holds the client classes that are used for communicating with AWS CodePipeline

There is a newer version: 1.12.772
Show newest version
/*
 * Copyright 2019-2024 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. *

*
    *
  • *

    * InProgress: The pipeline execution is currently running. *

    *
  • *
  • *

    * Stopped: The pipeline execution was manually stopped. For more information, see Stopped Executions. *

    *
  • *
  • *

    * Stopping: The pipeline execution received a request to be manually stopped. Depending on the selected stop mode, * the execution is either completing or abandoning in-progress actions. For more information, see Stopped Executions. *

    *
  • *
  • *

    * Succeeded: The pipeline execution was completed successfully. *

    *
  • *
  • *

    * Superseded: While this pipeline execution was waiting for the next stage to be completed, a newer pipeline * execution advanced and continued through the pipeline instead. For more information, see Superseded * Executions. *

    *
  • *
  • *

    * Failed: The pipeline execution was not completed successfully. *

    *
  • *
*/ private String status; /** *

* Status summary for the pipeline. *

*/ private String statusSummary; /** *

* 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 method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED. *

*/ private String executionMode; /** *

* Type of the pipeline execution. *

*/ private String executionType; /** *

* The metadata for the stage execution to be rolled back. *

*/ private PipelineRollbackMetadata rollbackMetadata; /** *

* 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. *

*
    *
  • *

    * InProgress: The pipeline execution is currently running. *

    *
  • *
  • *

    * Stopped: The pipeline execution was manually stopped. For more information, see Stopped Executions. *

    *
  • *
  • *

    * Stopping: The pipeline execution received a request to be manually stopped. Depending on the selected stop mode, * the execution is either completing or abandoning in-progress actions. For more information, see Stopped Executions. *

    *
  • *
  • *

    * Succeeded: The pipeline execution was completed successfully. *

    *
  • *
  • *

    * Superseded: While this pipeline execution was waiting for the next stage to be completed, a newer pipeline * execution advanced and continued through the pipeline instead. For more information, see Superseded * Executions. *

    *
  • *
  • *

    * Failed: The pipeline execution was not completed successfully. *

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

*
    *
  • *

    * InProgress: The pipeline execution is currently running. *

    *
  • *
  • *

    * Stopped: The pipeline execution was manually stopped. For more information, see Stopped Executions. *

    *
  • *
  • *

    * Stopping: The pipeline execution received a request to be manually stopped. Depending on the selected stop * mode, the execution is either completing or abandoning in-progress actions. For more information, see * Stopped Executions. *

    *
  • *
  • *

    * Succeeded: The pipeline execution was completed successfully. *

    *
  • *
  • *

    * Superseded: While this pipeline execution was waiting for the next stage to be completed, a newer pipeline * execution advanced and continued through the pipeline instead. For more information, see Superseded Executions. *

    *
  • *
  • *

    * Failed: The pipeline execution was not completed successfully. *

    *
  • * @see PipelineExecutionStatus */ public void setStatus(String status) { this.status = status; } /** *

    * The status of the pipeline execution. *

    *
      *
    • *

      * InProgress: The pipeline execution is currently running. *

      *
    • *
    • *

      * Stopped: The pipeline execution was manually stopped. For more information, see Stopped Executions. *

      *
    • *
    • *

      * Stopping: The pipeline execution received a request to be manually stopped. Depending on the selected stop mode, * the execution is either completing or abandoning in-progress actions. For more information, see Stopped Executions. *

      *
    • *
    • *

      * Succeeded: The pipeline execution was completed successfully. *

      *
    • *
    • *

      * Superseded: While this pipeline execution was waiting for the next stage to be completed, a newer pipeline * execution advanced and continued through the pipeline instead. For more information, see Superseded * Executions. *

      *
    • *
    • *

      * Failed: The pipeline execution was not completed successfully. *

      *
    • *
    * * @return The status of the pipeline execution.

    *
      *
    • *

      * InProgress: The pipeline execution is currently running. *

      *
    • *
    • *

      * Stopped: The pipeline execution was manually stopped. For more information, see Stopped Executions. *

      *
    • *
    • *

      * Stopping: The pipeline execution received a request to be manually stopped. Depending on the selected * stop mode, the execution is either completing or abandoning in-progress actions. For more information, * see Stopped Executions. *

      *
    • *
    • *

      * Succeeded: The pipeline execution was completed successfully. *

      *
    • *
    • *

      * Superseded: While this pipeline execution was waiting for the next stage to be completed, a newer * pipeline execution advanced and continued through the pipeline instead. For more information, see Superseded * Executions. *

      *
    • *
    • *

      * Failed: The pipeline execution was not completed successfully. *

      *
    • * @see PipelineExecutionStatus */ public String getStatus() { return this.status; } /** *

      * The status of the pipeline execution. *

      *
        *
      • *

        * InProgress: The pipeline execution is currently running. *

        *
      • *
      • *

        * Stopped: The pipeline execution was manually stopped. For more information, see Stopped Executions. *

        *
      • *
      • *

        * Stopping: The pipeline execution received a request to be manually stopped. Depending on the selected stop mode, * the execution is either completing or abandoning in-progress actions. For more information, see Stopped Executions. *

        *
      • *
      • *

        * Succeeded: The pipeline execution was completed successfully. *

        *
      • *
      • *

        * Superseded: While this pipeline execution was waiting for the next stage to be completed, a newer pipeline * execution advanced and continued through the pipeline instead. For more information, see Superseded * Executions. *

        *
      • *
      • *

        * Failed: The pipeline execution was not completed successfully. *

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

      *
        *
      • *

        * InProgress: The pipeline execution is currently running. *

        *
      • *
      • *

        * Stopped: The pipeline execution was manually stopped. For more information, see Stopped Executions. *

        *
      • *
      • *

        * Stopping: The pipeline execution received a request to be manually stopped. Depending on the selected stop * mode, the execution is either completing or abandoning in-progress actions. For more information, see * Stopped Executions. *

        *
      • *
      • *

        * Succeeded: The pipeline execution was completed successfully. *

        *
      • *
      • *

        * Superseded: While this pipeline execution was waiting for the next stage to be completed, a newer pipeline * execution advanced and continued through the pipeline instead. For more information, see Superseded Executions. *

        *
      • *
      • *

        * Failed: The pipeline execution was not completed successfully. *

        *
      • * @return Returns a reference to this object so that method calls can be chained together. * @see PipelineExecutionStatus */ public PipelineExecutionSummary withStatus(String status) { setStatus(status); return this; } /** *

        * The status of the pipeline execution. *

        *
          *
        • *

          * InProgress: The pipeline execution is currently running. *

          *
        • *
        • *

          * Stopped: The pipeline execution was manually stopped. For more information, see Stopped Executions. *

          *
        • *
        • *

          * Stopping: The pipeline execution received a request to be manually stopped. Depending on the selected stop mode, * the execution is either completing or abandoning in-progress actions. For more information, see Stopped Executions. *

          *
        • *
        • *

          * Succeeded: The pipeline execution was completed successfully. *

          *
        • *
        • *

          * Superseded: While this pipeline execution was waiting for the next stage to be completed, a newer pipeline * execution advanced and continued through the pipeline instead. For more information, see Superseded * Executions. *

          *
        • *
        • *

          * Failed: The pipeline execution was not completed successfully. *

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

        *
          *
        • *

          * InProgress: The pipeline execution is currently running. *

          *
        • *
        • *

          * Stopped: The pipeline execution was manually stopped. For more information, see Stopped Executions. *

          *
        • *
        • *

          * Stopping: The pipeline execution received a request to be manually stopped. Depending on the selected stop * mode, the execution is either completing or abandoning in-progress actions. For more information, see * Stopped Executions. *

          *
        • *
        • *

          * Succeeded: The pipeline execution was completed successfully. *

          *
        • *
        • *

          * Superseded: While this pipeline execution was waiting for the next stage to be completed, a newer pipeline * execution advanced and continued through the pipeline instead. For more information, see Superseded Executions. *

          *
        • *
        • *

          * Failed: The pipeline execution was not completed successfully. *

          *
        • * @see PipelineExecutionStatus */ public void setStatus(PipelineExecutionStatus status) { withStatus(status); } /** *

          * The status of the pipeline execution. *

          *
            *
          • *

            * InProgress: The pipeline execution is currently running. *

            *
          • *
          • *

            * Stopped: The pipeline execution was manually stopped. For more information, see Stopped Executions. *

            *
          • *
          • *

            * Stopping: The pipeline execution received a request to be manually stopped. Depending on the selected stop mode, * the execution is either completing or abandoning in-progress actions. For more information, see Stopped Executions. *

            *
          • *
          • *

            * Succeeded: The pipeline execution was completed successfully. *

            *
          • *
          • *

            * Superseded: While this pipeline execution was waiting for the next stage to be completed, a newer pipeline * execution advanced and continued through the pipeline instead. For more information, see Superseded * Executions. *

            *
          • *
          • *

            * Failed: The pipeline execution was not completed successfully. *

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

          *
            *
          • *

            * InProgress: The pipeline execution is currently running. *

            *
          • *
          • *

            * Stopped: The pipeline execution was manually stopped. For more information, see Stopped Executions. *

            *
          • *
          • *

            * Stopping: The pipeline execution received a request to be manually stopped. Depending on the selected stop * mode, the execution is either completing or abandoning in-progress actions. For more information, see * Stopped Executions. *

            *
          • *
          • *

            * Succeeded: The pipeline execution was completed successfully. *

            *
          • *
          • *

            * Superseded: While this pipeline execution was waiting for the next stage to be completed, a newer pipeline * execution advanced and continued through the pipeline instead. For more information, see Superseded Executions. *

            *
          • *
          • *

            * Failed: The pipeline execution was not completed successfully. *

            *
          • * @return Returns a reference to this object so that method calls can be chained together. * @see PipelineExecutionStatus */ public PipelineExecutionSummary withStatus(PipelineExecutionStatus status) { this.status = status.toString(); return this; } /** *

            * Status summary for the pipeline. *

            * * @param statusSummary * Status summary for the pipeline. */ public void setStatusSummary(String statusSummary) { this.statusSummary = statusSummary; } /** *

            * Status summary for the pipeline. *

            * * @return Status summary for the pipeline. */ public String getStatusSummary() { return this.statusSummary; } /** *

            * Status summary for the pipeline. *

            * * @param statusSummary * Status summary for the pipeline. * @return Returns a reference to this object so that method calls can be chained together. */ public PipelineExecutionSummary withStatusSummary(String statusSummary) { setStatusSummary(statusSummary); return this; } /** *

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

            * * @param startTime * The date and time when the pipeline execution began, in timestamp format. */ public void setStartTime(java.util.Date startTime) { this.startTime = startTime; } /** *

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

            * * @return The date and time when the pipeline execution began, in timestamp format. */ public java.util.Date getStartTime() { return this.startTime; } /** *

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

            * * @param startTime * The date and time when the pipeline execution began, in timestamp format. * @return Returns a reference to this object so that method calls can be chained together. */ public PipelineExecutionSummary withStartTime(java.util.Date startTime) { setStartTime(startTime); return this; } /** *

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

            * * @param lastUpdateTime * The date and time of the last change to the pipeline execution, in timestamp format. */ public void setLastUpdateTime(java.util.Date lastUpdateTime) { this.lastUpdateTime = lastUpdateTime; } /** *

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

            * * @return The date and time of the last change to the pipeline execution, in timestamp format. */ public java.util.Date getLastUpdateTime() { return this.lastUpdateTime; } /** *

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

            * * @param lastUpdateTime * The date and time of the last change to the pipeline execution, in timestamp format. * @return Returns a reference to this object so that method calls can be chained together. */ public PipelineExecutionSummary withLastUpdateTime(java.util.Date lastUpdateTime) { setLastUpdateTime(lastUpdateTime); return this; } /** *

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

            * * @return A list of the source artifact revisions that initiated a pipeline execution. */ public java.util.List getSourceRevisions() { return sourceRevisions; } /** *

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

            * * @param sourceRevisions * A list of the source artifact revisions that initiated a pipeline execution. */ public void setSourceRevisions(java.util.Collection sourceRevisions) { if (sourceRevisions == null) { this.sourceRevisions = null; return; } this.sourceRevisions = new java.util.ArrayList(sourceRevisions); } /** *

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

            *

            * NOTE: This method appends the values to the existing list (if any). Use * {@link #setSourceRevisions(java.util.Collection)} or {@link #withSourceRevisions(java.util.Collection)} if you * want to override the existing values. *

            * * @param sourceRevisions * A list of the source artifact revisions that initiated a pipeline execution. * @return Returns a reference to this object so that method calls can be chained together. */ public PipelineExecutionSummary withSourceRevisions(SourceRevision... sourceRevisions) { if (this.sourceRevisions == null) { setSourceRevisions(new java.util.ArrayList(sourceRevisions.length)); } for (SourceRevision ele : sourceRevisions) { this.sourceRevisions.add(ele); } return this; } /** *

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

            * * @param sourceRevisions * A list of the source artifact revisions that initiated a pipeline execution. * @return Returns a reference to this object so that method calls can be chained together. */ public PipelineExecutionSummary withSourceRevisions(java.util.Collection sourceRevisions) { setSourceRevisions(sourceRevisions); return this; } /** *

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

            * * @param trigger * The interaction or event that started a pipeline execution, such as automated change detection or a * StartPipelineExecution API call. */ public void setTrigger(ExecutionTrigger trigger) { this.trigger = trigger; } /** *

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

            * * @return The interaction or event that started a pipeline execution, such as automated change detection or a * StartPipelineExecution API call. */ public ExecutionTrigger getTrigger() { return this.trigger; } /** *

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

            * * @param trigger * The interaction or event that started a pipeline execution, such as automated change detection or a * StartPipelineExecution API call. * @return Returns a reference to this object so that method calls can be chained together. */ public PipelineExecutionSummary withTrigger(ExecutionTrigger trigger) { setTrigger(trigger); return this; } /** *

            * The interaction that stopped a pipeline execution. *

            * * @param stopTrigger * The interaction that stopped a pipeline execution. */ public void setStopTrigger(StopExecutionTrigger stopTrigger) { this.stopTrigger = stopTrigger; } /** *

            * The interaction that stopped a pipeline execution. *

            * * @return The interaction that stopped a pipeline execution. */ public StopExecutionTrigger getStopTrigger() { return this.stopTrigger; } /** *

            * The interaction that stopped a pipeline execution. *

            * * @param stopTrigger * The interaction that stopped a pipeline execution. * @return Returns a reference to this object so that method calls can be chained together. */ public PipelineExecutionSummary withStopTrigger(StopExecutionTrigger stopTrigger) { setStopTrigger(stopTrigger); return this; } /** *

            * The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED. *

            * * @param executionMode * The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED. * @see ExecutionMode */ public void setExecutionMode(String executionMode) { this.executionMode = executionMode; } /** *

            * The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED. *

            * * @return The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED. * @see ExecutionMode */ public String getExecutionMode() { return this.executionMode; } /** *

            * The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED. *

            * * @param executionMode * The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED. * @return Returns a reference to this object so that method calls can be chained together. * @see ExecutionMode */ public PipelineExecutionSummary withExecutionMode(String executionMode) { setExecutionMode(executionMode); return this; } /** *

            * The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED. *

            * * @param executionMode * The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED. * @see ExecutionMode */ public void setExecutionMode(ExecutionMode executionMode) { withExecutionMode(executionMode); } /** *

            * The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED. *

            * * @param executionMode * The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED. * @return Returns a reference to this object so that method calls can be chained together. * @see ExecutionMode */ public PipelineExecutionSummary withExecutionMode(ExecutionMode executionMode) { this.executionMode = executionMode.toString(); return this; } /** *

            * Type of the pipeline execution. *

            * * @param executionType * Type of the pipeline execution. * @see ExecutionType */ public void setExecutionType(String executionType) { this.executionType = executionType; } /** *

            * Type of the pipeline execution. *

            * * @return Type of the pipeline execution. * @see ExecutionType */ public String getExecutionType() { return this.executionType; } /** *

            * Type of the pipeline execution. *

            * * @param executionType * Type of the pipeline execution. * @return Returns a reference to this object so that method calls can be chained together. * @see ExecutionType */ public PipelineExecutionSummary withExecutionType(String executionType) { setExecutionType(executionType); return this; } /** *

            * Type of the pipeline execution. *

            * * @param executionType * Type of the pipeline execution. * @see ExecutionType */ public void setExecutionType(ExecutionType executionType) { withExecutionType(executionType); } /** *

            * Type of the pipeline execution. *

            * * @param executionType * Type of the pipeline execution. * @return Returns a reference to this object so that method calls can be chained together. * @see ExecutionType */ public PipelineExecutionSummary withExecutionType(ExecutionType executionType) { this.executionType = executionType.toString(); return this; } /** *

            * The metadata for the stage execution to be rolled back. *

            * * @param rollbackMetadata * The metadata for the stage execution to be rolled back. */ public void setRollbackMetadata(PipelineRollbackMetadata rollbackMetadata) { this.rollbackMetadata = rollbackMetadata; } /** *

            * The metadata for the stage execution to be rolled back. *

            * * @return The metadata for the stage execution to be rolled back. */ public PipelineRollbackMetadata getRollbackMetadata() { return this.rollbackMetadata; } /** *

            * The metadata for the stage execution to be rolled back. *

            * * @param rollbackMetadata * The metadata for the stage execution to be rolled back. * @return Returns a reference to this object so that method calls can be chained together. */ public PipelineExecutionSummary withRollbackMetadata(PipelineRollbackMetadata rollbackMetadata) { setRollbackMetadata(rollbackMetadata); return this; } /** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getPipelineExecutionId() != null) sb.append("PipelineExecutionId: ").append(getPipelineExecutionId()).append(","); if (getStatus() != null) sb.append("Status: ").append(getStatus()).append(","); if (getStatusSummary() != null) sb.append("StatusSummary: ").append(getStatusSummary()).append(","); if (getStartTime() != null) sb.append("StartTime: ").append(getStartTime()).append(","); if (getLastUpdateTime() != null) sb.append("LastUpdateTime: ").append(getLastUpdateTime()).append(","); if (getSourceRevisions() != null) sb.append("SourceRevisions: ").append(getSourceRevisions()).append(","); if (getTrigger() != null) sb.append("Trigger: ").append(getTrigger()).append(","); if (getStopTrigger() != null) sb.append("StopTrigger: ").append(getStopTrigger()).append(","); if (getExecutionMode() != null) sb.append("ExecutionMode: ").append(getExecutionMode()).append(","); if (getExecutionType() != null) sb.append("ExecutionType: ").append(getExecutionType()).append(","); if (getRollbackMetadata() != null) sb.append("RollbackMetadata: ").append(getRollbackMetadata()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof PipelineExecutionSummary == false) return false; PipelineExecutionSummary other = (PipelineExecutionSummary) obj; if (other.getPipelineExecutionId() == null ^ this.getPipelineExecutionId() == null) return false; if (other.getPipelineExecutionId() != null && other.getPipelineExecutionId().equals(this.getPipelineExecutionId()) == false) return false; if (other.getStatus() == null ^ this.getStatus() == null) return false; if (other.getStatus() != null && other.getStatus().equals(this.getStatus()) == false) return false; if (other.getStatusSummary() == null ^ this.getStatusSummary() == null) return false; if (other.getStatusSummary() != null && other.getStatusSummary().equals(this.getStatusSummary()) == false) return false; if (other.getStartTime() == null ^ this.getStartTime() == null) return false; if (other.getStartTime() != null && other.getStartTime().equals(this.getStartTime()) == false) return false; if (other.getLastUpdateTime() == null ^ this.getLastUpdateTime() == null) return false; if (other.getLastUpdateTime() != null && other.getLastUpdateTime().equals(this.getLastUpdateTime()) == false) return false; if (other.getSourceRevisions() == null ^ this.getSourceRevisions() == null) return false; if (other.getSourceRevisions() != null && other.getSourceRevisions().equals(this.getSourceRevisions()) == false) return false; if (other.getTrigger() == null ^ this.getTrigger() == null) return false; if (other.getTrigger() != null && other.getTrigger().equals(this.getTrigger()) == false) return false; if (other.getStopTrigger() == null ^ this.getStopTrigger() == null) return false; if (other.getStopTrigger() != null && other.getStopTrigger().equals(this.getStopTrigger()) == false) return false; if (other.getExecutionMode() == null ^ this.getExecutionMode() == null) return false; if (other.getExecutionMode() != null && other.getExecutionMode().equals(this.getExecutionMode()) == false) return false; if (other.getExecutionType() == null ^ this.getExecutionType() == null) return false; if (other.getExecutionType() != null && other.getExecutionType().equals(this.getExecutionType()) == false) return false; if (other.getRollbackMetadata() == null ^ this.getRollbackMetadata() == null) return false; if (other.getRollbackMetadata() != null && other.getRollbackMetadata().equals(this.getRollbackMetadata()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getPipelineExecutionId() == null) ? 0 : getPipelineExecutionId().hashCode()); hashCode = prime * hashCode + ((getStatus() == null) ? 0 : getStatus().hashCode()); hashCode = prime * hashCode + ((getStatusSummary() == null) ? 0 : getStatusSummary().hashCode()); hashCode = prime * hashCode + ((getStartTime() == null) ? 0 : getStartTime().hashCode()); hashCode = prime * hashCode + ((getLastUpdateTime() == null) ? 0 : getLastUpdateTime().hashCode()); hashCode = prime * hashCode + ((getSourceRevisions() == null) ? 0 : getSourceRevisions().hashCode()); hashCode = prime * hashCode + ((getTrigger() == null) ? 0 : getTrigger().hashCode()); hashCode = prime * hashCode + ((getStopTrigger() == null) ? 0 : getStopTrigger().hashCode()); hashCode = prime * hashCode + ((getExecutionMode() == null) ? 0 : getExecutionMode().hashCode()); hashCode = prime * hashCode + ((getExecutionType() == null) ? 0 : getExecutionType().hashCode()); hashCode = prime * hashCode + ((getRollbackMetadata() == null) ? 0 : getRollbackMetadata().hashCode()); return hashCode; } @Override public PipelineExecutionSummary clone() { try { return (PipelineExecutionSummary) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } @com.amazonaws.annotation.SdkInternalApi @Override public void marshall(ProtocolMarshaller protocolMarshaller) { com.amazonaws.services.codepipeline.model.transform.PipelineExecutionSummaryMarshaller.getInstance().marshall(this, protocolMarshaller); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy