Package com.amazonaws.services.ec2.model
Class DescribeNetworkAclsResult
- java.lang.Object
-
- com.amazonaws.services.ec2.model.DescribeNetworkAclsResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DescribeNetworkAclsResult extends Object implements Serializable, Cloneable
Contains the output of DescribeNetworkAcls.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeNetworkAclsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeNetworkAclsResult
clone()
boolean
equals(Object obj)
List<NetworkAcl>
getNetworkAcls()
Information about one or more network ACLs.int
hashCode()
void
setNetworkAcls(Collection<NetworkAcl> networkAcls)
Information about one or more network ACLs.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeNetworkAclsResult
withNetworkAcls(NetworkAcl... networkAcls)
Information about one or more network ACLs.DescribeNetworkAclsResult
withNetworkAcls(Collection<NetworkAcl> networkAcls)
Information about one or more network ACLs.
-
-
-
Method Detail
-
getNetworkAcls
public List<NetworkAcl> getNetworkAcls()
Information about one or more network ACLs.
- Returns:
- Information about one or more network ACLs.
-
setNetworkAcls
public void setNetworkAcls(Collection<NetworkAcl> networkAcls)
Information about one or more network ACLs.
- Parameters:
networkAcls
- Information about one or more network ACLs.
-
withNetworkAcls
public DescribeNetworkAclsResult withNetworkAcls(NetworkAcl... networkAcls)
Information about one or more network ACLs.
NOTE: This method appends the values to the existing list (if any). Use
setNetworkAcls(java.util.Collection)
orwithNetworkAcls(java.util.Collection)
if you want to override the existing values.- Parameters:
networkAcls
- Information about one or more network ACLs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withNetworkAcls
public DescribeNetworkAclsResult withNetworkAcls(Collection<NetworkAcl> networkAcls)
Information about one or more network ACLs.
- Parameters:
networkAcls
- Information about one or more network ACLs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeNetworkAclsResult clone()
-
-