public class Storage
extends java.lang.Object
implements java.io.Serializable
Describes the storage location for an instance store-backed AMI.
Constructor and Description |
---|
Storage() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
S3Storage |
getS3()
An Amazon S3 storage location.
|
int |
hashCode() |
void |
setS3(S3Storage s3)
An Amazon S3 storage location.
|
java.lang.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 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.