public class NetworkAcl extends Object implements Serializable
Describes a network ACL.
Constructor and Description |
---|
NetworkAcl() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<NetworkAclAssociation> |
getAssociations()
Any associations between the network ACL and one or more subnets
|
List<NetworkAclEntry> |
getEntries()
One or more entries (rules) in the network ACL.
|
Boolean |
getIsDefault()
Indicates whether this is the default network ACL for the VPC.
|
String |
getNetworkAclId()
The ID of the network ACL.
|
List<Tag> |
getTags()
Any tags assigned to the network ACL.
|
String |
getVpcId()
The ID of the VPC for the network ACL.
|
int |
hashCode() |
Boolean |
isDefault()
Indicates whether this is the default network ACL for the VPC.
|
void |
setAssociations(Collection<NetworkAclAssociation> associations)
Any associations between the network ACL and one or more subnets
|
void |
setEntries(Collection<NetworkAclEntry> entries)
One or more entries (rules) in the network ACL.
|
void |
setIsDefault(Boolean isDefault)
Indicates whether this is the default network ACL for the VPC.
|
void |
setNetworkAclId(String networkAclId)
The ID of the network ACL.
|
void |
setTags(Collection<Tag> tags)
Any tags assigned to the network ACL.
|
void |
setVpcId(String vpcId)
The ID of the VPC for the network ACL.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
NetworkAcl |
withAssociations(Collection<NetworkAclAssociation> associations)
Any associations between the network ACL and one or more subnets
|
NetworkAcl |
withAssociations(NetworkAclAssociation... associations)
Any associations between the network ACL and one or more subnets
|
NetworkAcl |
withEntries(Collection<NetworkAclEntry> entries)
One or more entries (rules) in the network ACL.
|
NetworkAcl |
withEntries(NetworkAclEntry... entries)
One or more entries (rules) in the network ACL.
|
NetworkAcl |
withIsDefault(Boolean isDefault)
Indicates whether this is the default network ACL for the VPC.
|
NetworkAcl |
withNetworkAclId(String networkAclId)
The ID of the network ACL.
|
NetworkAcl |
withTags(Collection<Tag> tags)
Any tags assigned to the network ACL.
|
NetworkAcl |
withTags(Tag... tags)
Any tags assigned to the network ACL.
|
NetworkAcl |
withVpcId(String vpcId)
The ID of the VPC for the network ACL.
|
public String getNetworkAclId()
public void setNetworkAclId(String networkAclId)
networkAclId
- The ID of the network ACL.public NetworkAcl withNetworkAclId(String networkAclId)
Returns a reference to this object so that method calls can be chained together.
networkAclId
- The ID of the network ACL.public String getVpcId()
public void setVpcId(String vpcId)
vpcId
- The ID of the VPC for the network ACL.public NetworkAcl withVpcId(String vpcId)
Returns a reference to this object so that method calls can be chained together.
vpcId
- The ID of the VPC for the network ACL.public Boolean isDefault()
public void setIsDefault(Boolean isDefault)
isDefault
- Indicates whether this is the default network ACL for the VPC.public NetworkAcl withIsDefault(Boolean isDefault)
Returns a reference to this object so that method calls can be chained together.
isDefault
- Indicates whether this is the default network ACL for the VPC.public Boolean getIsDefault()
public List<NetworkAclEntry> getEntries()
public void setEntries(Collection<NetworkAclEntry> entries)
entries
- One or more entries (rules) in the network ACL.public NetworkAcl withEntries(NetworkAclEntry... entries)
Returns a reference to this object so that method calls can be chained together.
entries
- One or more entries (rules) in the network ACL.public NetworkAcl withEntries(Collection<NetworkAclEntry> entries)
Returns a reference to this object so that method calls can be chained together.
entries
- One or more entries (rules) in the network ACL.public List<NetworkAclAssociation> getAssociations()
public void setAssociations(Collection<NetworkAclAssociation> associations)
associations
- Any associations between the network ACL and one or more subnetspublic NetworkAcl withAssociations(NetworkAclAssociation... associations)
Returns a reference to this object so that method calls can be chained together.
associations
- Any associations between the network ACL and one or more subnetspublic NetworkAcl withAssociations(Collection<NetworkAclAssociation> associations)
Returns a reference to this object so that method calls can be chained together.
associations
- Any associations between the network ACL and one or more subnetspublic List<Tag> getTags()
public void setTags(Collection<Tag> tags)
tags
- Any tags assigned to the network ACL.public NetworkAcl withTags(Tag... tags)
Returns a reference to this object so that method calls can be chained together.
tags
- Any tags assigned to the network ACL.public NetworkAcl withTags(Collection<Tag> tags)
Returns a reference to this object so that method calls can be chained together.
tags
- Any tags assigned to the network ACL.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.