Class GetPipelineStateResult

java.lang.Object
com.amazonaws.services.codepipeline.model.GetPipelineStateResult
All Implemented Interfaces:
Serializable, Cloneable

public class GetPipelineStateResult extends Object implements Serializable, Cloneable

Represents the output of a get pipeline state action.

See Also:
  • Constructor Details

    • GetPipelineStateResult

      public GetPipelineStateResult()
  • Method Details

    • setPipelineName

      public void setPipelineName(String pipelineName)

      The name of the pipeline for which you want to get the state.

      Parameters:
      pipelineName - The name of the pipeline for which you want to get the state.
    • getPipelineName

      public String getPipelineName()

      The name of the pipeline for which you want to get the state.

      Returns:
      The name of the pipeline for which you want to get the state.
    • withPipelineName

      public GetPipelineStateResult withPipelineName(String pipelineName)

      The name of the pipeline for which you want to get the state.

      Parameters:
      pipelineName - The name of the pipeline for which you want to get the state.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setPipelineVersion

      public void setPipelineVersion(Integer pipelineVersion)

      The version number of the pipeline.

      A newly-created pipeline is always assigned a version number of 1.
      Parameters:
      pipelineVersion - The version number of the pipeline.

      A newly-created pipeline is always assigned a version number of 1.
    • getPipelineVersion

      public Integer getPipelineVersion()

      The version number of the pipeline.

      A newly-created pipeline is always assigned a version number of 1.
      Returns:
      The version number of the pipeline.

      A newly-created pipeline is always assigned a version number of 1.
    • withPipelineVersion

      public GetPipelineStateResult withPipelineVersion(Integer pipelineVersion)

      The version number of the pipeline.

      A newly-created pipeline is always assigned a version number of 1.
      Parameters:
      pipelineVersion - The version number of the pipeline.

      A newly-created pipeline is always assigned a version number of 1.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getStageStates

      public List<StageState> getStageStates()

      A list of the pipeline stage output information, including stage name, state, most recent run details, whether the stage is disabled, and other data.

      Returns:
      A list of the pipeline stage output information, including stage name, state, most recent run details, whether the stage is disabled, and other data.
    • setStageStates

      public void setStageStates(Collection<StageState> stageStates)

      A list of the pipeline stage output information, including stage name, state, most recent run details, whether the stage is disabled, and other data.

      Parameters:
      stageStates - A list of the pipeline stage output information, including stage name, state, most recent run details, whether the stage is disabled, and other data.
    • withStageStates

      public GetPipelineStateResult withStageStates(StageState... stageStates)

      A list of the pipeline stage output information, including stage name, state, most recent run details, whether the stage is disabled, and other data.

      NOTE: This method appends the values to the existing list (if any). Use setStageStates(java.util.Collection) or withStageStates(java.util.Collection) if you want to override the existing values.

      Parameters:
      stageStates - A list of the pipeline stage output information, including stage name, state, most recent run details, whether the stage is disabled, and other data.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withStageStates

      public GetPipelineStateResult withStageStates(Collection<StageState> stageStates)

      A list of the pipeline stage output information, including stage name, state, most recent run details, whether the stage is disabled, and other data.

      Parameters:
      stageStates - A list of the pipeline stage output information, including stage name, state, most recent run details, whether the stage is disabled, and other data.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setCreated

      public void setCreated(Date created)

      The date and time the pipeline was created, in timestamp format.

      Parameters:
      created - The date and time the pipeline was created, in timestamp format.
    • getCreated

      public Date getCreated()

      The date and time the pipeline was created, in timestamp format.

      Returns:
      The date and time the pipeline was created, in timestamp format.
    • withCreated

      public GetPipelineStateResult withCreated(Date created)

      The date and time the pipeline was created, in timestamp format.

      Parameters:
      created - The date and time the pipeline was created, in timestamp format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setUpdated

      public void setUpdated(Date updated)

      The date and time the pipeline was last updated, in timestamp format.

      Parameters:
      updated - The date and time the pipeline was last updated, in timestamp format.
    • getUpdated

      public Date getUpdated()

      The date and time the pipeline was last updated, in timestamp format.

      Returns:
      The date and time the pipeline was last updated, in timestamp format.
    • withUpdated

      public GetPipelineStateResult withUpdated(Date updated)

      The date and time the pipeline was last updated, in timestamp format.

      Parameters:
      updated - The date and time the pipeline was last updated, in timestamp format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public GetPipelineStateResult clone()
      Overrides:
      clone in class Object