Class OutputArtifact

java.lang.Object
com.amazonaws.services.codepipeline.model.OutputArtifact
All Implemented Interfaces:
Serializable, Cloneable

public class OutputArtifact extends Object implements Serializable, Cloneable

Represents information about the output of an action.

See Also:
  • Constructor Details

    • OutputArtifact

      public OutputArtifact()
  • Method Details

    • setName

      public void setName(String name)

      The name of the output of an artifact, such as "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.

      Output artifact names must be unique within a pipeline.

      Parameters:
      name - The name of the output of an artifact, such as "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.

      Output artifact names must be unique within a pipeline.

    • getName

      public String getName()

      The name of the output of an artifact, such as "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.

      Output artifact names must be unique within a pipeline.

      Returns:
      The name of the output of an artifact, such as "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.

      Output artifact names must be unique within a pipeline.

    • withName

      public OutputArtifact withName(String name)

      The name of the output of an artifact, such as "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.

      Output artifact names must be unique within a pipeline.

      Parameters:
      name - The name of the output of an artifact, such as "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.

      Output artifact names must be unique within a pipeline.

      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 OutputArtifact clone()
      Overrides:
      clone in class Object