@Generated(value="software.amazon.awssdk:codegen") public final 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 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. 
 | 
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()  | 
copypublic 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()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<Artifact.Builder,Artifact>public static Artifact.Builder builder()
public static Class<? extends Artifact.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.