public class Storage extends Object implements Serializable, Cloneable
Describes the storage location for an instance store-backed AMI.
Constructor and Description |
---|
Storage() |
Modifier and Type | Method and Description |
---|---|
Storage |
clone() |
boolean |
equals(Object obj) |
S3Storage |
getS3()
An Amazon S3 storage location.
|
int |
hashCode() |
void |
setS3(S3Storage s3)
An Amazon S3 storage location.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Storage |
withS3(S3Storage s3)
An Amazon S3 storage location.
|
public S3Storage getS3()
public void setS3(S3Storage s3)
s3
- An Amazon S3 storage location.public Storage withS3(S3Storage s3)
Returns a reference to this object so that method calls can be chained together.
s3
- An Amazon S3 storage location.public String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.