public class SecurityGroup extends Object implements Serializable
Constructor and Description |
---|
SecurityGroup() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getDescription()
A description of the security group.
|
String |
getGroupId()
The ID of the security group.
|
String |
getGroupName()
The name of the security group.
|
List<IpPermission> |
getIpPermissions()
One or more inbound rules associated with the security group.
|
List<IpPermission> |
getIpPermissionsEgress()
[EC2-VPC] One or more outbound rules associated with the security group.
|
String |
getOwnerId()
The AWS account ID of the owner of the security group.
|
List<Tag> |
getTags()
Any tags assigned to the security group.
|
String |
getVpcId()
[EC2-VPC] The ID of the VPC for the security group.
|
int |
hashCode() |
void |
setDescription(String description)
A description of the security group.
|
void |
setGroupId(String groupId)
The ID of the security group.
|
void |
setGroupName(String groupName)
The name of the security group.
|
void |
setIpPermissions(Collection<IpPermission> ipPermissions)
One or more inbound rules associated with the security group.
|
void |
setIpPermissionsEgress(Collection<IpPermission> ipPermissionsEgress)
[EC2-VPC] One or more outbound rules associated with the security group.
|
void |
setOwnerId(String ownerId)
The AWS account ID of the owner of the security group.
|
void |
setTags(Collection<Tag> tags)
Any tags assigned to the security group.
|
void |
setVpcId(String vpcId)
[EC2-VPC] The ID of the VPC for the security group.
|
String |
toString() |
public void setOwnerId(String ownerId)
The AWS account ID of the owner of the security group.
ownerId
- The AWS account ID of the owner of the security group.public String getOwnerId()
The AWS account ID of the owner of the security group.
public void setGroupName(String groupName)
The name of the security group.
groupName
- The name of the security group.public String getGroupName()
The name of the security group.
public void setGroupId(String groupId)
The ID of the security group.
groupId
- The ID of the security group.public String getGroupId()
The ID of the security group.
public void setDescription(String description)
A description of the security group.
description
- A description of the security group.public String getDescription()
A description of the security group.
public List<IpPermission> getIpPermissions()
One or more inbound rules associated with the security group.
public void setIpPermissions(Collection<IpPermission> ipPermissions)
One or more inbound rules associated with the security group.
ipPermissions
- One or more inbound rules associated with the security group.public List<IpPermission> getIpPermissionsEgress()
[EC2-VPC] One or more outbound rules associated with the security group.
public void setIpPermissionsEgress(Collection<IpPermission> ipPermissionsEgress)
[EC2-VPC] One or more outbound rules associated with the security group.
ipPermissionsEgress
- [EC2-VPC] One or more outbound rules associated with the security group.public void setVpcId(String vpcId)
[EC2-VPC] The ID of the VPC for the security group.
vpcId
- [EC2-VPC] The ID of the VPC for the security group.public String getVpcId()
[EC2-VPC] The ID of the VPC for the security group.
public List<Tag> getTags()
Any tags assigned to the security group.
public void setTags(Collection<Tag> tags)
Any tags assigned to the security group.
tags
- Any tags assigned to the security group.Copyright © 2010–2020. All rights reserved.