EC2Volume Class Reference
| Inherits from | NSObject |
| Declared in | EC2Volume.h |
Tasks
-
– initDefault constructor for a new object. Callers should use the property methods to initialize this object after creating it.
-
volumeIdThe unique ID of this volume.
property -
sizeThe size of this volume, in gigabytes.
property -
snapshotIdOptional snapshot from which this volume was created.
property -
availabilityZoneAvailability zone in which this volume was created.
property -
stateState of this volume (e.g., creating, available).
Constraints:
property
Allowed Values: creating, available, in-use, deleting, error -
createTimeTimestamp when volume creation was initiated.
property -
attachmentsInformation on what this volume is attached to.
property -
tagsA list of tags for the Volume.
property -
volumeTypeThe value of the VolumeType property for this object.
Constraints:
property
Allowed Values: standard, io1 -
iopsThe value of the Iops property for this object.
property -
– addAttachment:Adds a single object to attachments. This function will alloc and init attachments if not already done.
-
– addTag:Adds a single object to tags. This function will alloc and init tags if not already done.
-
– descriptionReturns a string representation of this object; useful for testing and debugging.
Properties
attachments
Information on what this volume is attached to.
@property (nonatomic, retain) NSMutableArray *attachmentsDiscussion
Information on what this volume is attached to.
Declared In
EC2Volume.havailabilityZone
Availability zone in which this volume was created.
@property (nonatomic, retain) NSString *availabilityZoneDiscussion
Availability zone in which this volume was created.
Declared In
EC2Volume.hcreateTime
Timestamp when volume creation was initiated.
@property (nonatomic, retain) NSDate *createTimeDiscussion
Timestamp when volume creation was initiated.
Declared In
EC2Volume.hiops
The value of the Iops property for this object.
@property (nonatomic, retain) NSNumber *iopsDiscussion
The value of the Iops property for this object.
Declared In
EC2Volume.hsize
The size of this volume, in gigabytes.
@property (nonatomic, retain) NSNumber *sizeDiscussion
The size of this volume, in gigabytes.
Declared In
EC2Volume.hsnapshotId
Optional snapshot from which this volume was created.
@property (nonatomic, retain) NSString *snapshotIdDiscussion
Optional snapshot from which this volume was created.
Declared In
EC2Volume.hstate
State of this volume (e.g., creating, available).
Constraints:
Allowed Values: creating, available, in-use, deleting, error
@property (nonatomic, retain) NSString *stateDiscussion
State of this volume (e.g., creating, available).
Constraints:
Allowed Values: creating, available, in-use, deleting, error
Declared In
EC2Volume.htags
A list of tags for the Volume.
@property (nonatomic, retain) NSMutableArray *tagsDiscussion
A list of tags for the Volume.
Declared In
EC2Volume.hInstance Methods
addAttachment:
Adds a single object to attachments. This function will alloc and init attachments if not already done.
- (void)addAttachment:(EC2VolumeAttachment *)attachmentObjectDiscussion
Adds a single object to attachments. This function will alloc and init attachments if not already done.
Declared In
EC2Volume.haddTag:
Adds a single object to tags. This function will alloc and init tags if not already done.
- (void)addTag:(EC2Tag *)tagObjectDiscussion
Adds a single object to tags. This function will alloc and init tags if not already done.
Declared In
EC2Volume.h