public void setHostname(String hostname) {
        this.hostname = hostname;
    }
<p>
The hostname of the EC2 instance where the finding is generated.
</p>

@param hostname
       The hostname of the EC2 instance where the finding is generated.
aws-java-sdk-inspector/src/main/java/com/amazonaws/services/inspector/model/AssetAttributes.java