@Generated(value="software.amazon.awssdk:codegen") public class ArtifactRevision extends Object implements StructuredPojo, ToCopyableBuilder<ArtifactRevision.Builder,ArtifactRevision>
Represents revision details of an artifact.
Modifier and Type | Class and Description |
---|---|
static interface |
ArtifactRevision.Builder |
Modifier and Type | Method and Description |
---|---|
static ArtifactRevision.Builder |
builder() |
Instant |
created()
The date and time when the most recent revision of the artifact was created, in timestamp format.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
name()
The name of an artifact.
|
String |
revisionChangeIdentifier()
An additional identifier for a revision, such as a commit date or, for artifacts stored in Amazon S3 buckets, the
ETag value.
|
String |
revisionId()
The revision ID of the artifact.
|
String |
revisionSummary()
Summary information about the most recent revision of the artifact.
|
String |
revisionUrl()
The commit ID for the artifact revision.
|
static Class<? extends ArtifactRevision.Builder> |
serializableBuilderClass() |
ArtifactRevision.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public 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.
public String revisionId()
The revision ID of the artifact.
public String 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 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.
codepipeline-artifact-revision-summary
key specified in the object metadata.public Instant created()
The date and time when the most recent revision of the artifact was created, in timestamp format.
public 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.
public ArtifactRevision.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ArtifactRevision.Builder,ArtifactRevision>
public static ArtifactRevision.Builder builder()
public static Class<? extends ArtifactRevision.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.