public String getInstanceId() {
        return this.instanceId;
    }
<p>
The ID of the instance for which the root volume replacement task was created.
</p>

@return The ID of the instance for which the root volume replacement task was created.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/ReplaceRootVolumeTask.java