SdkFunction<DescribeSnapshotsRequest,DescribeSnapshotsResponse>
@Generated("software.amazon.awssdk:aws-java-sdk-code-generator") public class DescribeSnapshotsFunction extends Object implements SdkFunction<DescribeSnapshotsRequest,DescribeSnapshotsResponse>
Constructor | Description |
---|---|
DescribeSnapshotsFunction(EC2Client client) |
Constructs a new DescribeSnapshotsFunction with the given client
|
Modifier and Type | Method | Description |
---|---|---|
DescribeSnapshotsResponse |
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(EC2Client client)
client
- Service clientpublic DescribeSnapshotsResponse apply(DescribeSnapshotsRequest describeSnapshotsRequest)
apply
in interface SdkFunction<DescribeSnapshotsRequest,DescribeSnapshotsResponse>
describeSnapshotsRequest
- Corresponding request for the operationCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.