Class StaleSecurityGroup
- All Implemented Interfaces:
Serializable
,Cloneable
Describes a stale security group (a security group that contains stale rules).
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The description of the security group.The ID of the security group.The name of the security group.Information about the stale inbound rules in the security group.Information about the stale outbound rules in the security group.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
The ID of the VPC for the security group.toString()
Returns a string representation of this object; useful for testing and debugging.withDescription
(String description) The description of the security group.withGroupId
(String groupId) The ID of the security group.withGroupName
(String groupName) The name of the security group.withStaleIpPermissions
(StaleIpPermission... staleIpPermissions) Information about the stale inbound rules in the security group.withStaleIpPermissions
(Collection<StaleIpPermission> staleIpPermissions) Information about the stale inbound rules in the security group.withStaleIpPermissionsEgress
(StaleIpPermission... staleIpPermissionsEgress) Information about the stale outbound rules in the security group.withStaleIpPermissionsEgress
(Collection<StaleIpPermission> staleIpPermissionsEgress) Information about the stale outbound rules in the security group.The ID of the VPC for the security group.
-
Constructor Details
-
StaleSecurityGroup
public StaleSecurityGroup()
-
-
Method Details
-
setGroupId
The ID of the security group.
- Parameters:
groupId
- The ID of the security group.
-
getGroupId
The ID of the security group.
- Returns:
- The ID of the security group.
-
withGroupId
The ID of the security group.
- Parameters:
groupId
- The ID of the security group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setGroupName
The name of the security group.
- Parameters:
groupName
- The name of the security group.
-
getGroupName
The name of the security group.
- Returns:
- The name of the security group.
-
withGroupName
The name of the security group.
- Parameters:
groupName
- The name of the security group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
The description of the security group.
- Parameters:
description
- The description of the security group.
-
getDescription
The description of the security group.
- Returns:
- The description of the security group.
-
withDescription
The description of the security group.
- Parameters:
description
- The description of the security group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVpcId
The ID of the VPC for the security group.
- Parameters:
vpcId
- The ID of the VPC for the security group.
-
getVpcId
The ID of the VPC for the security group.
- Returns:
- The ID of the VPC for the security group.
-
withVpcId
The ID of the VPC for the security group.
- Parameters:
vpcId
- The ID of the VPC for the security group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getStaleIpPermissions
Information about the stale inbound rules in the security group.
- Returns:
- Information about the stale inbound rules in the security group.
-
setStaleIpPermissions
Information about the stale inbound rules in the security group.
- Parameters:
staleIpPermissions
- Information about the stale inbound rules in the security group.
-
withStaleIpPermissions
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)
orwithStaleIpPermissions(java.util.Collection)
if you want to override the existing values.- Parameters:
staleIpPermissions
- Information about the stale inbound rules in the security group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withStaleIpPermissions
Information about the stale inbound rules in the security group.
- Parameters:
staleIpPermissions
- Information about the stale inbound rules in the security group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getStaleIpPermissionsEgress
Information about the stale outbound rules in the security group.
- Returns:
- Information about the stale outbound rules in the security group.
-
setStaleIpPermissionsEgress
Information about the stale outbound rules in the security group.
- Parameters:
staleIpPermissionsEgress
- Information about the stale outbound rules in the security group.
-
withStaleIpPermissionsEgress
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)
orwithStaleIpPermissionsEgress(java.util.Collection)
if you want to override the existing values.- Parameters:
staleIpPermissionsEgress
- Information about the stale outbound rules in the security group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withStaleIpPermissionsEgress
public StaleSecurityGroup withStaleIpPermissionsEgress(Collection<StaleIpPermission> staleIpPermissionsEgress) Information about the stale outbound rules in the security group.
- Parameters:
staleIpPermissionsEgress
- Information about the stale outbound rules in the security group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-