Class Artifact
- java.lang.Object
-
- software.amazon.awssdk.services.codepipeline.model.Artifact
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Artifact.Builder,Artifact>
@Generated("software.amazon.awssdk:codegen") public final class Artifact extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Artifact.Builder,Artifact>
Artifacts are the files that are worked on by actions in the pipeline. See the action configuration for each action for details about artifact parameters. For example, the S3 source action artifact is a file name (or file path), and the files are generally provided as a ZIP file. Example artifact name: SampleApp_Windows.zip
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceArtifact.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Artifact.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ArtifactLocationlocation()The location of an artifact.Stringname()The artifact's name.Stringrevision()The artifact's revision ID.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends Artifact.Builder>serializableBuilderClass()Artifact.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
-
name
public final String name()
The artifact's name.
- Returns:
- The artifact's name.
-
revision
public final String revision()
The artifact's revision ID. Depending on the type of object, this could be a commit ID (GitHub) or a revision ID (Amazon S3).
- Returns:
- The artifact's revision ID. Depending on the type of object, this could be a commit ID (GitHub) or a revision ID (Amazon S3).
-
location
public final ArtifactLocation location()
The location of an artifact.
- Returns:
- The location of an artifact.
-
toBuilder
public Artifact.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Artifact.Builder,Artifact>
-
builder
public static Artifact.Builder builder()
-
serializableBuilderClass
public static Class<? extends Artifact.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
-
-