org.jclouds.aws.ec2.options
Class CreateSecurityGroupOptions

java.lang.Object
  extended by org.jclouds.http.options.BaseHttpRequestOptions
      extended by org.jclouds.ec2.options.internal.BaseEC2RequestOptions
          extended by 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:

Nested Class Summary
static class CreateSecurityGroupOptions.Builder
           
 
Field Summary
 
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
 
Constructor Summary
CreateSecurityGroupOptions()
           
 
Method Summary
 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, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CreateSecurityGroupOptions

public CreateSecurityGroupOptions()
Method Detail

vpcId

public CreateSecurityGroupOptions vpcId(String vpcId)
ID of the VPC.



Copyright © 2009-2011 jclouds. All Rights Reserved.