Class InputArtifact
- java.lang.Object
-
- com.amazonaws.services.codepipeline.model.InputArtifact
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class InputArtifact extends Object implements Serializable, Cloneable
Represents information about an artifact to be worked on, such as a test or build artifact.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InputArtifact()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputArtifact
clone()
boolean
equals(Object obj)
String
getName()
The name of the artifact to be worked on, for example, "My App".int
hashCode()
void
setName(String name)
The name of the artifact to be worked on, for example, "My App".String
toString()
Returns a string representation of this object; useful for testing and debugging.InputArtifact
withName(String name)
The name of the artifact to be worked on, for example, "My App".
-
-
-
Method Detail
-
setName
public void setName(String name)
The name of the artifact to be worked on, for example, "My App".
The input artifact of an action must exactly match the output artifact declared in a preceding action, but the input artifact does not have to be the next action in strict sequence from the action that provided the output artifact. Actions in parallel can declare different output artifacts, which are in turn consumed by different following actions.
- Parameters:
name
- The name of the artifact to be worked on, for example, "My App".The input artifact of an action must exactly match the output artifact declared in a preceding action, but the input artifact does not have to be the next action in strict sequence from the action that provided the output artifact. Actions in parallel can declare different output artifacts, which are in turn consumed by different following actions.
-
getName
public String getName()
The name of the artifact to be worked on, for example, "My App".
The input artifact of an action must exactly match the output artifact declared in a preceding action, but the input artifact does not have to be the next action in strict sequence from the action that provided the output artifact. Actions in parallel can declare different output artifacts, which are in turn consumed by different following actions.
- Returns:
- The name of the artifact to be worked on, for example,
"My App".
The input artifact of an action must exactly match the output artifact declared in a preceding action, but the input artifact does not have to be the next action in strict sequence from the action that provided the output artifact. Actions in parallel can declare different output artifacts, which are in turn consumed by different following actions.
-
withName
public InputArtifact withName(String name)
The name of the artifact to be worked on, for example, "My App".
The input artifact of an action must exactly match the output artifact declared in a preceding action, but the input artifact does not have to be the next action in strict sequence from the action that provided the output artifact. Actions in parallel can declare different output artifacts, which are in turn consumed by different following actions.
- Parameters:
name
- The name of the artifact to be worked on, for example, "My App".The input artifact of an action must exactly match the output artifact declared in a preceding action, but the input artifact does not have to be the next action in strict sequence from the action that provided the output artifact. Actions in parallel can declare different output artifacts, which are in turn consumed by different following actions.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public InputArtifact clone()
-
-