Class SourceRevision
- java.lang.Object
-
- software.amazon.awssdk.services.codepipeline.model.SourceRevision
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SourceRevision.Builder,SourceRevision>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSourceRevision.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringactionName()The name of the action that processed the revision to the source artifact.static SourceRevision.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringrevisionId()The system-generated unique ID that identifies the revision number of the artifact.StringrevisionSummary()Summary information about the most recent revision of the artifact.StringrevisionUrl()The commit ID for the artifact revision.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends SourceRevision.Builder>serializableBuilderClass()SourceRevision.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
actionName
public final String actionName()
The name of the action that processed the revision to the source artifact.
- Returns:
- The name of the action that processed the revision to the source artifact.
-
revisionId
public final String revisionId()
The system-generated unique ID that identifies the revision number of the artifact.
- Returns:
- The system-generated unique ID that identifies the revision number of the artifact.
-
revisionSummary
public final String revisionSummary()
Summary information about the most recent revision of the artifact. For GitHub and CodeCommit repositories, the commit message. For Amazon S3 buckets or actions, the user-provided content of a
codepipeline-artifact-revision-summarykey specified in the object metadata.- Returns:
- Summary information about the most recent revision of the artifact. For GitHub and CodeCommit
repositories, the commit message. For Amazon S3 buckets or actions, the user-provided content of a
codepipeline-artifact-revision-summarykey specified in the object metadata.
-
revisionUrl
public final String revisionUrl()
The commit ID for the artifact revision. For artifacts stored in GitHub or CodeCommit repositories, the commit ID is linked to a commit details page.
- Returns:
- The commit ID for the artifact revision. For artifacts stored in GitHub or CodeCommit repositories, the commit ID is linked to a commit details page.
-
toBuilder
public SourceRevision.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SourceRevision.Builder,SourceRevision>
-
builder
public static SourceRevision.Builder builder()
-
serializableBuilderClass
public static Class<? extends SourceRevision.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-