public String getSubnetId() {
        return this.subnetId;
    }
<p>
The identifier of the subnet for the WorkSpace.
</p>

@param subnetId
       The identifier of the subnet for the WorkSpace.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-workspaces/src/main/java/com/amazonaws/services/workspaces/model/Workspace.java