public DescribeAgentResult withPlatform(Platform platform) {
        setPlatform(platform);
        return this;
    }
<p>
The platform-related details about the agent, such as the version number.
</p>

@param platform
       The platform-related details about the agent, such as the version number.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-datasync/src/main/java/com/amazonaws/services/datasync/model/DescribeAgentResult.java