public void setAttachment(NetworkInterfaceAttachment attachment) {
        this.attachment = attachment;
    }
<p>
The attachment (if any) of the network interface.
</p>

@param attachment
       The attachment (if any) of the network interface.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/DescribeNetworkInterfaceAttributeResult.java