Inherits from NSObject
Declared in EC2Volume.h

Overview

Volume

Tasks

  • – init

    Default constructor for a new object. Callers should use the property methods to initialize this object after creating it.

  •   volumeId

    The unique ID of this volume.

    property
  •   size

    The size of this volume, in gigabytes.

    property
  •   snapshotId

    Optional snapshot from which this volume was created.

    property
  •   availabilityZone

    Availability zone in which this volume was created.

    property
  •   state

    State of this volume (e.g., creating, available).

    Constraints:
    Allowed Values: creating, available, in-use, deleting, error

    property
  •   createTime

    Timestamp when volume creation was initiated.

    property
  •   attachments

    Information on what this volume is attached to.

    property
  •   tags

    A list of tags for the Volume.

    property
  •   volumeType

    The value of the VolumeType property for this object.

    Constraints:
    Allowed Values: standard, io1

    property
  •   iops

    The 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.

  • – description

    Returns 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 *attachments

Discussion

Information on what this volume is attached to.

Declared In

EC2Volume.h

availabilityZone

Availability zone in which this volume was created.

@property (nonatomic, retain) NSString *availabilityZone

Discussion

Availability zone in which this volume was created.

Declared In

EC2Volume.h

createTime

Timestamp when volume creation was initiated.

@property (nonatomic, retain) NSDate *createTime

Discussion

Timestamp when volume creation was initiated.

Declared In

EC2Volume.h

iops

The value of the Iops property for this object.

@property (nonatomic, retain) NSNumber *iops

Discussion

The value of the Iops property for this object.

Declared In

EC2Volume.h

size

The size of this volume, in gigabytes.

@property (nonatomic, retain) NSNumber *size

Discussion

The size of this volume, in gigabytes.

Declared In

EC2Volume.h

snapshotId

Optional snapshot from which this volume was created.

@property (nonatomic, retain) NSString *snapshotId

Discussion

Optional snapshot from which this volume was created.

Declared In

EC2Volume.h

state

State of this volume (e.g., creating, available).

Constraints:
Allowed Values: creating, available, in-use, deleting, error

@property (nonatomic, retain) NSString *state

Discussion

State of this volume (e.g., creating, available).

Constraints:
Allowed Values: creating, available, in-use, deleting, error

Declared In

EC2Volume.h

tags

A list of tags for the Volume.

@property (nonatomic, retain) NSMutableArray *tags

Discussion

A list of tags for the Volume.

Declared In

EC2Volume.h

volumeId

The unique ID of this volume.

@property (nonatomic, retain) NSString *volumeId

Discussion

The unique ID of this volume.

Declared In

EC2Volume.h

volumeType

The value of the VolumeType property for this object.

Constraints:
Allowed Values: standard, io1

@property (nonatomic, retain) NSString *volumeType

Discussion

The value of the VolumeType property for this object.

Constraints:
Allowed Values: standard, io1

Declared In

EC2Volume.h

Instance Methods

addAttachment:

Adds a single object to attachments. This function will alloc and init attachments if not already done.

- (void)addAttachment:(EC2VolumeAttachment *)attachmentObject

Discussion

Adds a single object to attachments. This function will alloc and init attachments if not already done.

Declared In

EC2Volume.h

addTag:

Adds a single object to tags. This function will alloc and init tags if not already done.

- (void)addTag:(EC2Tag *)tagObject

Discussion

Adds a single object to tags. This function will alloc and init tags if not already done.

Declared In

EC2Volume.h

description

Returns a string representation of this object; useful for testing and debugging.

- (NSString *)description

Return Value

A string representation of this object.

Discussion

Returns a string representation of this object; useful for testing and debugging.

Declared In

EC2Volume.h

init

Default constructor for a new object. Callers should use the property methods to initialize this object after creating it.

- (id)init

Discussion

Default constructor for a new object. Callers should use the property methods to initialize this object after creating it.

Declared In

EC2Volume.h