@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsEc2NetworkAclDetails extends Object implements Serializable, Cloneable, StructuredPojo
Contains details about an Amazon EC2 network access control list (ACL).
Constructor and Description |
---|
AwsEc2NetworkAclDetails() |
Modifier and Type | Method and Description |
---|---|
AwsEc2NetworkAclDetails |
clone() |
boolean |
equals(Object obj) |
List<AwsEc2NetworkAclAssociation> |
getAssociations()
Associations between the network ACL and subnets.
|
List<AwsEc2NetworkAclEntry> |
getEntries()
The set of rules in the network ACL.
|
Boolean |
getIsDefault()
Whether this is the default network ACL for the VPC.
|
String |
getNetworkAclId()
The identifier of the network ACL.
|
String |
getOwnerId()
The identifier of the Amazon Web Services account that owns the network ACL.
|
String |
getVpcId()
The identifier of the VPC for the network ACL.
|
int |
hashCode() |
Boolean |
isDefault()
Whether this is the default network ACL for the VPC.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAssociations(Collection<AwsEc2NetworkAclAssociation> associations)
Associations between the network ACL and subnets.
|
void |
setEntries(Collection<AwsEc2NetworkAclEntry> entries)
The set of rules in the network ACL.
|
void |
setIsDefault(Boolean isDefault)
Whether this is the default network ACL for the VPC.
|
void |
setNetworkAclId(String networkAclId)
The identifier of the network ACL.
|
void |
setOwnerId(String ownerId)
The identifier of the Amazon Web Services account that owns the network ACL.
|
void |
setVpcId(String vpcId)
The identifier of the VPC for the network ACL.
|
String |
toString()
Returns a string representation of this object.
|
AwsEc2NetworkAclDetails |
withAssociations(AwsEc2NetworkAclAssociation... associations)
Associations between the network ACL and subnets.
|
AwsEc2NetworkAclDetails |
withAssociations(Collection<AwsEc2NetworkAclAssociation> associations)
Associations between the network ACL and subnets.
|
AwsEc2NetworkAclDetails |
withEntries(AwsEc2NetworkAclEntry... entries)
The set of rules in the network ACL.
|
AwsEc2NetworkAclDetails |
withEntries(Collection<AwsEc2NetworkAclEntry> entries)
The set of rules in the network ACL.
|
AwsEc2NetworkAclDetails |
withIsDefault(Boolean isDefault)
Whether this is the default network ACL for the VPC.
|
AwsEc2NetworkAclDetails |
withNetworkAclId(String networkAclId)
The identifier of the network ACL.
|
AwsEc2NetworkAclDetails |
withOwnerId(String ownerId)
The identifier of the Amazon Web Services account that owns the network ACL.
|
AwsEc2NetworkAclDetails |
withVpcId(String vpcId)
The identifier of the VPC for the network ACL.
|
public void setIsDefault(Boolean isDefault)
Whether this is the default network ACL for the VPC.
isDefault
- Whether this is the default network ACL for the VPC.public Boolean getIsDefault()
Whether this is the default network ACL for the VPC.
public AwsEc2NetworkAclDetails withIsDefault(Boolean isDefault)
Whether this is the default network ACL for the VPC.
isDefault
- Whether this is the default network ACL for the VPC.public Boolean isDefault()
Whether this is the default network ACL for the VPC.
public void setNetworkAclId(String networkAclId)
The identifier of the network ACL.
networkAclId
- The identifier of the network ACL.public String getNetworkAclId()
The identifier of the network ACL.
public AwsEc2NetworkAclDetails withNetworkAclId(String networkAclId)
The identifier of the network ACL.
networkAclId
- The identifier of the network ACL.public void setOwnerId(String ownerId)
The identifier of the Amazon Web Services account that owns the network ACL.
ownerId
- The identifier of the Amazon Web Services account that owns the network ACL.public String getOwnerId()
The identifier of the Amazon Web Services account that owns the network ACL.
public AwsEc2NetworkAclDetails withOwnerId(String ownerId)
The identifier of the Amazon Web Services account that owns the network ACL.
ownerId
- The identifier of the Amazon Web Services account that owns the network ACL.public void setVpcId(String vpcId)
The identifier of the VPC for the network ACL.
vpcId
- The identifier of the VPC for the network ACL.public String getVpcId()
The identifier of the VPC for the network ACL.
public AwsEc2NetworkAclDetails withVpcId(String vpcId)
The identifier of the VPC for the network ACL.
vpcId
- The identifier of the VPC for the network ACL.public List<AwsEc2NetworkAclAssociation> getAssociations()
Associations between the network ACL and subnets.
public void setAssociations(Collection<AwsEc2NetworkAclAssociation> associations)
Associations between the network ACL and subnets.
associations
- Associations between the network ACL and subnets.public AwsEc2NetworkAclDetails withAssociations(AwsEc2NetworkAclAssociation... associations)
Associations between the network ACL and 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
- Associations between the network ACL and subnets.public AwsEc2NetworkAclDetails withAssociations(Collection<AwsEc2NetworkAclAssociation> associations)
Associations between the network ACL and subnets.
associations
- Associations between the network ACL and subnets.public List<AwsEc2NetworkAclEntry> getEntries()
The set of rules in the network ACL.
public void setEntries(Collection<AwsEc2NetworkAclEntry> entries)
The set of rules in the network ACL.
entries
- The set of rules in the network ACL.public AwsEc2NetworkAclDetails withEntries(AwsEc2NetworkAclEntry... entries)
The set of 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 set of rules in the network ACL.public AwsEc2NetworkAclDetails withEntries(Collection<AwsEc2NetworkAclEntry> entries)
The set of rules in the network ACL.
entries
- The set of rules in the network ACL.public String toString()
toString
in class Object
Object.toString()
public AwsEc2NetworkAclDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.