@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AuthorizeSecurityGroupEgressResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
AuthorizeSecurityGroupEgressResult() |
Modifier and Type | Method and Description |
---|---|
AuthorizeSecurityGroupEgressResult |
clone() |
boolean |
equals(Object obj) |
Boolean |
getReturn()
Returns
true if the request succeeds; otherwise, returns an error. |
List<SecurityGroupRule> |
getSecurityGroupRules()
Information about the outbound (egress) security group rules that were added.
|
int |
hashCode() |
Boolean |
isReturn()
Returns
true if the request succeeds; otherwise, returns an error. |
void |
setReturn(Boolean returnValue)
Returns
true if the request succeeds; otherwise, returns an error. |
void |
setSecurityGroupRules(Collection<SecurityGroupRule> securityGroupRules)
Information about the outbound (egress) security group rules that were added.
|
String |
toString()
Returns a string representation of this object.
|
AuthorizeSecurityGroupEgressResult |
withReturn(Boolean returnValue)
Returns
true if the request succeeds; otherwise, returns an error. |
AuthorizeSecurityGroupEgressResult |
withSecurityGroupRules(Collection<SecurityGroupRule> securityGroupRules)
Information about the outbound (egress) security group rules that were added.
|
AuthorizeSecurityGroupEgressResult |
withSecurityGroupRules(SecurityGroupRule... securityGroupRules)
Information about the outbound (egress) security group rules that were added.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setReturn(Boolean returnValue)
Returns true
if the request succeeds; otherwise, returns an error.
returnValue
- Returns true
if the request succeeds; otherwise, returns an error.public Boolean getReturn()
Returns true
if the request succeeds; otherwise, returns an error.
true
if the request succeeds; otherwise, returns an error.public AuthorizeSecurityGroupEgressResult withReturn(Boolean returnValue)
Returns true
if the request succeeds; otherwise, returns an error.
returnValue
- Returns true
if the request succeeds; otherwise, returns an error.public Boolean isReturn()
Returns true
if the request succeeds; otherwise, returns an error.
true
if the request succeeds; otherwise, returns an error.public List<SecurityGroupRule> getSecurityGroupRules()
Information about the outbound (egress) security group rules that were added.
public void setSecurityGroupRules(Collection<SecurityGroupRule> securityGroupRules)
Information about the outbound (egress) security group rules that were added.
securityGroupRules
- Information about the outbound (egress) security group rules that were added.public AuthorizeSecurityGroupEgressResult withSecurityGroupRules(SecurityGroupRule... securityGroupRules)
Information about the outbound (egress) security group rules that were added.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroupRules(java.util.Collection)
or withSecurityGroupRules(java.util.Collection)
if
you want to override the existing values.
securityGroupRules
- Information about the outbound (egress) security group rules that were added.public AuthorizeSecurityGroupEgressResult withSecurityGroupRules(Collection<SecurityGroupRule> securityGroupRules)
Information about the outbound (egress) security group rules that were added.
securityGroupRules
- Information about the outbound (egress) security group rules that were added.public String toString()
toString
in class Object
Object.toString()
public AuthorizeSecurityGroupEgressResult clone()