java.lang.Object
com.amazonaws.services.elasticbeanstalk.model.S3Location
All Implemented Interfaces:
Serializable, Cloneable

public class S3Location extends Object implements Serializable, Cloneable

A specification of a location in Amazon S3.

See Also:
  • Constructor Details

    • S3Location

      public S3Location()
      Default constructor for S3Location object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
    • S3Location

      public S3Location(String s3Bucket, String s3Key)
      Constructs a new S3Location object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      Parameters:
      s3Bucket - The Amazon S3 bucket where the data is located.
      s3Key - The Amazon S3 key where the data is located.
  • Method Details

    • setS3Bucket

      public void setS3Bucket(String s3Bucket)

      The Amazon S3 bucket where the data is located.

      Parameters:
      s3Bucket - The Amazon S3 bucket where the data is located.
    • getS3Bucket

      public String getS3Bucket()

      The Amazon S3 bucket where the data is located.

      Returns:
      The Amazon S3 bucket where the data is located.
    • withS3Bucket

      public S3Location withS3Bucket(String s3Bucket)

      The Amazon S3 bucket where the data is located.

      Parameters:
      s3Bucket - The Amazon S3 bucket where the data is located.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setS3Key

      public void setS3Key(String s3Key)

      The Amazon S3 key where the data is located.

      Parameters:
      s3Key - The Amazon S3 key where the data is located.
    • getS3Key

      public String getS3Key()

      The Amazon S3 key where the data is located.

      Returns:
      The Amazon S3 key where the data is located.
    • withS3Key

      public S3Location withS3Key(String s3Key)

      The Amazon S3 key where the data is located.

      Parameters:
      s3Key - The Amazon S3 key where the data is located.
      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 S3Location clone()
      Overrides:
      clone in class Object