@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AuthorizeSecurityGroupIngressResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
AuthorizeSecurityGroupIngressResult() |
Modifier and Type | Method and Description |
---|---|
AuthorizeSecurityGroupIngressResult |
clone() |
boolean |
equals(Object obj) |
Boolean |
getReturn()
Returns
true if the request succeeds; otherwise, returns an error. |
List<SecurityGroupRule> |
getSecurityGroupRules()
Information about the inbound (ingress) 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 inbound (ingress) security group rules that were added.
|
String |
toString()
Returns a string representation of this object.
|
AuthorizeSecurityGroupIngressResult |
withReturn(Boolean returnValue)
Returns
true if the request succeeds; otherwise, returns an error. |
AuthorizeSecurityGroupIngressResult |
withSecurityGroupRules(Collection<SecurityGroupRule> securityGroupRules)
Information about the inbound (ingress) security group rules that were added.
|
AuthorizeSecurityGroupIngressResult |
withSecurityGroupRules(SecurityGroupRule... securityGroupRules)
Information about the inbound (ingress) 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 AuthorizeSecurityGroupIngressResult 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 inbound (ingress) security group rules that were added.
public void setSecurityGroupRules(Collection<SecurityGroupRule> securityGroupRules)
Information about the inbound (ingress) security group rules that were added.
securityGroupRules
- Information about the inbound (ingress) security group rules that were added.public AuthorizeSecurityGroupIngressResult withSecurityGroupRules(SecurityGroupRule... securityGroupRules)
Information about the inbound (ingress) 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 inbound (ingress) security group rules that were added.public AuthorizeSecurityGroupIngressResult withSecurityGroupRules(Collection<SecurityGroupRule> securityGroupRules)
Information about the inbound (ingress) security group rules that were added.
securityGroupRules
- Information about the inbound (ingress) security group rules that were added.public String toString()
toString
in class Object
Object.toString()
public AuthorizeSecurityGroupIngressResult clone()