Package com.amazonaws.services.ec2.model
Class UserBucketDetails
- java.lang.Object
-
- com.amazonaws.services.ec2.model.UserBucketDetails
-
- All Implemented Interfaces:
Serializable,Cloneable
public class UserBucketDetails extends Object implements Serializable, Cloneable
Describes the S3 bucket for the disk image.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UserBucketDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserBucketDetailsclone()booleanequals(Object obj)StringgetS3Bucket()The S3 bucket from which the disk image was created.StringgetS3Key()The file name of the disk image.inthashCode()voidsetS3Bucket(String s3Bucket)The S3 bucket from which the disk image was created.voidsetS3Key(String s3Key)The file name of the disk image.StringtoString()Returns a string representation of this object; useful for testing and debugging.UserBucketDetailswithS3Bucket(String s3Bucket)The S3 bucket from which the disk image was created.UserBucketDetailswithS3Key(String s3Key)The file name of the disk image.
-
-
-
Method Detail
-
setS3Bucket
public void setS3Bucket(String s3Bucket)
The S3 bucket from which the disk image was created.
- Parameters:
s3Bucket- The S3 bucket from which the disk image was created.
-
getS3Bucket
public String getS3Bucket()
The S3 bucket from which the disk image was created.
- Returns:
- The S3 bucket from which the disk image was created.
-
withS3Bucket
public UserBucketDetails withS3Bucket(String s3Bucket)
The S3 bucket from which the disk image was created.
- Parameters:
s3Bucket- The S3 bucket from which the disk image was created.- 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 UserBucketDetails 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public UserBucketDetails clone()
-
-