@Override
    public ModifyNetworkInterfaceAttributeResult modifyNetworkInterfaceAttribute(ModifyNetworkInterfaceAttributeRequest request) {
        request = beforeClientExecution(request);
        return executeModifyNetworkInterfaceAttribute(request);
    }
<p>
Modifies the specified network interface attribute. You can specify only one attribute at a time. You can use
this action to attach and detach security groups from an existing EC2 instance.
</p>

@param modifyNetworkInterfaceAttributeRequest
       Contains the parameters for ModifyNetworkInterfaceAttribute.
@return Result of the ModifyNetworkInterfaceAttribute operation returned by the service.
@sample AmazonEC2.ModifyNetworkInterfaceAttribute
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyNetworkInterfaceAttribute"
     target="_top">AWS API Documentation</a>
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2Client.java