com.amazonaws.services.ec2.model
Class Storage

java.lang.Object
  extended by com.amazonaws.services.ec2.model.Storage

public class Storage
extends Object

Describes the storage destination for a BundleTask when bundling a Windows instance.


Constructor Summary
Storage()
           
 
Method Summary
 boolean equals(Object obj)
           
 S3Storage getS3()
          The details of S3 storage for bundling a Windows instance.
 int hashCode()
           
 void setS3(S3Storage s3)
          The details of S3 storage for bundling a Windows instance.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 Storage withS3(S3Storage s3)
          The details of S3 storage for bundling a Windows instance.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Storage

public Storage()
Method Detail

getS3

public S3Storage getS3()
The details of S3 storage for bundling a Windows instance.

Returns:
The details of S3 storage for bundling a Windows instance.

setS3

public void setS3(S3Storage s3)
The details of S3 storage for bundling a Windows instance.

Parameters:
s3 - The details of S3 storage for bundling a Windows instance.

withS3

public Storage withS3(S3Storage s3)
The details of S3 storage for bundling a Windows instance.

Returns a reference to this object so that method calls can be chained together.

Parameters:
s3 - The details of S3 storage for bundling a Windows instance.
Returns:
A reference to this updated 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 class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.