@Generated(value="software.amazon.awssdk:aws-java-sdk-code-generator") public class DescribeSubnetsFunction extends Object implements SdkFunction<DescribeSubnetsRequest,DescribeSubnetsResponse>
| Constructor and Description |
|---|
DescribeSubnetsFunction(EC2Client client)
Constructs a new DescribeSubnetsFunction with the given client
|
| Modifier and Type | Method and Description |
|---|---|
DescribeSubnetsResponse |
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(EC2Client client)
client - Service clientpublic DescribeSubnetsResponse apply(DescribeSubnetsRequest describeSubnetsRequest)
apply in interface SdkFunction<DescribeSubnetsRequest,DescribeSubnetsResponse>describeSubnetsRequest - Corresponding request for the operationCopyright © 2017. All rights reserved.