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