public class StaleSecurityGroup
extends java.lang.Object
implements java.io.Serializable
Describes a stale security group (a security group that contains stale rules).
Constructor and Description |
---|
StaleSecurityGroup() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDescription()
The description of the security group.
|
java.lang.String |
getGroupId()
The ID of the security group.
|
java.lang.String |
getGroupName()
The name of the security group.
|
java.util.List<StaleIpPermission> |
getStaleIpPermissions()
Information about the stale inbound rules in the security group.
|
java.util.List<StaleIpPermission> |
getStaleIpPermissionsEgress()
Information about the stale outbound rules in the security group.
|
java.lang.String |
getVpcId()
The ID of the VPC for the security group.
|
int |
hashCode() |
void |
setDescription(java.lang.String description)
The description of the security group.
|
void |
setGroupId(java.lang.String groupId)
The ID of the security group.
|
void |
setGroupName(java.lang.String groupName)
The name of the security group.
|
void |
setStaleIpPermissions(java.util.Collection<StaleIpPermission> staleIpPermissions)
Information about the stale inbound rules in the security group.
|
void |
setStaleIpPermissionsEgress(java.util.Collection<StaleIpPermission> staleIpPermissionsEgress)
Information about the stale outbound rules in the security group.
|
void |
setVpcId(java.lang.String vpcId)
The ID of the VPC for the security group.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StaleSecurityGroup |
withDescription(java.lang.String description)
The description of the security group.
|
StaleSecurityGroup |
withGroupId(java.lang.String groupId)
The ID of the security group.
|
StaleSecurityGroup |
withGroupName(java.lang.String groupName)
The name of the security group.
|
StaleSecurityGroup |
withStaleIpPermissions(java.util.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(java.util.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(java.lang.String vpcId)
The ID of the VPC for the security group.
|
public java.lang.String getGroupId()
public void setGroupId(java.lang.String groupId)
groupId
- The ID of the security group.public StaleSecurityGroup withGroupId(java.lang.String groupId)
Returns a reference to this object so that method calls can be chained together.
groupId
- The ID of the security group.public java.lang.String getGroupName()
public void setGroupName(java.lang.String groupName)
groupName
- The name of the security group.public StaleSecurityGroup withGroupName(java.lang.String groupName)
Returns a reference to this object so that method calls can be chained together.
groupName
- The name of the security group.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- The description of the security group.public StaleSecurityGroup withDescription(java.lang.String description)
Returns a reference to this object so that method calls can be chained together.
description
- The description of the security group.public java.lang.String getVpcId()
public void setVpcId(java.lang.String vpcId)
vpcId
- The ID of the VPC for the security group.public StaleSecurityGroup withVpcId(java.lang.String vpcId)
Returns a reference to this object so that method calls can be chained together.
vpcId
- The ID of the VPC for the security group.public java.util.List<StaleIpPermission> getStaleIpPermissions()
public void setStaleIpPermissions(java.util.Collection<StaleIpPermission> staleIpPermissions)
staleIpPermissions
- Information about the stale inbound rules in the security group.public StaleSecurityGroup withStaleIpPermissions(StaleIpPermission... staleIpPermissions)
Returns a reference to this object so that method calls can be chained together.
staleIpPermissions
- Information about the stale inbound rules in the security group.public StaleSecurityGroup withStaleIpPermissions(java.util.Collection<StaleIpPermission> staleIpPermissions)
Returns a reference to this object so that method calls can be chained together.
staleIpPermissions
- Information about the stale inbound rules in the security group.public java.util.List<StaleIpPermission> getStaleIpPermissionsEgress()
public void setStaleIpPermissionsEgress(java.util.Collection<StaleIpPermission> staleIpPermissionsEgress)
staleIpPermissionsEgress
- Information about the stale outbound rules in the security group.public StaleSecurityGroup withStaleIpPermissionsEgress(StaleIpPermission... staleIpPermissionsEgress)
Returns a reference to this object so that method calls can be chained together.
staleIpPermissionsEgress
- Information about the stale outbound rules in the security group.public StaleSecurityGroup withStaleIpPermissionsEgress(java.util.Collection<StaleIpPermission> staleIpPermissionsEgress)
Returns a reference to this object so that method calls can be chained together.
staleIpPermissionsEgress
- Information about the stale outbound rules in the security group.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.