public ListDeviceDefinitionVersionsResult withVersions(java.util.Collection<VersionInformation> versions) {
        setVersions(versions);
        return this;
    }
Information about a version.

@param versions
       Information about a version.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-greengrass/src/main/java/com/amazonaws/services/greengrass/model/ListDeviceDefinitionVersionsResult.java