Java com.amazonaws.services.ec2.model CreateSecurityGroupRequest fields, constructors, methods, implement or subclass

Example usage for Java com.amazonaws.services.ec2.model CreateSecurityGroupRequest fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.amazonaws.services.ec2.model CreateSecurityGroupRequest.

The text is from its open source code.

Constructor

CreateSecurityGroupRequest()
Default constructor for CreateSecurityGroupRequest object.
CreateSecurityGroupRequest(String groupName, String description)
Constructs a new CreateSecurityGroupRequest object.

Method

voidsetDescription(String description)

A description for the security group.

voidsetGroupName(String groupName)

The name of the security group.

voidsetRequestCredentials(AWSCredentials credentials)
Sets the optional credentials to use for this request, overriding the default credentials set at the client level.
voidsetVpcId(String vpcId)

[EC2-VPC] The ID of the VPC.

CreateSecurityGroupRequestwithGroupName(String groupName)

The name of the security group.

CreateSecurityGroupRequestwithVpcId(String vpcId)

[EC2-VPC] The ID of the VPC.