public class UserBucket
extends java.lang.Object
implements java.io.Serializable
Describes the S3 bucket for the disk image.
Constructor and Description |
---|
UserBucket() |
Modifier and Type | Method and Description |
---|---|
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.
|
public java.lang.String getS3Bucket()
public void setS3Bucket(java.lang.String s3Bucket)
s3Bucket
- The name of the S3 bucket where the disk image is located.public UserBucket withS3Bucket(java.lang.String s3Bucket)
Returns a reference to this object so that method calls can be chained together.
s3Bucket
- The name of the S3 bucket where the disk image is located.public java.lang.String getS3Key()
public void setS3Key(java.lang.String s3Key)
s3Key
- The file name of the disk image.public UserBucket withS3Key(java.lang.String s3Key)
Returns a reference to this object so that method calls can be chained together.
s3Key
- The file name of the disk image.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.