public class ArtifactRevision extends Object implements Serializable, Cloneable
Represents revision details of an artifact.
| Constructor and Description |
|---|
ArtifactRevision() |
| Modifier and Type | Method and Description |
|---|---|
ArtifactRevision |
clone() |
boolean |
equals(Object obj) |
Date |
getCreated()
The date and time when the most recent revision of the artifact was
created, in timestamp format.
|
String |
getRevisionChangeIdentifier()
An additional identifier for a revision, such as a commit date or, for
artifacts stored in Amazon S3 buckets, the ETag value.
|
String |
getRevisionId()
The revision ID of the artifact.
|
String |
getRevisionSummary()
Summary information about the most recent revision of the artifact.
|
String |
getRevisionUrl()
The commit ID for the artifact revision.
|
int |
hashCode() |
void |
setCreated(Date created)
The date and time when the most recent revision of the artifact was
created, in timestamp format.
|
void |
setRevisionChangeIdentifier(String revisionChangeIdentifier)
An additional identifier for a revision, such as a commit date or, for
artifacts stored in Amazon S3 buckets, the ETag value.
|
void |
setRevisionId(String revisionId)
The revision ID of the artifact.
|
void |
setRevisionSummary(String revisionSummary)
Summary information about the most recent revision of the artifact.
|
void |
setRevisionUrl(String revisionUrl)
The commit ID for the artifact revision.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ArtifactRevision |
withCreated(Date created)
The date and time when the most recent revision of the artifact was
created, in timestamp format.
|
ArtifactRevision |
withRevisionChangeIdentifier(String revisionChangeIdentifier)
An additional identifier for a revision, such as a commit date or, for
artifacts stored in Amazon S3 buckets, the ETag value.
|
ArtifactRevision |
withRevisionId(String revisionId)
The revision ID of the artifact.
|
ArtifactRevision |
withRevisionSummary(String revisionSummary)
Summary information about the most recent revision of the artifact.
|
ArtifactRevision |
withRevisionUrl(String revisionUrl)
The commit ID for the artifact revision.
|
public void setRevisionId(String revisionId)
The revision ID of the artifact.
revisionId - The revision ID of the artifact.public String getRevisionId()
The revision ID of the artifact.
public ArtifactRevision withRevisionId(String revisionId)
The revision ID of the artifact.
revisionId - The revision ID of the artifact.public void setRevisionChangeIdentifier(String revisionChangeIdentifier)
An additional identifier for a revision, such as a commit date or, for artifacts stored in Amazon S3 buckets, the ETag value.
revisionChangeIdentifier - An additional identifier for a revision, such as a commit date or,
for artifacts stored in Amazon S3 buckets, the ETag value.public String getRevisionChangeIdentifier()
An additional identifier for a revision, such as a commit date or, for artifacts stored in Amazon S3 buckets, the ETag value.
public ArtifactRevision withRevisionChangeIdentifier(String revisionChangeIdentifier)
An additional identifier for a revision, such as a commit date or, for artifacts stored in Amazon S3 buckets, the ETag value.
revisionChangeIdentifier - An additional identifier for a revision, such as a commit date or,
for artifacts stored in Amazon S3 buckets, the ETag value.public void setRevisionSummary(String revisionSummary)
Summary information about the most recent revision of the artifact. For
GitHub and AWS CodeCommit repositories, the commit message. For Amazon S3
buckets or actions, the user-provided value of an
x-amz-meta-codepipeline-artifact-revision-summary key
specified in the object metadata.
revisionSummary - Summary information about the most recent revision of the
artifact. For GitHub and AWS CodeCommit repositories, the commit
message. For Amazon S3 buckets or actions, the user-provided value
of an
x-amz-meta-codepipeline-artifact-revision-summary key
specified in the object metadata.public String getRevisionSummary()
Summary information about the most recent revision of the artifact. For
GitHub and AWS CodeCommit repositories, the commit message. For Amazon S3
buckets or actions, the user-provided value of an
x-amz-meta-codepipeline-artifact-revision-summary key
specified in the object metadata.
x-amz-meta-codepipeline-artifact-revision-summary
key specified in the object metadata.public ArtifactRevision withRevisionSummary(String revisionSummary)
Summary information about the most recent revision of the artifact. For
GitHub and AWS CodeCommit repositories, the commit message. For Amazon S3
buckets or actions, the user-provided value of an
x-amz-meta-codepipeline-artifact-revision-summary key
specified in the object metadata.
revisionSummary - Summary information about the most recent revision of the
artifact. For GitHub and AWS CodeCommit repositories, the commit
message. For Amazon S3 buckets or actions, the user-provided value
of an
x-amz-meta-codepipeline-artifact-revision-summary key
specified in the object metadata.public void setCreated(Date created)
The date and time when the most recent revision of the artifact was created, in timestamp format.
created - The date and time when the most recent revision of the artifact
was created, in timestamp format.public Date getCreated()
The date and time when the most recent revision of the artifact was created, in timestamp format.
public ArtifactRevision withCreated(Date created)
The date and time when the most recent revision of the artifact was created, in timestamp format.
created - The date and time when the most recent revision of the artifact
was created, in timestamp format.public void setRevisionUrl(String revisionUrl)
The commit ID for the artifact revision. For artifacts stored in GitHub or AWS CodeCommit repositories, the commit ID is linked to a commit details page.
revisionUrl - The commit ID for the artifact revision. For artifacts stored in
GitHub or AWS CodeCommit repositories, the commit ID is linked to
a commit details page.public String getRevisionUrl()
The commit ID for the artifact revision. For artifacts stored in GitHub or AWS CodeCommit repositories, the commit ID is linked to a commit details page.
public ArtifactRevision withRevisionUrl(String revisionUrl)
The commit ID for the artifact revision. For artifacts stored in GitHub or AWS CodeCommit repositories, the commit ID is linked to a commit details page.
revisionUrl - The commit ID for the artifact revision. For artifacts stored in
GitHub or AWS CodeCommit repositories, the commit ID is linked to
a commit details page.public String toString()
toString in class ObjectObject.toString()public ArtifactRevision clone()
Copyright © 2016. All rights reserved.