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()
boolean
The location of an artifact.getName()
The artifact's name.The artifact's revision ID.int
hashCode()
void
setLocation
(ArtifactLocation location) The location of an artifact.void
The artifact's name.void
setRevision
(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
The artifact's name.
- Parameters:
name
- The artifact's name.
-
getName
The artifact's name.
- Returns:
- The artifact's name.
-
withName
The artifact's name.
- Parameters:
name
- The artifact's name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-