public String getName() {
        return this.name;
    }
<p>
The name the user gave the instance (<code>Amazon_Linux_2023-1</code>).
</p>

@return The name the user gave the instance (<code>Amazon_Linux_2023-1</code>).
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/Instance.java