Inherits from AmazonServiceRequestConfig : NSObject
Declared in EC2DescribeSnapshotsRequest.h

Overview

Describe Snapshots Request

Tasks

  • – init

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

  •   snapshotIds

    The optional list of EBS snapshot IDs to describe.

    property
  •   ownerIds

    The optional list of EBS snapshot owners.

    property
  •   restorableByUserIds

    The optional list of users who have permission to create volumes from the described EBS snapshots.

    property
  •   filters

    A list of filters used to match properties for Snapshots. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.

    property
  • – addSnapshotId:

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

  • – addOwnerId:

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

  • – addRestorableByUserId:

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

  • – addFilter:

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

  • – description

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

Properties

filters

A list of filters used to match properties for Snapshots. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.

@property (nonatomic, retain) NSMutableArray *filters

Discussion

A list of filters used to match properties for Snapshots. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.

Declared In

EC2DescribeSnapshotsRequest.h

ownerIds

The optional list of EBS snapshot owners.

@property (nonatomic, retain) NSMutableArray *ownerIds

Discussion

The optional list of EBS snapshot owners.

Declared In

EC2DescribeSnapshotsRequest.h

restorableByUserIds

The optional list of users who have permission to create volumes from the described EBS snapshots.

@property (nonatomic, retain) NSMutableArray *restorableByUserIds

Discussion

The optional list of users who have permission to create volumes from the described EBS snapshots.

Declared In

EC2DescribeSnapshotsRequest.h

snapshotIds

The optional list of EBS snapshot IDs to describe.

@property (nonatomic, retain) NSMutableArray *snapshotIds

Discussion

The optional list of EBS snapshot IDs to describe.

Declared In

EC2DescribeSnapshotsRequest.h

Instance Methods

addFilter:

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

- (void)addFilter:(EC2Filter *)filterObject

Discussion

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

Declared In

EC2DescribeSnapshotsRequest.h

addOwnerId:

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

- (void)addOwnerId:(NSString *)ownerIdObject

Discussion

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

Declared In

EC2DescribeSnapshotsRequest.h

addRestorableByUserId:

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

- (void)addRestorableByUserId:(NSString *)restorableByUserIdObject

Discussion

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

Declared In

EC2DescribeSnapshotsRequest.h

addSnapshotId:

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

- (void)addSnapshotId:(NSString *)snapshotIdObject

Discussion

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

Declared In

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

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

EC2DescribeSnapshotsRequest.h