Class Artifact
java.lang.Object
com.amazonaws.services.codepipeline.model.Artifact
- All Implemented Interfaces:
Serializable, Cloneable
Represents information about an artifact that will be worked upon by actions in the pipeline.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe location of an artifact.getName()The artifact's name.The artifact's revision ID.inthashCode()voidsetLocation(ArtifactLocation location) The location of an artifact.voidThe artifact's name.voidsetRevision(String revision) The artifact's revision ID.toString()Returns a string representation of this object; useful for testing and debugging.withLocation(ArtifactLocation location) The location of an artifact.The artifact's name.withRevision(String revision) The artifact's revision ID.
-
Constructor Details
-
Artifact
public Artifact()
-
-
Method Details
-
setName
-
getName
-
withName
-
setRevision
The artifact's revision ID. Depending on the type of object, this could be a commit ID (GitHub) or a revision ID (Amazon S3).
- Parameters:
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).
-
getRevision
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).
-
withRevision
The artifact's revision ID. Depending on the type of object, this could be a commit ID (GitHub) or a revision ID (Amazon S3).
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
setLocation
The location of an artifact.
- Parameters:
location- The location of an artifact.
-
getLocation
The location of an artifact.
- Returns:
- The location of an artifact.
-
withLocation
The location of an artifact.
- Parameters:
location- The location of an artifact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
-