Interface NetworkAcl.Builder

    • 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.
      • 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.
      • 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 the Tag.Builder avoiding the need to create one manually via Tag.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        Parameters:
        tags - a consumer that will call methods on Tag.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.