Class PipelineSummary
- java.lang.Object
-
- com.amazonaws.services.codepipeline.model.PipelineSummary
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class PipelineSummary extends Object implements Serializable, Cloneable
Returns a summary of a pipeline.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PipelineSummary()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PipelineSummary
clone()
boolean
equals(Object obj)
Date
getCreated()
The date and time the pipeline was created, in timestamp format.String
getName()
The name of the pipeline.Date
getUpdated()
The date and time of the last update to the pipeline, in timestamp format.Integer
getVersion()
The version number of the pipeline.int
hashCode()
void
setCreated(Date created)
The date and time the pipeline was created, in timestamp format.void
setName(String name)
The name of the pipeline.void
setUpdated(Date updated)
The date and time of the last update to the pipeline, in timestamp format.void
setVersion(Integer version)
The version number of the pipeline.String
toString()
Returns a string representation of this object; useful for testing and debugging.PipelineSummary
withCreated(Date created)
The date and time the pipeline was created, in timestamp format.PipelineSummary
withName(String name)
The name of the pipeline.PipelineSummary
withUpdated(Date updated)
The date and time of the last update to the pipeline, in timestamp format.PipelineSummary
withVersion(Integer version)
The version number of the pipeline.
-
-
-
Method Detail
-
setName
public void setName(String name)
The name of the pipeline.
- Parameters:
name
- The name of the pipeline.
-
getName
public String getName()
The name of the pipeline.
- Returns:
- The name of the pipeline.
-
withName
public PipelineSummary withName(String name)
The name of the pipeline.
- Parameters:
name
- The name of the pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVersion
public void setVersion(Integer version)
The version number of the pipeline.
- Parameters:
version
- The version number of the pipeline.
-
getVersion
public Integer getVersion()
The version number of the pipeline.
- Returns:
- The version number of the pipeline.
-
withVersion
public PipelineSummary withVersion(Integer version)
The version number of the pipeline.
- Parameters:
version
- The version number of the pipeline.- 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 PipelineSummary 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 of the last update to the pipeline, in timestamp format.
- Parameters:
updated
- The date and time of the last update to the pipeline, in timestamp format.
-
getUpdated
public Date getUpdated()
The date and time of the last update to the pipeline, in timestamp format.
- Returns:
- The date and time of the last update to the pipeline, in timestamp format.
-
withUpdated
public PipelineSummary withUpdated(Date updated)
The date and time of the last update to the pipeline, in timestamp format.
- Parameters:
updated
- The date and time of the last update to the pipeline, 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 PipelineSummary clone()
-
-