@Generated(value="software.amazon.awssdk:codegen") public final class SourceRevision extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SourceRevision.Builder,SourceRevision>
Information about the version (or revision) of a source artifact that initiated a pipeline execution.
Modifier and Type | Class and Description |
---|---|
static interface |
SourceRevision.Builder |
Modifier and Type | Method and Description |
---|---|
String |
actionName()
The name of the action that processed the revision to the source artifact.
|
static SourceRevision.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
revisionId()
The system-generated unique ID that identifies the revision number of the artifact.
|
String |
revisionSummary()
Summary information about the most recent revision of the artifact.
|
String |
revisionUrl()
The commit ID for the artifact revision.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SourceRevision.Builder> |
serializableBuilderClass() |
SourceRevision.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 actionName()
The name of the action that processed the revision to the source artifact.
public String revisionId()
The system-generated unique ID that identifies the revision number of the artifact.
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 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 SourceRevision.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<SourceRevision.Builder,SourceRevision>
public static SourceRevision.Builder builder()
public static Class<? extends SourceRevision.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.