Class ArtifactLocation

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

public class ArtifactLocation extends Object implements Serializable, Cloneable

Represents information about the location of an artifact.

See Also:
  • Constructor Details

    • ArtifactLocation

      public ArtifactLocation()
  • Method Details

    • setType

      public void setType(String type)

      The type of artifact in the location.

      Parameters:
      type - The type of artifact in the location.
      See Also:
    • getType

      public String getType()

      The type of artifact in the location.

      Returns:
      The type of artifact in the location.
      See Also:
    • withType

      public ArtifactLocation withType(String type)

      The type of artifact in the location.

      Parameters:
      type - The type of artifact in the location.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setType

      public void setType(ArtifactLocationType type)

      The type of artifact in the location.

      Parameters:
      type - The type of artifact in the location.
      See Also:
    • withType

      public ArtifactLocation withType(ArtifactLocationType type)

      The type of artifact in the location.

      Parameters:
      type - The type of artifact in the location.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setS3Location

      public void setS3Location(S3ArtifactLocation s3Location)

      The Amazon S3 bucket that contains the artifact.

      Parameters:
      s3Location - The Amazon S3 bucket that contains the artifact.
    • getS3Location

      public S3ArtifactLocation getS3Location()

      The Amazon S3 bucket that contains the artifact.

      Returns:
      The Amazon S3 bucket that contains the artifact.
    • withS3Location

      public ArtifactLocation withS3Location(S3ArtifactLocation s3Location)

      The Amazon S3 bucket that contains the artifact.

      Parameters:
      s3Location - The Amazon S3 bucket that contains the artifact.
      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 ArtifactLocation clone()
      Overrides:
      clone in class Object