public Integer getDeviceIndex() {
        return this.deviceIndex;
    }
<p>
The device index for the network interface attachment.
</p>

@return The device index for the network interface attachment.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/LaunchTemplateInstanceNetworkInterfaceSpecification.java