Class SourceRevisionOverride
- java.lang.Object
-
- software.amazon.awssdk.services.codepipeline.model.SourceRevisionOverride
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SourceRevisionOverride.Builder,SourceRevisionOverride>
@Generated("software.amazon.awssdk:codegen") public final class SourceRevisionOverride extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SourceRevisionOverride.Builder,SourceRevisionOverride>
A list that allows you to specify, or override, the source revision for a pipeline execution that's being started. A source revision is the version with all the changes to your application code, or source artifact, for the pipeline execution.
For the
S3_OBJECT_VERSION_IDandS3_OBJECT_KEYtypes of source revisions, either of the types can be used independently, or they can be used together to override the source with a specific ObjectKey and VersionID.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSourceRevisionOverride.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringactionName()The name of the action where the override will be applied.static SourceRevisionOverride.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()SourceRevisionTyperevisionType()The type of source revision, based on the source provider.StringrevisionTypeAsString()The type of source revision, based on the source provider.StringrevisionValue()The source revision, or version of your source artifact, with the changes that you want to run in the pipeline execution.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends SourceRevisionOverride.Builder>serializableBuilderClass()SourceRevisionOverride.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 where the override will be applied.
- Returns:
- The name of the action where the override will be applied.
-
revisionType
public final SourceRevisionType revisionType()
The type of source revision, based on the source provider. For example, the revision type for the CodeCommit action provider is the commit ID.
If the service returns an enum value that is not available in the current SDK version,
revisionTypewill returnSourceRevisionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrevisionTypeAsString().- Returns:
- The type of source revision, based on the source provider. For example, the revision type for the CodeCommit action provider is the commit ID.
- See Also:
SourceRevisionType
-
revisionTypeAsString
public final String revisionTypeAsString()
The type of source revision, based on the source provider. For example, the revision type for the CodeCommit action provider is the commit ID.
If the service returns an enum value that is not available in the current SDK version,
revisionTypewill returnSourceRevisionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrevisionTypeAsString().- Returns:
- The type of source revision, based on the source provider. For example, the revision type for the CodeCommit action provider is the commit ID.
- See Also:
SourceRevisionType
-
revisionValue
public final String revisionValue()
The source revision, or version of your source artifact, with the changes that you want to run in the pipeline execution.
- Returns:
- The source revision, or version of your source artifact, with the changes that you want to run in the pipeline execution.
-
toBuilder
public SourceRevisionOverride.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SourceRevisionOverride.Builder,SourceRevisionOverride>
-
builder
public static SourceRevisionOverride.Builder builder()
-
serializableBuilderClass
public static Class<? extends SourceRevisionOverride.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
-
-