SdkFunction<DescribeSubnetsRequest,DescribeSubnetsResponse>
@Generated("software.amazon.awssdk:aws-java-sdk-code-generator") public class DescribeSubnetsFunction extends Object implements SdkFunction<DescribeSubnetsRequest,DescribeSubnetsResponse>
Constructor | Description |
---|---|
DescribeSubnetsFunction(EC2Client client) |
Constructs a new DescribeSubnetsFunction with the given client
|
Modifier and Type | Method | 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 Amazon Web Services, Inc. All Rights Reserved.