@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ArtifactRevision extends Object implements Serializable, Cloneable, StructuredPojo
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 |
getName()
The name of an artifact.
|
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreated(Date created)
The date and time when the most recent revision of the artifact was created, in timestamp format.
|
void |
setName(String name)
The name of an artifact.
|
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 |
withName(String name)
The name of an artifact.
|
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 setName(String name)
The name of an artifact. This name might be system-generated, such as "MyApp", or might be defined by the user when an action is created.
name
- The name of an artifact. This name might be system-generated, such as "MyApp", or might be defined by the
user when an action is created.public String getName()
The name of an artifact. This name might be system-generated, such as "MyApp", or might be defined by the user when an action is created.
public ArtifactRevision withName(String name)
The name of an artifact. This name might be system-generated, such as "MyApp", or might be defined by the user when an action is created.
name
- The name of an artifact. This name might be system-generated, such as "MyApp", or might be defined by the
user when an action is created.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 content of a
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 content of a
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 content of a
codepipeline-artifact-revision-summary
key specified in the object metadata.
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 content of a
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 content of a
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 Object
Object.toString()
public ArtifactRevision clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.