Interface NetworkAcl.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<NetworkAcl.Builder,NetworkAcl>,SdkBuilder<NetworkAcl.Builder,NetworkAcl>,SdkPojo
- Enclosing class:
- NetworkAcl
public static interface NetworkAcl.Builder extends SdkPojo, CopyableBuilder<NetworkAcl.Builder,NetworkAcl>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NetworkAcl.Builderassociations(Collection<NetworkAclAssociation> associations)Any associations between the network ACL and one or more subnetsNetworkAcl.Builderassociations(Consumer<NetworkAclAssociation.Builder>... associations)Any associations between the network ACL and one or more subnetsNetworkAcl.Builderassociations(NetworkAclAssociation... associations)Any associations between the network ACL and one or more subnetsNetworkAcl.Builderentries(Collection<NetworkAclEntry> entries)The entries (rules) in the network ACL.NetworkAcl.Builderentries(Consumer<NetworkAclEntry.Builder>... entries)The entries (rules) in the network ACL.NetworkAcl.Builderentries(NetworkAclEntry... entries)The entries (rules) in the network ACL.NetworkAcl.BuilderisDefault(Boolean isDefault)Indicates whether this is the default network ACL for the VPC.NetworkAcl.BuildernetworkAclId(String networkAclId)The ID of the network ACL.NetworkAcl.BuilderownerId(String ownerId)The ID of the Amazon Web Services account that owns the network ACL.NetworkAcl.Buildertags(Collection<Tag> tags)Any tags assigned to the network ACL.NetworkAcl.Buildertags(Consumer<Tag.Builder>... tags)Any tags assigned to the network ACL.NetworkAcl.Buildertags(Tag... tags)Any tags assigned to the network ACL.NetworkAcl.BuildervpcId(String vpcId)The ID of the VPC for the network ACL.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
associations
NetworkAcl.Builder associations(Collection<NetworkAclAssociation> associations)
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.
-
associations
NetworkAcl.Builder associations(NetworkAclAssociation... associations)
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.
-
associations
NetworkAcl.Builder associations(Consumer<NetworkAclAssociation.Builder>... associations)
Any associations between the network ACL and one or more subnets
This is a convenience method that creates an instance of theNetworkAclAssociation.Builderavoiding the need to create one manually viaNetworkAclAssociation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#associations(List.) - Parameters:
associations- a consumer that will call methods onNetworkAclAssociation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#associations(java.util.Collection)
-
entries
NetworkAcl.Builder entries(Collection<NetworkAclEntry> entries)
The entries (rules) in the network ACL.
- Parameters:
entries- The entries (rules) in the network ACL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
NetworkAcl.Builder entries(NetworkAclEntry... entries)
The entries (rules) in the network ACL.
- Parameters:
entries- The entries (rules) in the network ACL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
NetworkAcl.Builder entries(Consumer<NetworkAclEntry.Builder>... entries)
The entries (rules) in the network ACL.
This is a convenience method that creates an instance of theNetworkAclEntry.Builderavoiding the need to create one manually viaNetworkAclEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#entries(List.) - Parameters:
entries- a consumer that will call methods onNetworkAclEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#entries(java.util.Collection)
-
isDefault
NetworkAcl.Builder isDefault(Boolean isDefault)
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.
-
networkAclId
NetworkAcl.Builder networkAclId(String networkAclId)
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.
-
tags
NetworkAcl.Builder tags(Collection<Tag> tags)
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.
-
tags
NetworkAcl.Builder tags(Tag... tags)
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.
-
tags
NetworkAcl.Builder tags(Consumer<Tag.Builder>... tags)
Any tags assigned to the network ACL.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
vpcId
NetworkAcl.Builder vpcId(String vpcId)
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.
-
ownerId
NetworkAcl.Builder ownerId(String ownerId)
The ID of the Amazon Web Services account that owns the network ACL.
- Parameters:
ownerId- The ID of the Amazon Web Services account that owns the network ACL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-