@Generated(value="software.amazon.awssdk:codegen") public final class NetworkAcl extends Object implements ToCopyableBuilder<NetworkAcl.Builder,NetworkAcl>
Describes a network ACL.
Modifier and Type | Class and Description |
---|---|
static interface |
NetworkAcl.Builder |
Modifier and Type | Method and Description |
---|---|
List<NetworkAclAssociation> |
associations()
Any associations between the network ACL and one or more subnets
|
static NetworkAcl.Builder |
builder() |
List<NetworkAclEntry> |
entries()
One or more entries (rules) in the network ACL.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
isDefault()
Indicates whether this is the default network ACL for the VPC.
|
String |
networkAclId()
The ID of the network ACL.
|
static Class<? extends NetworkAcl.Builder> |
serializableBuilderClass() |
List<Tag> |
tags()
Any tags assigned to the network ACL.
|
NetworkAcl.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
vpcId()
The ID of the VPC for the network ACL.
|
copy
public List<NetworkAclAssociation> associations()
Any associations between the network ACL and one or more subnets
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<NetworkAclEntry> entries()
One or more entries (rules) in the network ACL.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Boolean isDefault()
Indicates whether this is the default network ACL for the VPC.
public String networkAclId()
The ID of the network ACL.
public List<Tag> tags()
Any tags assigned to the network ACL.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String vpcId()
The ID of the VPC for the network ACL.
public NetworkAcl.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<NetworkAcl.Builder,NetworkAcl>
public static NetworkAcl.Builder builder()
public static Class<? extends NetworkAcl.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.