Package com.amazonaws.services.ec2.model
Class Storage
- java.lang.Object
-
- com.amazonaws.services.ec2.model.Storage
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class Storage extends Object implements Serializable, Cloneable
Describes the storage location for an instance store-backed AMI.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Storage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
setS3
public void setS3(S3Storage s3)
An Amazon S3 storage location.
- Parameters:
s3
- An Amazon S3 storage location.
-
getS3
public S3Storage getS3()
An Amazon S3 storage location.
- Returns:
- An Amazon S3 storage location.
-
withS3
public Storage withS3(S3Storage s3)
An Amazon S3 storage location.
- Parameters:
s3
- An Amazon S3 storage location.- 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()
-
-