Package com.amazonaws.services.ec2.model
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UserBucket()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserBucketclone()booleanequals(Object obj)StringgetS3Bucket()The name of the S3 bucket where the disk image is located.StringgetS3Key()The file name of the disk image.inthashCode()voidsetS3Bucket(String s3Bucket)The name of the S3 bucket where the disk image is located.voidsetS3Key(String s3Key)The file name of the disk image.StringtoString()Returns a string representation of this object; useful for testing and debugging.UserBucketwithS3Bucket(String s3Bucket)The name of the S3 bucket where the disk image is located.UserBucketwithS3Key(String s3Key)The file name of the disk image.
-
-
-
Method Detail
-
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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public UserBucket clone()
-
-