public void setInstanceId(String instanceId) {
        this.instanceId = instanceId;
    }
<p>
The ID of the EC2 instance.
</p>

@param instanceId
       The ID of the EC2 instance.
aws-java-sdk-guardduty/src/main/java/com/amazonaws/services/guardduty/model/InstanceDetails.java