Interface NetworkAcl.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<NetworkAcl.Builder,,NetworkAcl> SdkBuilder<NetworkAcl.Builder,,NetworkAcl> SdkPojo
- Enclosing class:
NetworkAcl
-
Method Summary
Modifier and TypeMethodDescriptionassociations(Collection<NetworkAclAssociation> associations) Any associations between the network ACL and your subnetsassociations(Consumer<NetworkAclAssociation.Builder>... associations) Any associations between the network ACL and your subnetsassociations(NetworkAclAssociation... associations) Any associations between the network ACL and your subnetsentries(Collection<NetworkAclEntry> entries) The entries (rules) in the network ACL.entries(Consumer<NetworkAclEntry.Builder>... entries) The entries (rules) in the network ACL.entries(NetworkAclEntry... entries) The entries (rules) in the network ACL.Indicates whether this is the default network ACL for the VPC.networkAclId(String networkAclId) The ID of the network ACL.The ID of the Amazon Web Services account that owns the network ACL.tags(Collection<Tag> tags) Any tags assigned to the network ACL.tags(Consumer<Tag.Builder>... tags) Any tags assigned to the network ACL.Any tags assigned to the network ACL.The ID of the VPC for the network ACL.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
associations
Any associations between the network ACL and your subnets
- Parameters:
associations- Any associations between the network ACL and your subnets- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associations
Any associations between the network ACL and your subnets
- Parameters:
associations- Any associations between the network ACL and your subnets- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associations
Any associations between the network ACL and your 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 toassociations(List<NetworkAclAssociation>).- 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:
-
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
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
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 toentries(List<NetworkAclEntry>).- 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:
-
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
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
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
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
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 totags(List<Tag>).- 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:
-
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
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.
-