@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Artifact extends Object implements Serializable, Cloneable, StructuredPojo
Represents information about an artifact that is worked on by actions in the pipeline.
| Constructor and Description | 
|---|
| Artifact() | 
| Modifier and Type | Method and Description | 
|---|---|
| Artifact | clone() | 
| boolean | equals(Object obj) | 
| ArtifactLocation | getLocation()
 The location of an artifact. | 
| String | getName()
 The artifact's name. | 
| String | getRevision()
 The artifact's revision ID. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller) | 
| void | setLocation(ArtifactLocation location)
 The location of an artifact. | 
| void | setName(String name)
 The artifact's name. | 
| void | setRevision(String revision)
 The artifact's revision ID. | 
| String | toString()Returns a string representation of this object. | 
| Artifact | withLocation(ArtifactLocation location)
 The location of an artifact. | 
| Artifact | withName(String name)
 The artifact's name. | 
| Artifact | withRevision(String revision)
 The artifact's revision ID. | 
public void setName(String name)
The artifact's name.
name - The artifact's name.public String getName()
The artifact's name.
public Artifact withName(String name)
The artifact's name.
name - The artifact's name.public void setRevision(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).
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).public String 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).
public Artifact withRevision(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).
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).public void setLocation(ArtifactLocation location)
The location of an artifact.
location - The location of an artifact.public ArtifactLocation getLocation()
The location of an artifact.
public Artifact withLocation(ArtifactLocation location)
The location of an artifact.
location - The location of an artifact.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.