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