Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.ec2.model
Class NetworkAcl

java.lang.Object
  extended by com.amazonaws.services.ec2.model.NetworkAcl
All Implemented Interfaces:
Serializable

public class NetworkAcl
extends Object
implements Serializable

Network Acl

See Also:
Serialized Form

Constructor Summary
NetworkAcl()
           
 
Method Summary
 boolean equals(Object obj)
           
 List<NetworkAclAssociation> getAssociations()
          Returns the value of the Associations property for this object.
 List<NetworkAclEntry> getEntries()
          Returns the value of the Entries property for this object.
 Boolean getIsDefault()
          Returns the value of the IsDefault property for this object.
 String getNetworkAclId()
          Returns the value of the NetworkAclId property for this object.
 List<Tag> getTags()
          Returns the value of the Tags property for this object.
 String getVpcId()
          Returns the value of the VpcId property for this object.
 int hashCode()
           
 Boolean isDefault()
          Returns the value of the IsDefault property for this object.
 void setAssociations(Collection<NetworkAclAssociation> associations)
          Sets the value of the Associations property for this object.
 void setEntries(Collection<NetworkAclEntry> entries)
          Sets the value of the Entries property for this object.
 void setIsDefault(Boolean isDefault)
          Sets the value of the IsDefault property for this object.
 void setNetworkAclId(String networkAclId)
          Sets the value of the NetworkAclId property for this object.
 void setTags(Collection<Tag> tags)
          Sets the value of the Tags property for this object.
 void setVpcId(String vpcId)
          Sets the value of the VpcId property for this object.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 NetworkAcl withAssociations(Collection<NetworkAclAssociation> associations)
          Sets the value of the Associations property for this object.
 NetworkAcl withAssociations(NetworkAclAssociation... associations)
          Sets the value of the Associations property for this object.
 NetworkAcl withEntries(Collection<NetworkAclEntry> entries)
          Sets the value of the Entries property for this object.
 NetworkAcl withEntries(NetworkAclEntry... entries)
          Sets the value of the Entries property for this object.
 NetworkAcl withIsDefault(Boolean isDefault)
          Sets the value of the IsDefault property for this object.
 NetworkAcl withNetworkAclId(String networkAclId)
          Sets the value of the NetworkAclId property for this object.
 NetworkAcl withTags(Collection<Tag> tags)
          Sets the value of the Tags property for this object.
 NetworkAcl withTags(Tag... tags)
          Sets the value of the Tags property for this object.
 NetworkAcl withVpcId(String vpcId)
          Sets the value of the VpcId property for this object.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NetworkAcl

public NetworkAcl()
Method Detail

getNetworkAclId

public String getNetworkAclId()
Returns the value of the NetworkAclId property for this object.

Returns:
The value of the NetworkAclId property for this object.

setNetworkAclId

public void setNetworkAclId(String networkAclId)
Sets the value of the NetworkAclId property for this object.

Parameters:
networkAclId - The new value for the NetworkAclId property for this object.

withNetworkAclId

public NetworkAcl withNetworkAclId(String networkAclId)
Sets the value of the NetworkAclId property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
networkAclId - The new value for the NetworkAclId property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getVpcId

public String getVpcId()
Returns the value of the VpcId property for this object.

Returns:
The value of the VpcId property for this object.

setVpcId

public void setVpcId(String vpcId)
Sets the value of the VpcId property for this object.

Parameters:
vpcId - The new value for the VpcId property for this object.

withVpcId

public NetworkAcl withVpcId(String vpcId)
Sets the value of the VpcId property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
vpcId - The new value for the VpcId property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

isDefault

public Boolean isDefault()
Returns the value of the IsDefault property for this object.

Returns:
The value of the IsDefault property for this object.

setIsDefault

public void setIsDefault(Boolean isDefault)
Sets the value of the IsDefault property for this object.

Parameters:
isDefault - The new value for the IsDefault property for this object.

withIsDefault

public NetworkAcl withIsDefault(Boolean isDefault)
Sets the value of the IsDefault property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
isDefault - The new value for the IsDefault property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getIsDefault

public Boolean getIsDefault()
Returns the value of the IsDefault property for this object.

Returns:
The value of the IsDefault property for this object.

getEntries

public List<NetworkAclEntry> getEntries()
Returns the value of the Entries property for this object.

Returns:
The value of the Entries property for this object.

setEntries

public void setEntries(Collection<NetworkAclEntry> entries)
Sets the value of the Entries property for this object.

Parameters:
entries - The new value for the Entries property for this object.

withEntries

public NetworkAcl withEntries(NetworkAclEntry... entries)
Sets the value of the Entries property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
entries - The new value for the Entries property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

withEntries

public NetworkAcl withEntries(Collection<NetworkAclEntry> entries)
Sets the value of the Entries property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
entries - The new value for the Entries property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getAssociations

public List<NetworkAclAssociation> getAssociations()
Returns the value of the Associations property for this object.

Returns:
The value of the Associations property for this object.

setAssociations

public void setAssociations(Collection<NetworkAclAssociation> associations)
Sets the value of the Associations property for this object.

Parameters:
associations - The new value for the Associations property for this object.

withAssociations

public NetworkAcl withAssociations(NetworkAclAssociation... associations)
Sets the value of the Associations property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
associations - The new value for the Associations property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

withAssociations

public NetworkAcl withAssociations(Collection<NetworkAclAssociation> associations)
Sets the value of the Associations property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
associations - The new value for the Associations property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getTags

public List<Tag> getTags()
Returns the value of the Tags property for this object.

Returns:
The value of the Tags property for this object.

setTags

public void setTags(Collection<Tag> tags)
Sets the value of the Tags property for this object.

Parameters:
tags - The new value for the Tags property for this object.

withTags

public NetworkAcl withTags(Tag... tags)
Sets the value of the Tags property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
tags - The new value for the Tags property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

withTags

public NetworkAcl withTags(Collection<Tag> tags)
Sets the value of the Tags property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
tags - The new value for the Tags property for this object.
Returns:
A reference to this updated 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 class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.