public ResourceInventory withPlatform(String platform) {
        setPlatform(platform);
        return this;
    }
<p>
Platform of the resource.
</p>

@param platform
       Platform of the resource.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-licensemanager/src/main/java/com/amazonaws/services/licensemanager/model/ResourceInventory.java