Class NetworkAcl
- All Implemented Interfaces:
Serializable
,Cloneable
Describes a network ACL.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Any associations between the network ACL and one or more subnetsOne or more entries (rules) in the network ACL.Indicates whether this is the default network ACL for the VPC.The ID of the network ACL.getTags()
Any tags assigned to the network ACL.getVpcId()
The ID of the VPC for the network ACL.int
hashCode()
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 subnetsvoid
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
The ID of the VPC for the network ACL.toString()
Returns a string representation of this object; useful for testing and debugging.withAssociations
(NetworkAclAssociation... associations) Any associations between the network ACL and one or more subnetswithAssociations
(Collection<NetworkAclAssociation> associations) Any associations between the network ACL and one or more subnetswithEntries
(NetworkAclEntry... entries) One or more entries (rules) in the network ACL.withEntries
(Collection<NetworkAclEntry> entries) One or more entries (rules) in the network ACL.withIsDefault
(Boolean isDefault) Indicates whether this is the default network ACL for the VPC.withNetworkAclId
(String networkAclId) The ID of the network ACL.Any tags assigned to the network ACL.withTags
(Collection<Tag> tags) Any tags assigned to the network ACL.The ID of the VPC for the network ACL.
-
Constructor Details
-
NetworkAcl
public NetworkAcl()
-
-
Method Details
-
setNetworkAclId
The ID of the network ACL.
- Parameters:
networkAclId
- The ID of the network ACL.
-
getNetworkAclId
The ID of the network ACL.
- Returns:
- The ID of the network ACL.
-
withNetworkAclId
The ID of the network ACL.
- Parameters:
networkAclId
- The ID of the network ACL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVpcId
The ID of the VPC for the network ACL.
- Parameters:
vpcId
- The ID of the VPC for the network ACL.
-
getVpcId
The ID of the VPC for the network ACL.
- Returns:
- The ID of the VPC for the network ACL.
-
withVpcId
The ID of the VPC for the network ACL.
- Parameters:
vpcId
- The ID of the VPC for the network ACL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setIsDefault
Indicates whether this is the default network ACL for the VPC.
- Parameters:
isDefault
- Indicates whether this is the default network ACL for the VPC.
-
getIsDefault
Indicates whether this is the default network ACL for the VPC.
- Returns:
- Indicates whether this is the default network ACL for the VPC.
-
withIsDefault
Indicates whether this is the default network ACL for the VPC.
- Parameters:
isDefault
- Indicates whether this is the default network ACL for the VPC.- Returns:
- 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.
- Returns:
- Indicates whether this is the default network ACL for the VPC.
-
getEntries
One or more entries (rules) in the network ACL.
- Returns:
- One or more entries (rules) in the network ACL.
-
setEntries
One or more entries (rules) in the network ACL.
- Parameters:
entries
- One or more entries (rules) in the network ACL.
-
withEntries
One or more entries (rules) in the network ACL.
NOTE: This method appends the values to the existing list (if any). Use
setEntries(java.util.Collection)
orwithEntries(java.util.Collection)
if you want to override the existing values.- Parameters:
entries
- One or more entries (rules) in the network ACL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withEntries
One or more entries (rules) in the network ACL.
- Parameters:
entries
- One or more entries (rules) in the network ACL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getAssociations
Any associations between the network ACL and one or more subnets
- Returns:
- Any associations between the network ACL and one or more subnets
-
setAssociations
Any associations between the network ACL and one or more subnets
- Parameters:
associations
- Any associations between the network ACL and one or more subnets
-
withAssociations
Any associations between the network ACL and one or more subnets
NOTE: This method appends the values to the existing list (if any). Use
setAssociations(java.util.Collection)
orwithAssociations(java.util.Collection)
if you want to override the existing values.- Parameters:
associations
- Any associations between the network ACL and one or more subnets- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withAssociations
Any associations between the network ACL and one or more subnets
- Parameters:
associations
- Any associations between the network ACL and one or more subnets- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getTags
Any tags assigned to the network ACL.
- Returns:
- Any tags assigned to the network ACL.
-
setTags
Any tags assigned to the network ACL.
- Parameters:
tags
- Any tags assigned to the network ACL.
-
withTags
Any tags assigned to the network ACL.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
orwithTags(java.util.Collection)
if you want to override the existing values.- Parameters:
tags
- Any tags assigned to the network ACL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTags
Any tags assigned to the network ACL.
- Parameters:
tags
- Any tags assigned to the network ACL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-