public String getSubnetId() {
        return this.subnetId;
    }
<p>
The instance's subnet ID; applicable only if the stack is running in a VPC.
</p>

@return The instance's subnet ID; applicable only if the stack is running in a VPC.
aws-java-sdk-opsworks/src/main/java/com/amazonaws/services/opsworks/model/Instance.java