@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NetworkAcl extends Object implements Serializable, Cloneable
Describes a network ACL.
Constructor and Description |
---|
NetworkAcl() |
Modifier and Type | Method and Description |
---|---|
NetworkAcl |
clone() |
boolean |
equals(Object obj) |
List<NetworkAclAssociation> |
getAssociations()
Any associations between the network ACL and your subnets
|
List<NetworkAclEntry> |
getEntries()
The 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.
|
String |
getOwnerId()
The ID of the Amazon Web Services account that owns 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 your subnets
|
void |
setEntries(Collection<NetworkAclEntry> entries)
The 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 |
setOwnerId(String ownerId)
The ID of the Amazon Web Services account that owns 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.
|
NetworkAcl |
withAssociations(Collection<NetworkAclAssociation> associations)
Any associations between the network ACL and your subnets
|
NetworkAcl |
withAssociations(NetworkAclAssociation... associations)
Any associations between the network ACL and your subnets
|
NetworkAcl |
withEntries(Collection<NetworkAclEntry> entries)
The entries (rules) in the network ACL.
|
NetworkAcl |
withEntries(NetworkAclEntry... entries)
The 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 |
withOwnerId(String ownerId)
The ID of the Amazon Web Services account that owns 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 List<NetworkAclAssociation> getAssociations()
Any associations between the network ACL and your subnets
public void setAssociations(Collection<NetworkAclAssociation> associations)
Any associations between the network ACL and your subnets
associations
- Any associations between the network ACL and your subnetspublic NetworkAcl withAssociations(NetworkAclAssociation... associations)
Any associations between the network ACL and your subnets
NOTE: This method appends the values to the existing list (if any). Use
setAssociations(java.util.Collection)
or withAssociations(java.util.Collection)
if you want to
override the existing values.
associations
- Any associations between the network ACL and your subnetspublic NetworkAcl withAssociations(Collection<NetworkAclAssociation> associations)
Any associations between the network ACL and your subnets
associations
- Any associations between the network ACL and your subnetspublic List<NetworkAclEntry> getEntries()
The entries (rules) in the network ACL.
public void setEntries(Collection<NetworkAclEntry> entries)
The entries (rules) in the network ACL.
entries
- The entries (rules) in the network ACL.public NetworkAcl withEntries(NetworkAclEntry... entries)
The entries (rules) in the network ACL.
NOTE: This method appends the values to the existing list (if any). Use
setEntries(java.util.Collection)
or withEntries(java.util.Collection)
if you want to override
the existing values.
entries
- The entries (rules) in the network ACL.public NetworkAcl withEntries(Collection<NetworkAclEntry> entries)
The entries (rules) in the network ACL.
entries
- The entries (rules) in the network ACL.public void setIsDefault(Boolean isDefault)
Indicates whether this is the default network ACL for the VPC.
isDefault
- Indicates whether this is the default network ACL for the VPC.public Boolean getIsDefault()
Indicates whether this is the default network ACL for the VPC.
public NetworkAcl withIsDefault(Boolean isDefault)
Indicates whether this is the default network ACL for the VPC.
isDefault
- Indicates whether this is the default network ACL for the VPC.public Boolean isDefault()
Indicates whether this is the default network ACL for the VPC.
public void setNetworkAclId(String networkAclId)
The ID of the network ACL.
networkAclId
- The ID of the network ACL.public String getNetworkAclId()
The ID of the network ACL.
public NetworkAcl withNetworkAclId(String networkAclId)
The ID of the network ACL.
networkAclId
- The ID of the network ACL.public List<Tag> getTags()
Any tags assigned to the network ACL.
public void setTags(Collection<Tag> tags)
Any tags assigned to the network ACL.
tags
- Any tags assigned to the network ACL.public NetworkAcl withTags(Tag... tags)
Any tags assigned to the network ACL.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Any tags assigned to the network ACL.public NetworkAcl withTags(Collection<Tag> tags)
Any tags assigned to the network ACL.
tags
- Any tags assigned to the network ACL.public void setVpcId(String vpcId)
The ID of the VPC for the network ACL.
vpcId
- The ID of the VPC for the network ACL.public String getVpcId()
The ID of the VPC for the network ACL.
public NetworkAcl withVpcId(String vpcId)
The ID of the VPC for the network ACL.
vpcId
- The ID of the VPC for the network ACL.public void setOwnerId(String ownerId)
The ID of the Amazon Web Services account that owns the network ACL.
ownerId
- The ID of the Amazon Web Services account that owns the network ACL.public String getOwnerId()
The ID of the Amazon Web Services account that owns the network ACL.
public NetworkAcl withOwnerId(String ownerId)
The ID of the Amazon Web Services account that owns the network ACL.
ownerId
- The ID of the Amazon Web Services account that owns the network ACL.public String toString()
toString
in class Object
Object.toString()
public NetworkAcl clone()