@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeVolumesFunction extends Object implements SdkFunction<DescribeVolumesRequest,DescribeVolumesResult>
| Constructor and Description |
|---|
DescribeVolumesFunction(AmazonEC2 client)
Constructs a new DescribeVolumesFunction with the given client
|
| Modifier and Type | Method and Description |
|---|---|
DescribeVolumesResult |
apply(DescribeVolumesRequest describeVolumesRequest)
Makes a call to the operation specified by the waiter by taking the corresponding request and returns the
corresponding result
|
public DescribeVolumesFunction(AmazonEC2 client)
client - Service clientpublic DescribeVolumesResult apply(DescribeVolumesRequest describeVolumesRequest)
apply in interface SdkFunction<DescribeVolumesRequest,DescribeVolumesResult>describeVolumesRequest - Corresponding request for the operation