public static interface CreateSecurityGroupRequest.Builder extends software.amazon.awssdk.utils.builder.CopyableBuilder<CreateSecurityGroupRequest.Builder,CreateSecurityGroupRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateSecurityGroupRequest.Builder |
description(String description)
A description for the security group.
|
CreateSecurityGroupRequest.Builder |
groupName(String groupName)
The name of the security group.
|
CreateSecurityGroupRequest.Builder |
vpcId(String vpcId)
[EC2-VPC] The ID of the VPC.
|
copyapply, buildCreateSecurityGroupRequest.Builder description(String description)
A description for the security group. This is informational only.
Constraints: Up to 255 characters in length
Constraints for EC2-Classic: ASCII characters
Constraints for EC2-VPC: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*
description - A description for the security group. This is informational only.
Constraints: Up to 255 characters in length
Constraints for EC2-Classic: ASCII characters
Constraints for EC2-VPC: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*
CreateSecurityGroupRequest.Builder groupName(String groupName)
The name of the security group.
Constraints: Up to 255 characters in length
Constraints for EC2-Classic: ASCII characters
Constraints for EC2-VPC: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*
groupName - The name of the security group.
Constraints: Up to 255 characters in length
Constraints for EC2-Classic: ASCII characters
Constraints for EC2-VPC: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*
CreateSecurityGroupRequest.Builder vpcId(String vpcId)
[EC2-VPC] The ID of the VPC. Required for EC2-VPC.
vpcId - [EC2-VPC] The ID of the VPC. Required for EC2-VPC.Copyright © 2017. All rights reserved.