public class GetPipelineStateResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents the output of a get pipeline state action.
Modifier and Type | Field and Description |
---|---|
private java.util.Date |
created
The date and time the pipeline was created, in timestamp format.
|
private java.lang.String |
pipelineName
The name of the pipeline for which you want to get the state.
|
private java.lang.Integer |
pipelineVersion
The version number of the pipeline.
|
private java.util.List<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.
|
private java.util.Date |
updated
The date and time the pipeline was last updated, in timestamp format.
|
Constructor and Description |
---|
GetPipelineStateResult() |
Modifier and Type | Method and Description |
---|---|
GetPipelineStateResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getCreated()
The date and time the pipeline was created, in timestamp format.
|
java.lang.String |
getPipelineName()
The name of the pipeline for which you want to get the state.
|
java.lang.Integer |
getPipelineVersion()
The version number of the pipeline.
|
java.util.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.
|
java.util.Date |
getUpdated()
The date and time the pipeline was last updated, in timestamp format.
|
int |
hashCode() |
void |
setCreated(java.util.Date created)
The date and time the pipeline was created, in timestamp format.
|
void |
setPipelineName(java.lang.String pipelineName)
The name of the pipeline for which you want to get the state.
|
void |
setPipelineVersion(java.lang.Integer pipelineVersion)
The version number of the pipeline.
|
void |
setStageStates(java.util.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(java.util.Date updated)
The date and time the pipeline was last updated, in timestamp format.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetPipelineStateResult |
withCreated(java.util.Date created)
The date and time the pipeline was created, in timestamp format.
|
GetPipelineStateResult |
withPipelineName(java.lang.String pipelineName)
The name of the pipeline for which you want to get the state.
|
GetPipelineStateResult |
withPipelineVersion(java.lang.Integer pipelineVersion)
The version number of the pipeline.
|
GetPipelineStateResult |
withStageStates(java.util.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 |
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 |
withUpdated(java.util.Date updated)
The date and time the pipeline was last updated, in timestamp format.
|
private java.lang.String pipelineName
The name of the pipeline for which you want to get the state.
private java.lang.Integer pipelineVersion
The version number of the pipeline.
1
.private java.util.List<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.
private java.util.Date created
The date and time the pipeline was created, in timestamp format.
private java.util.Date updated
The date and time the pipeline was last updated, in timestamp format.
public void setPipelineName(java.lang.String pipelineName)
The name of the pipeline for which you want to get the state.
pipelineName
- The name of the pipeline for which you want to get the state.public java.lang.String getPipelineName()
The name of the pipeline for which you want to get the state.
public GetPipelineStateResult withPipelineName(java.lang.String pipelineName)
The name of the pipeline for which you want to get the state.
pipelineName
- The name of the pipeline for which you want to get the state.public void setPipelineVersion(java.lang.Integer pipelineVersion)
The version number of the pipeline.
1
.pipelineVersion
- The version number of the pipeline. 1
.public java.lang.Integer getPipelineVersion()
The version number of the pipeline.
1
.1
.public GetPipelineStateResult withPipelineVersion(java.lang.Integer pipelineVersion)
The version number of the pipeline.
1
.pipelineVersion
- The version number of the pipeline. 1
.public java.util.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.
public void setStageStates(java.util.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.
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.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.
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.public GetPipelineStateResult withStageStates(java.util.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.
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.public void setCreated(java.util.Date created)
The date and time the pipeline was created, in timestamp format.
created
- The date and time the pipeline was created, in timestamp format.public java.util.Date getCreated()
The date and time the pipeline was created, in timestamp format.
public GetPipelineStateResult withCreated(java.util.Date created)
The date and time the pipeline was created, in timestamp format.
created
- The date and time the pipeline was created, in timestamp format.public void setUpdated(java.util.Date updated)
The date and time the pipeline was last updated, in timestamp format.
updated
- The date and time the pipeline was last updated, in timestamp
format.public java.util.Date getUpdated()
The date and time the pipeline was last updated, in timestamp format.
public GetPipelineStateResult withUpdated(java.util.Date updated)
The date and time the pipeline was last updated, in timestamp format.
updated
- The date and time the pipeline was last updated, in timestamp
format.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public GetPipelineStateResult clone()
clone
in class java.lang.Object