org.jclouds.ec2.domain
Class BundleInstanceS3Storage

java.lang.Object
  extended by org.jclouds.ec2.domain.BundleInstanceS3Storage

public class BundleInstanceS3Storage
extends Object

Author:
Adrian Cole
See Also:

Constructor Summary
BundleInstanceS3Storage(String ccessKeyId, String bucket, String prefix, String secretAccessKey, String uploadPolicy, String uploadPolicySignature)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getBucket()
           
 String getPrefix()
           
 String getUploadPolicy()
           
 String getUploadPolicySignature()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BundleInstanceS3Storage

public BundleInstanceS3Storage(@Nullable
                               String ccessKeyId,
                               String bucket,
                               String prefix,
                               @Nullable
                               String secretAccessKey,
                               @Nullable
                               String uploadPolicy,
                               @Nullable
                               String uploadPolicySignature)
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

toString

public String toString()
Overrides:
toString in class Object

getBucket

public String getBucket()

getPrefix

public String getPrefix()
Returns:
Specifies the beginning of the file name of the AMI.

getUploadPolicy

public String getUploadPolicy()
Returns:
An Amazon S3 upload policy that gives Amazon EC2 permission to upload items into Amazon S3 on the user's behalf. For more information on bundling in Windows, go to the Amazon Elastic Compute Cloud Developer Guide and Amazon Elastic Compute Cloud Getting Started

getUploadPolicySignature

public String getUploadPolicySignature()
Returns:
The signature of the Base64 encoded JSON document.


Copyright © 2009-2012 jclouds. All Rights Reserved.