@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SecurityGroupRuleDescription extends Object implements Serializable, Cloneable
Describes the description of a security group rule.
You can use this when you want to update the security group rule description for either an inbound or outbound rule.
Constructor and Description |
---|
SecurityGroupRuleDescription() |
Modifier and Type | Method and Description |
---|---|
SecurityGroupRuleDescription |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
The description of the security group rule.
|
String |
getSecurityGroupRuleId()
The ID of the security group rule.
|
int |
hashCode() |
void |
setDescription(String description)
The description of the security group rule.
|
void |
setSecurityGroupRuleId(String securityGroupRuleId)
The ID of the security group rule.
|
String |
toString()
Returns a string representation of this object.
|
SecurityGroupRuleDescription |
withDescription(String description)
The description of the security group rule.
|
SecurityGroupRuleDescription |
withSecurityGroupRuleId(String securityGroupRuleId)
The ID of the security group rule.
|
public void setSecurityGroupRuleId(String securityGroupRuleId)
The ID of the security group rule.
securityGroupRuleId
- The ID of the security group rule.public String getSecurityGroupRuleId()
The ID of the security group rule.
public SecurityGroupRuleDescription withSecurityGroupRuleId(String securityGroupRuleId)
The ID of the security group rule.
securityGroupRuleId
- The ID of the security group rule.public void setDescription(String description)
The description of the security group rule.
description
- The description of the security group rule.public String getDescription()
The description of the security group rule.
public SecurityGroupRuleDescription withDescription(String description)
The description of the security group rule.
description
- The description of the security group rule.public String toString()
toString
in class Object
Object.toString()
public SecurityGroupRuleDescription clone()