StructuredPojo
, ToCopyableBuilder<Artifact.Builder,Artifact>
@Generated("software.amazon.awssdk:codegen") public class Artifact extends Object implements StructuredPojo, ToCopyableBuilder<Artifact.Builder,Artifact>
Represents information about an artifact that will be worked upon by actions in the pipeline.
Modifier and Type | Class | Description |
---|---|---|
static interface |
Artifact.Builder |
Modifier and Type | Method | Description |
---|---|---|
static Artifact.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
ArtifactLocation |
location() |
The location of an artifact.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
name() |
The artifact's name.
|
String |
revision() |
The artifact's revision ID.
|
static Class<? extends Artifact.Builder> |
serializableBuilderClass() |
|
Artifact.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public String name()
The artifact's name.
public 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).
public ArtifactLocation location()
The location of an artifact.
public Artifact.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Artifact.Builder,Artifact>
public static Artifact.Builder builder()
public static Class<? extends Artifact.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.