public class GetPipelineStateResult extends Object implements Serializable, Cloneable
Represents the output of a get pipeline state action.
Constructor and Description |
---|
GetPipelineStateResult() |
Modifier and Type | Method and 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(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(Date updated)
The date and time the pipeline was last updated, in timestamp format.
|
public void setPipelineName(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 String getPipelineName()
The name of the pipeline for which you want to get the state.
public GetPipelineStateResult withPipelineName(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(Integer pipelineVersion)
The version number of the pipeline.
1
.pipelineVersion
- The version number of the pipeline. 1
.public Integer getPipelineVersion()
The version number of the pipeline.
1
.1
.public GetPipelineStateResult withPipelineVersion(Integer pipelineVersion)
The version number of the pipeline.
1
.pipelineVersion
- The version number of the pipeline. 1
.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.
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.
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(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(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 Date getCreated()
The date and time the pipeline was created, in timestamp format.
public GetPipelineStateResult withCreated(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(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 Date getUpdated()
The date and time the pipeline was last updated, in timestamp format.
public GetPipelineStateResult withUpdated(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 String toString()
toString
in class Object
Object.toString()
public GetPipelineStateResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.