@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StaleSecurityGroup extends Object implements Serializable, Cloneable
Describes a stale security group (a security group that contains stale rules).
Constructor and Description |
---|
StaleSecurityGroup() |
Modifier and Type | Method and Description |
---|---|
StaleSecurityGroup |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
The description of the security group.
|
String |
getGroupId()
The ID of the security group.
|
String |
getGroupName()
The name of the security group.
|
List<StaleIpPermission> |
getStaleIpPermissions()
Information about the stale inbound rules in the security group.
|
List<StaleIpPermission> |
getStaleIpPermissionsEgress()
Information about the stale outbound rules in the security group.
|
String |
getVpcId()
The ID of the VPC for the security group.
|
int |
hashCode() |
void |
setDescription(String description)
The 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 |
setStaleIpPermissions(Collection<StaleIpPermission> staleIpPermissions)
Information about the stale inbound rules in the security group.
|
void |
setStaleIpPermissionsEgress(Collection<StaleIpPermission> staleIpPermissionsEgress)
Information about the stale outbound rules in the security group.
|
void |
setVpcId(String vpcId)
The ID of the VPC for the security group.
|
String |
toString()
Returns a string representation of this object.
|
StaleSecurityGroup |
withDescription(String description)
The description of the security group.
|
StaleSecurityGroup |
withGroupId(String groupId)
The ID of the security group.
|
StaleSecurityGroup |
withGroupName(String groupName)
The name of the security group.
|
StaleSecurityGroup |
withStaleIpPermissions(Collection<StaleIpPermission> staleIpPermissions)
Information about the stale inbound rules in the security group.
|
StaleSecurityGroup |
withStaleIpPermissions(StaleIpPermission... staleIpPermissions)
Information about the stale inbound rules in the security group.
|
StaleSecurityGroup |
withStaleIpPermissionsEgress(Collection<StaleIpPermission> staleIpPermissionsEgress)
Information about the stale outbound rules in the security group.
|
StaleSecurityGroup |
withStaleIpPermissionsEgress(StaleIpPermission... staleIpPermissionsEgress)
Information about the stale outbound rules in the security group.
|
StaleSecurityGroup |
withVpcId(String vpcId)
The ID of the VPC for the security group.
|
public void setDescription(String description)
The description of the security group.
description
- The description of the security group.public String getDescription()
The description of the security group.
public StaleSecurityGroup withDescription(String description)
The description of the security group.
description
- The description 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 StaleSecurityGroup withGroupId(String groupId)
The ID of the security group.
groupId
- The ID 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 StaleSecurityGroup withGroupName(String groupName)
The name of the security group.
groupName
- The name of the security group.public List<StaleIpPermission> getStaleIpPermissions()
Information about the stale inbound rules in the security group.
public void setStaleIpPermissions(Collection<StaleIpPermission> staleIpPermissions)
Information about the stale inbound rules in the security group.
staleIpPermissions
- Information about the stale inbound rules in the security group.public StaleSecurityGroup withStaleIpPermissions(StaleIpPermission... staleIpPermissions)
Information about the stale inbound rules in the security group.
NOTE: This method appends the values to the existing list (if any). Use
setStaleIpPermissions(java.util.Collection)
or withStaleIpPermissions(java.util.Collection)
if
you want to override the existing values.
staleIpPermissions
- Information about the stale inbound rules in the security group.public StaleSecurityGroup withStaleIpPermissions(Collection<StaleIpPermission> staleIpPermissions)
Information about the stale inbound rules in the security group.
staleIpPermissions
- Information about the stale inbound rules in the security group.public List<StaleIpPermission> getStaleIpPermissionsEgress()
Information about the stale outbound rules in the security group.
public void setStaleIpPermissionsEgress(Collection<StaleIpPermission> staleIpPermissionsEgress)
Information about the stale outbound rules in the security group.
staleIpPermissionsEgress
- Information about the stale outbound rules in the security group.public StaleSecurityGroup withStaleIpPermissionsEgress(StaleIpPermission... staleIpPermissionsEgress)
Information about the stale outbound rules in the security group.
NOTE: This method appends the values to the existing list (if any). Use
setStaleIpPermissionsEgress(java.util.Collection)
or
withStaleIpPermissionsEgress(java.util.Collection)
if you want to override the existing values.
staleIpPermissionsEgress
- Information about the stale outbound rules in the security group.public StaleSecurityGroup withStaleIpPermissionsEgress(Collection<StaleIpPermission> staleIpPermissionsEgress)
Information about the stale outbound rules in the security group.
staleIpPermissionsEgress
- Information about the stale outbound rules in the security group.public void setVpcId(String vpcId)
The ID of the VPC for the security group.
vpcId
- The ID of the VPC for the security group.public String getVpcId()
The ID of the VPC for the security group.
public StaleSecurityGroup withVpcId(String vpcId)
The ID of the VPC for the security group.
vpcId
- The ID of the VPC for the security group.public String toString()
toString
in class Object
Object.toString()
public StaleSecurityGroup clone()