Class UserBucket

java.lang.Object
com.amazonaws.services.ec2.model.UserBucket
All Implemented Interfaces:
Serializable, Cloneable

public class UserBucket extends Object implements Serializable, Cloneable

Describes the S3 bucket for the disk image.

See Also:
  • Constructor Details

    • UserBucket

      public UserBucket()
  • Method Details

    • setS3Bucket

      public void setS3Bucket(String s3Bucket)

      The name of the S3 bucket where the disk image is located.

      Parameters:
      s3Bucket - The name of the S3 bucket where the disk image is located.
    • getS3Bucket

      public String getS3Bucket()

      The name of the S3 bucket where the disk image is located.

      Returns:
      The name of the S3 bucket where the disk image is located.
    • withS3Bucket

      public UserBucket withS3Bucket(String s3Bucket)

      The name of the S3 bucket where the disk image is located.

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

      public void setS3Key(String s3Key)

      The file name of the disk image.

      Parameters:
      s3Key - The file name of the disk image.
    • getS3Key

      public String getS3Key()

      The file name of the disk image.

      Returns:
      The file name of the disk image.
    • withS3Key

      public UserBucket withS3Key(String s3Key)

      The file name of the disk image.

      Parameters:
      s3Key - The file name of the disk image.
      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 UserBucket clone()
      Overrides:
      clone in class Object