@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SecurityGroupRuleUpdate extends Object implements Serializable, Cloneable
Describes an update to a security group rule.
Constructor and Description |
---|
SecurityGroupRuleUpdate() |
Modifier and Type | Method and Description |
---|---|
SecurityGroupRuleUpdate |
clone() |
boolean |
equals(Object obj) |
SecurityGroupRuleRequest |
getSecurityGroupRule()
Information about the security group rule.
|
String |
getSecurityGroupRuleId()
The ID of the security group rule.
|
int |
hashCode() |
void |
setSecurityGroupRule(SecurityGroupRuleRequest securityGroupRule)
Information about the security group rule.
|
void |
setSecurityGroupRuleId(String securityGroupRuleId)
The ID of the security group rule.
|
String |
toString()
Returns a string representation of this object.
|
SecurityGroupRuleUpdate |
withSecurityGroupRule(SecurityGroupRuleRequest securityGroupRule)
Information about the security group rule.
|
SecurityGroupRuleUpdate |
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 SecurityGroupRuleUpdate withSecurityGroupRuleId(String securityGroupRuleId)
The ID of the security group rule.
securityGroupRuleId
- The ID of the security group rule.public void setSecurityGroupRule(SecurityGroupRuleRequest securityGroupRule)
Information about the security group rule.
securityGroupRule
- Information about the security group rule.public SecurityGroupRuleRequest getSecurityGroupRule()
Information about the security group rule.
public SecurityGroupRuleUpdate withSecurityGroupRule(SecurityGroupRuleRequest securityGroupRule)
Information about the security group rule.
securityGroupRule
- Information about the security group rule.public String toString()
toString
in class Object
Object.toString()
public SecurityGroupRuleUpdate clone()