CopyableBuilder<EC2SecurityGroup.Builder,EC2SecurityGroup>, SdkBuilder<EC2SecurityGroup.Builder,EC2SecurityGroup>public static interface EC2SecurityGroup.Builder extends CopyableBuilder<EC2SecurityGroup.Builder,EC2SecurityGroup>
| Modifier and Type | Method | Description |
|---|---|---|
EC2SecurityGroup.Builder |
ec2SecurityGroupName(String ec2SecurityGroupName) |
The name of the EC2 Security Group.
|
EC2SecurityGroup.Builder |
ec2SecurityGroupOwnerId(String ec2SecurityGroupOwnerId) |
The AWS ID of the owner of the EC2 security group specified in the
EC2SecurityGroupName field. |
EC2SecurityGroup.Builder |
status(String status) |
The status of the EC2 security group.
|
EC2SecurityGroup.Builder |
tags(Collection<Tag> tags) |
The list of tags for the EC2 security group.
|
EC2SecurityGroup.Builder |
tags(Tag... tags) |
The list of tags for the EC2 security group.
|
copyapply, buildEC2SecurityGroup.Builder status(String status)
The status of the EC2 security group.
status - The status of the EC2 security group.EC2SecurityGroup.Builder ec2SecurityGroupName(String ec2SecurityGroupName)
The name of the EC2 Security Group.
ec2SecurityGroupName - The name of the EC2 Security Group.EC2SecurityGroup.Builder ec2SecurityGroupOwnerId(String ec2SecurityGroupOwnerId)
The AWS ID of the owner of the EC2 security group specified in the EC2SecurityGroupName field.
ec2SecurityGroupOwnerId - The AWS ID of the owner of the EC2 security group specified in the EC2SecurityGroupName
field.EC2SecurityGroup.Builder tags(Collection<Tag> tags)
The list of tags for the EC2 security group.
tags - The list of tags for the EC2 security group.EC2SecurityGroup.Builder tags(Tag... tags)
The list of tags for the EC2 security group.
NOTE: This method appends the values to the existing list (if any). Use
#setTags(java.util.Collection) or #withTags(java.util.Collection) if you want to override the
existing values.
tags - The list of tags for the EC2 security group.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.