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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GetPipelineStateResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetPipelineStateResult
clone()
boolean
equals(Object obj)
Date
getCreated()
The date and time the pipeline was created, in timestamp format.String
getPipelineName()
The name of the pipeline for which you want to get the state.Integer
getPipelineVersion()
The version number of the pipeline.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.Date
getUpdated()
The date and time the pipeline was last updated, in timestamp format.int
hashCode()
void
setCreated(Date created)
The date and time the pipeline was created, in timestamp format.void
setPipelineName(String pipelineName)
The name of the pipeline for which you want to get the state.void
setPipelineVersion(Integer pipelineVersion)
The version number of the pipeline.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.void
setUpdated(Date updated)
The date and time the pipeline was last updated, in timestamp format.String
toString()
Returns a string representation of this object; useful for testing and debugging.GetPipelineStateResult
withCreated(Date created)
The date and time the pipeline was created, in timestamp format.GetPipelineStateResult
withPipelineName(String pipelineName)
The name of the pipeline for which you want to get the state.GetPipelineStateResult
withPipelineVersion(Integer pipelineVersion)
The version number of the pipeline.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.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.GetPipelineStateResult
withUpdated(Date updated)
The date and time the pipeline was last updated, in timestamp format.
-
-
-
Method Detail
-
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)
orwithStageStates(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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GetPipelineStateResult clone()
-
-