Class GetPipelineStateResult
- All Implemented Interfaces:
Serializable
,Cloneable
Represents the output of a get pipeline state action.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The date and time the pipeline was created, in timestamp format.The name of the pipeline for which you want to get the state.The version number of the pipeline.A list of the pipeline stage output information, including stage name, state, most recent run details, whether the stage is disabled, and other data.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.toString()
Returns a string representation of this object; useful for testing and debugging.withCreated
(Date created) The date and time the pipeline was created, in timestamp format.withPipelineName
(String pipelineName) The name of the pipeline for which you want to get the state.withPipelineVersion
(Integer pipelineVersion) The version number of the pipeline.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.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.withUpdated
(Date updated) The date and time the pipeline was last updated, in timestamp format.
-
Constructor Details
-
GetPipelineStateResult
public GetPipelineStateResult()
-
-
Method Details
-
setPipelineName
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
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
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
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
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
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
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
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
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
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
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
The date and time the pipeline was created, in timestamp format.
- Returns:
- The date and time the pipeline was created, in timestamp format.
-
withCreated
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
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
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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-