org.jclouds.aws.ec2.options
Class CreateSecurityGroupOptions
java.lang.Object
org.jclouds.http.options.BaseHttpRequestOptions
org.jclouds.ec2.options.internal.BaseEC2RequestOptions
org.jclouds.aws.ec2.options.CreateSecurityGroupOptions
- All Implemented Interfaces:
- HttpRequestOptions
public class CreateSecurityGroupOptions
- extends BaseEC2RequestOptions
Contains options supported in the Form API for the CreateSecurityGroup
operation.
Usage
The recommended way to instantiate a CreateSecurityGroupOptions
object is to statically import CreateSecurityGroupOptions.Builder.* and
invoke a static creation method followed by an instance mutator (if needed):
import static org.jclouds.aws.ec2.options.CreateSecurityGroupOptions.Builder.*
AWSEC2Client connection = // get connection
group = connection.getAMIServices().createSecurityGroup(vpcId("123125").noReboot());
- Author:
- Adrian Cole
- See Also:
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions |
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader |
CreateSecurityGroupOptions
public CreateSecurityGroupOptions()
vpcId
public CreateSecurityGroupOptions vpcId(String vpcId)
- ID of the VPC.
Copyright © 2009-2011 jclouds. All Rights Reserved.