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