Class CurrentRevision
- java.lang.Object
-
- software.amazon.awssdk.services.codepipeline.model.CurrentRevision
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CurrentRevision.Builder,CurrentRevision>
@Generated("software.amazon.awssdk:codegen") public final class CurrentRevision extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CurrentRevision.Builder,CurrentRevision>
Represents information about a current revision.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCurrentRevision.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CurrentRevision.Builderbuilder()StringchangeIdentifier()The change identifier for the current revision.Instantcreated()The date and time when the most recent revision of the artifact was created, in timestamp format.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringrevision()The revision ID of the current version of an artifact.StringrevisionSummary()The summary of the most recent revision of the artifact.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends CurrentRevision.Builder>serializableBuilderClass()CurrentRevision.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
-
revision
public final String revision()
The revision ID of the current version of an artifact.
- Returns:
- The revision ID of the current version of an artifact.
-
changeIdentifier
public final String changeIdentifier()
The change identifier for the current revision.
- Returns:
- The change identifier for the current revision.
-
created
public final Instant created()
The date and time when the most recent revision of the artifact was created, in timestamp format.
- Returns:
- The date and time when the most recent revision of the artifact was created, in timestamp format.
-
revisionSummary
public final String revisionSummary()
The summary of the most recent revision of the artifact.
- Returns:
- The summary of the most recent revision of the artifact.
-
toBuilder
public CurrentRevision.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CurrentRevision.Builder,CurrentRevision>
-
builder
public static CurrentRevision.Builder builder()
-
serializableBuilderClass
public static Class<? extends CurrentRevision.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
-
-