@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeInstancesFunction extends Object implements SdkFunction<DescribeInstancesRequest,DescribeInstancesResult>
Constructor and Description |
---|
DescribeInstancesFunction(AWSOpsWorks 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(AWSOpsWorks client)
client
- Service clientpublic DescribeInstancesResult apply(DescribeInstancesRequest describeInstancesRequest)
apply
in interface SdkFunction<DescribeInstancesRequest,DescribeInstancesResult>
describeInstancesRequest
- Corresponding request for the operation