public String getSubnetId() {
        return this.subnetId;
    }
<p>
The identifier of the subnet that the instance was launched in.
</p>

@return The identifier of the subnet that the instance was launched in.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsEc2InstanceDetails.java