@Generated(value="software.amazon.awssdk:codegen") public final class Artifact extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Artifact.Builder,Artifact>
Represents information about an artifact that will be worked upon by actions in the pipeline.
Modifier and Type | Class and Description |
---|---|
static interface |
Artifact.Builder |
Modifier and Type | Method and Description |
---|---|
static Artifact.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
ArtifactLocation |
location()
The location of an artifact.
|
String |
name()
The artifact's name.
|
String |
revision()
The artifact's revision ID.
|
List<SdkField<?>> |
sdkFields() |
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() |
copy
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()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.