Class S3ArtifactLocation

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

public class S3ArtifactLocation extends Object implements Serializable, Cloneable

The location of the Amazon S3 bucket that contains a revision.

See Also:
  • Constructor Details

    • S3ArtifactLocation

      public S3ArtifactLocation()
  • Method Details

    • setBucketName

      public void setBucketName(String bucketName)

      The name of the Amazon S3 bucket.

      Parameters:
      bucketName - The name of the Amazon S3 bucket.
    • getBucketName

      public String getBucketName()

      The name of the Amazon S3 bucket.

      Returns:
      The name of the Amazon S3 bucket.
    • withBucketName

      public S3ArtifactLocation withBucketName(String bucketName)

      The name of the Amazon S3 bucket.

      Parameters:
      bucketName - The name of the Amazon S3 bucket.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setObjectKey

      public void setObjectKey(String objectKey)

      The key of the object in the Amazon S3 bucket, which uniquely identifies the object in the bucket.

      Parameters:
      objectKey - The key of the object in the Amazon S3 bucket, which uniquely identifies the object in the bucket.
    • getObjectKey

      public String getObjectKey()

      The key of the object in the Amazon S3 bucket, which uniquely identifies the object in the bucket.

      Returns:
      The key of the object in the Amazon S3 bucket, which uniquely identifies the object in the bucket.
    • withObjectKey

      public S3ArtifactLocation withObjectKey(String objectKey)

      The key of the object in the Amazon S3 bucket, which uniquely identifies the object in the bucket.

      Parameters:
      objectKey - The key of the object in the Amazon S3 bucket, which uniquely identifies the object in the bucket.
      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 S3ArtifactLocation clone()
      Overrides:
      clone in class Object