Example usage for Java com.amazonaws.services.ec2.model CreateSecurityGroupRequest fields, constructors, methods, implement or subclass
The text is from its open source code.
CreateSecurityGroupRequest() Default constructor for CreateSecurityGroupRequest object. | |
CreateSecurityGroupRequest(String groupName, String description) Constructs a new CreateSecurityGroupRequest object. |
void | setDescription(String description) A description for the security group. |
void | setGroupName(String groupName) The name of the security group. |
void | setRequestCredentials(AWSCredentials credentials) Sets the optional credentials to use for this request, overriding the default credentials set at the client level. |
void | setVpcId(String vpcId) [EC2-VPC] The ID of the VPC. |
CreateSecurityGroupRequest | withGroupName(String groupName) The name of the security group. |
CreateSecurityGroupRequest | withVpcId(String vpcId) [EC2-VPC] The ID of the VPC. |