public class DescribeSnapshotsFunction extends Object implements SdkFunction<DescribeSnapshotsRequest,DescribeSnapshotsResult>
Constructor and Description |
---|
DescribeSnapshotsFunction(AmazonEC2 client)
Constructs a new DescribeSnapshotsFunction with the given client
|
Modifier and Type | Method and Description |
---|---|
DescribeSnapshotsResult |
apply(DescribeSnapshotsRequest describeSnapshotsRequest)
Makes a call to the operation specified by the waiter by taking the
corresponding request and returns the corresponding result
|
public DescribeSnapshotsFunction(AmazonEC2 client)
client
- Service clientpublic DescribeSnapshotsResult apply(DescribeSnapshotsRequest describeSnapshotsRequest)
apply
in interface SdkFunction<DescribeSnapshotsRequest,DescribeSnapshotsResult>
describeSnapshotsRequest
- Corresponding request for the operationCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.