public void setDeviceIndex(Integer deviceIndex) {
        this.deviceIndex = deviceIndex;
    }
<p>
The index of the device on the instance for the network interface attachment.
</p>

@param deviceIndex
       The index of the device on the instance for the network interface attachment.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/InstanceNetworkInterfaceAttachment.java