Describes the storage location for an instance store-backed AMI.
Beispiel #1
0
 /// <summary>
 /// Sets the Storage property
 /// </summary>
 /// <param name="storage">Storage property</param>
 /// <returns>this instance</returns>
 public BundleTask WithStorage(Storage storage)
 {
     this.storageField = storage;
     return this;
 }
 public BundleInstanceRequest WithStorage(Storage storage)
 {
     this.storageField = storage;
     return this;
 }
 /// <summary>
 /// Instantiates BundleInstanceRequest with the parameterized properties
 /// </summary>
 /// <param name="instanceId">The ID of the instance to bundle. Type: String Default: None Required: Yes</param>
 /// <param name="storage">The bucket in which to store the AMI. You can specify a bucket that you already own or a new bucket that Amazon EC2 creates on your behalf. If you specify a bucket that belongs to someone else, Amazon EC2 returns an error.</param>
 public BundleInstanceRequest(string instanceId, Storage storage)
 {
     _instanceId = instanceId;
     _storage    = storage;
 }