public TransitGatewayConfiguration withAttachmentNetworkAclConfiguration(NetworkACLEntry... attachmentNetworkAclConfiguration) {
        if (this.attachmentNetworkAclConfiguration == null) {
            setAttachmentNetworkAclConfiguration(new java.util.ArrayList<NetworkACLEntry>(attachmentNetworkAclConfiguration.length));
        }
        for (NetworkACLEntry ele : attachmentNetworkAclConfiguration) {
            this.attachmentNetworkAclConfiguration.add(ele);
        }
        return this;
    }
<p>
The rules that define how you manage the outbound traffic from kdb network to your internal network.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setAttachmentNetworkAclConfiguration(java.util.Collection)} or
{@link #withAttachmentNetworkAclConfiguration(java.util.Collection)} if you want to override the existing values.
</p>

@param attachmentNetworkAclConfiguration
       The rules that define how you manage the outbound traffic from kdb network to your internal network.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-finspace/src/main/java/com/amazonaws/services/finspace/model/TransitGatewayConfiguration.java