public class UserBucket
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes the S3 bucket for the disk image.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
s3Bucket
The name of the S3 bucket where the disk image is located.
|
private java.lang.String |
s3Key
The file name of the disk image.
|
Constructor and Description |
---|
UserBucket() |
Modifier and Type | Method and Description |
---|---|
UserBucket |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getS3Bucket()
The name of the S3 bucket where the disk image is located.
|
java.lang.String |
getS3Key()
The file name of the disk image.
|
int |
hashCode() |
void |
setS3Bucket(java.lang.String s3Bucket)
The name of the S3 bucket where the disk image is located.
|
void |
setS3Key(java.lang.String s3Key)
The file name of the disk image.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UserBucket |
withS3Bucket(java.lang.String s3Bucket)
The name of the S3 bucket where the disk image is located.
|
UserBucket |
withS3Key(java.lang.String s3Key)
The file name of the disk image.
|
private java.lang.String s3Bucket
The name of the S3 bucket where the disk image is located.
private java.lang.String s3Key
The file name of the disk image.
public void setS3Bucket(java.lang.String s3Bucket)
The name of the S3 bucket where the disk image is located.
s3Bucket
- The name of the S3 bucket where the disk image is located.public java.lang.String getS3Bucket()
The name of the S3 bucket where the disk image is located.
public UserBucket withS3Bucket(java.lang.String s3Bucket)
The name of the S3 bucket where the disk image is located.
s3Bucket
- The name of the S3 bucket where the disk image is located.public void setS3Key(java.lang.String s3Key)
The file name of the disk image.
s3Key
- The file name of the disk image.public java.lang.String getS3Key()
The file name of the disk image.
public UserBucket withS3Key(java.lang.String s3Key)
The file name of the disk image.
s3Key
- The file name of the disk image.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public UserBucket clone()
clone
in class java.lang.Object