Package 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.* AWSEC2Api connection = // get connection group = connection.getAMIServices().createSecurityGroup(vpcId("123125"));
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreateSecurityGroupOptions.Builder
-
Field Summary
-
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
-
-
Constructor Summary
Constructors Constructor Description CreateSecurityGroupOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateSecurityGroupOptions
vpcId(String vpcId)
ID of the VPC.-
Methods inherited from class org.jclouds.ec2.options.internal.BaseEC2RequestOptions
getFormValuesWithKeysPrefixedBy, indexFormValuesWithPrefix, indexFormValuesWithPrefix, toString
-
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader
-
-
-
-
Method Detail
-
vpcId
public CreateSecurityGroupOptions vpcId(String vpcId)
ID of the VPC.
-
-