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:
  • Constructor Details

    • InputArtifact

      public InputArtifact()
  • Method Details

    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public InputArtifact clone()
      Overrides:
      clone in class Object