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 UserBucketDetails
clone()
boolean
equals(Object obj)
String
getS3Bucket()
The S3 bucket from which the disk image was created.String
getS3Key()
The file name of the disk image.int
hashCode()
void
setS3Bucket(String s3Bucket)
The S3 bucket from which the disk image was created.void
setS3Key(String s3Key)
The file name of the disk image.String
toString()
Returns a string representation of this object; useful for testing and debugging.UserBucketDetails
withS3Bucket(String s3Bucket)
The S3 bucket from which the disk image was created.UserBucketDetails
withS3Key(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public UserBucketDetails clone()
-
-